
reg_errcode_t check_arrival_expand_ecl(re_dfa_t *dfa,re_node_set *cur_nodes,Idx ex_subexp,int type)

{
  int *piVar1;
  reg_errcode_t rVar2;
  Idx *pIVar3;
  int *piVar4;
  int iVar5;
  int iVar6;
  re_node_set *src;
  Idx target;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  undefined *puVar13;
  re_node_set new_nodes;
  
  puVar13 = PTR___stack_chk_guard_000453ac;
  new_nodes.nelem = 0;
  iVar12 = cur_nodes->nelem;
  piVar1 = *(int **)PTR___stack_chk_guard_000453ac;
  src = cur_nodes;
  target = ex_subexp;
  new_nodes.alloc = iVar12;
  new_nodes.elems = (Idx *)(*(code *)PTR_malloc_00045350)(iVar12 << 2);
  if (new_nodes.elems == (Idx *)0x0) {
    rVar2 = _REG_ESPACE;
  }
  else {
    if (0 < iVar12) {
      iVar12 = 0;
      do {
        target = cur_nodes->elems[iVar12];
        src = dfa->eclosures + target;
        iVar5 = 0;
        if (0 < src->nelem) {
          pIVar3 = src->elems;
          do {
            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&
               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {
              if (*pIVar3 != -1) {
                src = &new_nodes;
                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);
                goto joined_r0x000212b8;
              }
              break;
            }
            iVar5 = iVar5 + 1;
            pIVar3 = pIVar3 + 1;
          } while (src->nelem != iVar5);
        }
        rVar2 = re_node_set_merge(&new_nodes,src);
joined_r0x000212b8:
        if (rVar2 != _REG_NOERROR) {
          (*(code *)PTR_free_000453bc)(new_nodes.elems);
          goto LAB_0002132c;
        }
        iVar12 = iVar12 + 1;
      } while (iVar12 < cur_nodes->nelem);
    }
    (*(code *)PTR_free_000453bc)(cur_nodes->elems);
    rVar2 = _REG_NOERROR;
    cur_nodes->alloc = new_nodes.alloc;
    cur_nodes->nelem = new_nodes.nelem;
    cur_nodes->elems = new_nodes.elems;
  }
LAB_0002132c:
  if (piVar1 == *(int **)puVar13) {
    return rVar2;
  }
  puVar13 = PTR___stack_chk_fail_0004538c;
  (*(code *)PTR___stack_chk_fail_0004538c)();
  iVar12 = src->nelem;
  if (iVar12 == 0) {
    return _REG_NOERROR;
  }
  iVar5 = *(int *)(target + 4);
  if (iVar5 == 0) {
    return _REG_NOERROR;
  }
  iVar7 = piVar1[1];
  iVar6 = piVar1[2];
  if (*piVar1 < iVar12 + iVar5 + iVar7) {
    iVar9 = iVar12 + iVar5 + *piVar1;
    iVar6 = (**(code **)(puVar13 + 0x23fd4))(iVar6,iVar9 * 4);
    if (iVar6 == 0) {
      return _REG_ESPACE;
    }
    iVar12 = src->nelem;
    iVar5 = *(int *)(target + 4);
    iVar7 = piVar1[1];
    piVar1[2] = iVar6;
    *piVar1 = iVar9;
  }
  iVar10 = iVar12 + -1;
  iVar11 = iVar5 + -1;
  iVar5 = iVar7 + iVar12 + iVar5;
  iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);
  iVar9 = src->elems[iVar10];
  while (iVar9 != iVar12) {
    while (iVar9 < iVar12) {
      iVar11 = iVar11 + -1;
      if (iVar11 < 0) goto LAB_000214f8;
      iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);
      if (iVar9 == iVar12) goto LAB_0002144c;
    }
    iVar10 = iVar10 + -1;
    if (iVar10 < 0) goto LAB_000214f8;
    iVar9 = src->elems[iVar10];
  }
LAB_0002144c:
  if (-1 < iVar7 + -1) {
    piVar4 = (int *)(iVar6 + (iVar7 + -1) * 4);
    iVar7 = iVar7 + -2;
    if (*piVar4 <= iVar9) {
      rVar2 = FUN_000214e8();
      return rVar2;
    }
    for (; piVar4 = piVar4 + -1, iVar7 != -1; iVar7 = iVar7 + -1) {
      if (*piVar4 <= iVar9) {
        if (*piVar4 == iVar9) goto LAB_000214a0;
        break;
      }
    }
  }
  iVar5 = iVar5 + -1;
  *(int *)(iVar6 + iVar5 * 4) = iVar9;
LAB_000214a0:
  if ((-1 < iVar10 + -1) && (-1 < iVar11 + -1)) {
    rVar2 = FUN_00021420();
    return rVar2;
  }
LAB_000214f8:
  iVar7 = piVar1[1];
  iVar9 = iVar7 + src->nelem + *(int *)(target + 4);
  iVar12 = iVar9 - iVar5;
  iVar9 = iVar9 + -1;
  piVar1[1] = iVar7 + iVar12;
  if (0 < iVar12) {
    iVar7 = iVar7 + -1;
    iVar10 = iVar9 * 4;
    if (-1 < iVar7) {
      do {
        iVar8 = *(int *)(iVar6 + iVar10);
        iVar11 = *(int *)(iVar6 + iVar7 * 4);
        piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);
        if (iVar11 < iVar8) {
          do {
            iVar12 = iVar12 + -1;
            *piVar4 = iVar8;
            iVar9 = iVar9 + -1;
            if (iVar12 == 0) {
              iVar6 = piVar1[2];
              iVar12 = 0;
              goto LAB_000215ac;
            }
            iVar10 = iVar9 * 4;
            iVar11 = *(int *)(iVar6 + iVar7 * 4);
            iVar8 = *(int *)(iVar6 + iVar10);
            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);
          } while (iVar11 < iVar8);
        }
        iVar7 = iVar7 + -1;
        *piVar4 = iVar11;
      } while (iVar7 != -1);
      iVar6 = piVar1[2];
    }
  }
  iVar12 = iVar12 << 2;
LAB_000215ac:
  (**(code **)(puVar13 + 0x24030))(iVar6,iVar6 + iVar5 * 4,iVar12);
  return _REG_NOERROR;
}



int FUN_00021188(int *param_1,int *param_2,int param_3,uint param_4)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  undefined *puVar15;
  int local_38;
  int local_34;
  int local_30;
  int *local_2c;
  
  puVar15 = PTR___stack_chk_guard_000453ac;
  local_34 = 0;
  iVar13 = param_2[1];
  local_2c = *(int **)PTR___stack_chk_guard_000453ac;
  piVar4 = param_2;
  iVar5 = param_3;
  local_38 = iVar13;
  local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);
  if (local_30 == 0) {
    iVar13 = 0xc;
  }
  else {
    if (0 < iVar13) {
      iVar14 = 0;
      do {
        iVar5 = *(int *)(param_2[2] + iVar14 * 4);
        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);
        iVar13 = 0;
        if (0 < piVar4[1]) {
          piVar2 = (int *)piVar4[2];
          do {
            piVar1 = (int *)(*param_1 + *piVar2 * 8);
            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {
              if (*piVar2 != -1) {
                piVar4 = &local_38;
                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);
                goto joined_r0x000212b8;
              }
              break;
            }
            iVar13 = iVar13 + 1;
            piVar2 = piVar2 + 1;
          } while (piVar4[1] != iVar13);
        }
        iVar13 = FUN_00020bec(&local_38);
joined_r0x000212b8:
        if (iVar13 != 0) {
          (*(code *)PTR_free_000453bc)(local_30);
          goto LAB_0002132c;
        }
        iVar14 = iVar14 + 1;
      } while (iVar14 < param_2[1]);
    }
    (*(code *)PTR_free_000453bc)(param_2[2]);
    iVar13 = 0;
    *param_2 = local_38;
    param_2[1] = local_34;
    param_2[2] = local_30;
  }
LAB_0002132c:
  if (local_2c == *(int **)puVar15) {
    return iVar13;
  }
  piVar2 = local_2c;
  puVar15 = PTR___stack_chk_fail_0004538c;
  (*(code *)PTR___stack_chk_fail_0004538c)();
  iVar13 = piVar4[1];
  if (iVar13 == 0) {
    return 0;
  }
  iVar14 = *(int *)(iVar5 + 4);
  if (iVar14 == 0) {
    return 0;
  }
  iVar7 = piVar2[1];
  iVar3 = piVar2[2];
  if (*piVar2 < iVar13 + iVar14 + iVar7) {
    iVar11 = iVar13 + iVar14 + *piVar2;
    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);
    if (iVar3 == 0) {
      return 0xc;
    }
    iVar13 = piVar4[1];
    iVar14 = *(int *)(iVar5 + 4);
    iVar7 = piVar2[1];
    piVar2[2] = iVar3;
    *piVar2 = iVar11;
  }
  iVar10 = iVar13 + -1;
  iVar12 = piVar4[2];
  iVar11 = iVar14 + -1;
  iVar6 = *(int *)(iVar5 + 8);
  iVar9 = *(int *)(iVar12 + iVar10 * 4);
  iVar8 = iVar7 + -1;
  iVar14 = iVar7 + iVar13 + iVar14;
  iVar13 = *(int *)(iVar6 + iVar11 * 4);
  do {
    while (iVar9 != iVar13) {
      if (iVar9 < iVar13) {
        iVar11 = iVar11 + -1;
        if (iVar11 < 0) goto LAB_000214f8;
        iVar13 = *(int *)(iVar6 + iVar11 * 4);
      }
      else {
        iVar10 = iVar10 + -1;
        if (iVar10 < 0) goto LAB_000214f8;
        iVar9 = *(int *)(iVar12 + iVar10 * 4);
      }
    }
    if (iVar8 < 0) {
LAB_0002148c:
      iVar14 = iVar14 + -1;
      *(int *)(iVar3 + iVar14 * 4) = iVar9;
    }
    else {
      piVar1 = (int *)(iVar3 + iVar8 * 4);
      iVar13 = *piVar1;
      while (iVar9 < iVar13) {
        iVar8 = iVar8 + -1;
        piVar1 = piVar1 + -1;
        if (iVar8 == -1) goto LAB_0002148c;
        iVar13 = *piVar1;
      }
      if (iVar13 != iVar9) goto LAB_0002148c;
    }
    iVar10 = iVar10 + -1;
    iVar11 = iVar11 + -1;
    if ((iVar10 < 0) || (iVar11 < 0)) {
LAB_000214f8:
      iVar13 = piVar2[1];
      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);
      iVar5 = iVar7 - iVar14;
      iVar7 = iVar7 + -1;
      piVar2[1] = iVar13 + iVar5;
      if (0 < iVar5) {
        iVar13 = iVar13 + -1;
        iVar11 = iVar7 * 4;
        if (-1 < iVar13) {
          do {
            iVar6 = *(int *)(iVar3 + iVar11);
            iVar8 = *(int *)(iVar3 + iVar13 * 4);
            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);
            if (iVar8 < iVar6) {
              do {
                iVar5 = iVar5 + -1;
                *piVar4 = iVar6;
                iVar7 = iVar7 + -1;
                if (iVar5 == 0) {
                  iVar3 = piVar2[2];
                  iVar5 = 0;
                  goto LAB_000215ac;
                }
                iVar11 = iVar7 * 4;
                iVar8 = *(int *)(iVar3 + iVar13 * 4);
                iVar6 = *(int *)(iVar3 + iVar11);
                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);
              } while (iVar8 < iVar6);
            }
            iVar13 = iVar13 + -1;
            *piVar4 = iVar8;
          } while (iVar13 != -1);
          iVar3 = piVar2[2];
        }
      }
      iVar5 = iVar5 << 2;
LAB_000215ac:
      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);
      return 0;
    }
    iVar9 = *(int *)(iVar12 + iVar10 * 4);
    iVar13 = *(int *)(iVar6 + iVar11 * 4);
  } while( true );
}


lui gp,0x3
addiu gp,gp,-0x4088
addu gp,gp,t9
addiu sp,sp,-0x60
lw v0,-0x7d54(gp)
lw t9,-0x7db0(gp)
sw s0,0x38(sp)
sw v0,0x20(sp)
sw s7,0x54(sp)
or s7,a0,zero
sw gp,0x18(sp)
sw s8,0x58(sp)
or s8,a1,zero
sw s5,0x4c(sp)
or s5,a2,zero
sw s4,0x48(sp)
or s4,a3,zero
sw ra,0x5c(sp)
sw s6,0x50(sp)
sw s3,0x44(sp)
sw s2,0x40(sp)
sw s1,0x3c(sp)
sw zero,0x2c(sp)
lw s0,0x4(a1)
lw v0,0x0(v0)
sll a0,s0,0x2
sw s0,0x28(sp)
sw v0,0x34(sp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0002136c
_sw v0,0x30(sp)
blez s0,0x000212d4
_lw t9,-0x7d44(gp)
lw s2,-0x7f0c(gp)
or s6,zero,zero
lw s0,-0x7f0c(gp)
addiu s3,sp,0x28
li s1,-0x1
addiu s2,s2,0xbec
addiu s0,s0,0x51c
lw a0,0x8(s8)
sll v1,s6,0x2
lw v0,0x18(s7)
addu v1,a0,v1
lw a2,0x0(v1)
sll a1,a2,0x1
addu a1,a1,a2
sll a1,a1,0x2
addu a1,v0,a1
lw t1,0x4(a1)
blez t1,0x00021300
_or a0,zero,zero
lw t2,0x0(s7)
b 0x00021278
_lw v1,0x8(a1)
addiu a0,a0,0x1
beq t1,a0,0x00021300
_addiu v1,v1,0x4
lw a3,0x0(v1)
sll v0,a3,0x3
addu v0,t2,v0
lbu t0,0x4(v0)
bne s4,t0,0x0002126c
_nop
lw v0,0x0(v0)
bne s5,v0,0x00021270
_addiu a0,a0,0x1
beq a3,s1,0x00021300
_or a3,s5,zero
sw s4,0x10(sp)
or a1,s3,zero
or t9,s0,zero
bal 0x0002051c
_or a0,s7,zero
bne v0,zero,0x00021314
_lw gp,0x18(sp)
lw v0,0x4(s8)
addiu s6,s6,0x1
slt v0,s6,v0
bne v0,zero,0x00021230
_lw t9,-0x7d44(gp)
jalr t9
_lw a0,0x8(s8)
or v0,zero,zero
lw v1,0x28(sp)
lw gp,0x18(sp)
sw v1,0x0(s8)
lw v1,0x2c(sp)
sw v1,0x4(s8)
lw v1,0x30(sp)
b 0x0002132c
_sw v1,0x8(s8)
or t9,s2,zero
bal 0x00020bec
_or a0,s3,zero
beq v0,zero,0x000212c0
_lw gp,0x18(sp)
lw t9,-0x7d44(gp)
lw a0,0x30(sp)
jalr t9
_sw v0,0x24(sp)
lw gp,0x18(sp)
lw v0,0x24(sp)
lw v1,0x20(sp)
lw a0,0x34(sp)
lw v1,0x0(v1)
bne a0,v1,0x00021374
_lw ra,0x5c(sp)
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
b 0x0002132c
_li v0,0xc
lw t9,-0x7d74(gp)
jalr t9
_nop
(translation_unit "int FUN_00021188(int *param_1,int *param_2,int param_3,uint param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_000453ac;\n  local_34 = 0;\n  iVar13 = param_2[1];\n  local_2c = *(int **)PTR___stack_chk_guard_000453ac;\n  piVar4 = param_2;\n  iVar5 = param_3;\n  local_38 = iVar13;\n  local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);\n  if (local_30 == 0) {\n    iVar13 = 0xc;\n  }\n  else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }\nLAB_0002132c:\n  if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }\n  piVar2 = local_2c;\n  puVar15 = PTR___stack_chk_fail_0004538c;\n  (*(code *)PTR___stack_chk_fail_0004538c)();\n  iVar13 = piVar4[1];\n  if (iVar13 == 0) {\n    return 0;\n  }\n  iVar14 = *(int *)(iVar5 + 4);\n  if (iVar14 == 0) {\n    return 0;\n  }\n  iVar7 = piVar2[1];\n  iVar3 = piVar2[2];\n  if (*piVar2 < iVar13 + iVar14 + iVar7) {\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }\n  iVar10 = iVar13 + -1;\n  iVar12 = piVar4[2];\n  iVar11 = iVar14 + -1;\n  iVar6 = *(int *)(iVar5 + 8);\n  iVar9 = *(int *)(iVar12 + iVar10 * 4);\n  iVar8 = iVar7 + -1;\n  iVar14 = iVar7 + iVar13 + iVar14;\n  iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  do {\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  } while( true );\n}\n\n" (function_definition "int FUN_00021188(int *param_1,int *param_2,int param_3,uint param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_000453ac;\n  local_34 = 0;\n  iVar13 = param_2[1];\n  local_2c = *(int **)PTR___stack_chk_guard_000453ac;\n  piVar4 = param_2;\n  iVar5 = param_3;\n  local_38 = iVar13;\n  local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);\n  if (local_30 == 0) {\n    iVar13 = 0xc;\n  }\n  else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }\nLAB_0002132c:\n  if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }\n  piVar2 = local_2c;\n  puVar15 = PTR___stack_chk_fail_0004538c;\n  (*(code *)PTR___stack_chk_fail_0004538c)();\n  iVar13 = piVar4[1];\n  if (iVar13 == 0) {\n    return 0;\n  }\n  iVar14 = *(int *)(iVar5 + 4);\n  if (iVar14 == 0) {\n    return 0;\n  }\n  iVar7 = piVar2[1];\n  iVar3 = piVar2[2];\n  if (*piVar2 < iVar13 + iVar14 + iVar7) {\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }\n  iVar10 = iVar13 + -1;\n  iVar12 = piVar4[2];\n  iVar11 = iVar14 + -1;\n  iVar6 = *(int *)(iVar5 + 8);\n  iVar9 = *(int *)(iVar12 + iVar10 * 4);\n  iVar8 = iVar7 + -1;\n  iVar14 = iVar7 + iVar13 + iVar14;\n  iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  do {\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  } while( true );\n}" primitive_type (function_declarator "FUN_00021188(int *param_1,int *param_2,int param_3,uint param_4)" identifier (parameter_list "(int *param_1,int *param_2,int param_3,uint 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 identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_000453ac;\n  local_34 = 0;\n  iVar13 = param_2[1];\n  local_2c = *(int **)PTR___stack_chk_guard_000453ac;\n  piVar4 = param_2;\n  iVar5 = param_3;\n  local_38 = iVar13;\n  local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);\n  if (local_30 == 0) {\n    iVar13 = 0xc;\n  }\n  else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }\nLAB_0002132c:\n  if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }\n  piVar2 = local_2c;\n  puVar15 = PTR___stack_chk_fail_0004538c;\n  (*(code *)PTR___stack_chk_fail_0004538c)();\n  iVar13 = piVar4[1];\n  if (iVar13 == 0) {\n    return 0;\n  }\n  iVar14 = *(int *)(iVar5 + 4);\n  if (iVar14 == 0) {\n    return 0;\n  }\n  iVar7 = piVar2[1];\n  iVar3 = piVar2[2];\n  if (*piVar2 < iVar13 + iVar14 + iVar7) {\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }\n  iVar10 = iVar13 + -1;\n  iVar12 = piVar4[2];\n  iVar11 = iVar14 + -1;\n  iVar6 = *(int *)(iVar5 + 8);\n  iVar9 = *(int *)(iVar12 + iVar10 * 4);\n  iVar8 = iVar7 + -1;\n  iVar14 = iVar7 + iVar13 + iVar14;\n  iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  do {\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  } while( true );\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * 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 "puVar15 = PTR___stack_chk_guard_000453ac;" (assignment_expression "puVar15 = PTR___stack_chk_guard_000453ac" identifier = identifier) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "iVar13 = param_2[1];" (assignment_expression "iVar13 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_000453ac;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_000453ac" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_000453ac" * (cast_expression "(int **)PTR___stack_chk_guard_000453ac" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (expression_statement "iVar5 = param_3;" (assignment_expression "iVar5 = param_3" identifier = identifier) ;) (expression_statement "local_38 = iVar13;" (assignment_expression "local_38 = iVar13" identifier = identifier) ;) (expression_statement "local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);" (assignment_expression "local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2)" identifier = (call_expression "(*(code *)PTR_malloc_00045350)(iVar13 << 2)" (parenthesized_expression "(*(code *)PTR_malloc_00045350)" ( (pointer_expression "*(code *)PTR_malloc_00045350" * (cast_expression "(code *)PTR_malloc_00045350" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13 << 2)" ( (binary_expression "iVar13 << 2" identifier << number_literal) )))) ;) (if_statement "if (local_30 == 0) {\n    iVar13 = 0xc;\n  }\n  else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar13 = 0xc;\n  }" { (expression_statement "iVar13 = 0xc;" (assignment_expression "iVar13 = 0xc" identifier = number_literal) ;) }) (else_clause "else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }" else (compound_statement "{\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }" { (if_statement "if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }" if (parenthesized_expression "(0 < iVar13)" ( (binary_expression "0 < iVar13" number_literal < identifier) )) (compound_statement "{\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }" { (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);" do (compound_statement "{\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      }" { (expression_statement "iVar5 = *(int *)(param_2[2] + iVar14 * 4);" (assignment_expression "iVar5 = *(int *)(param_2[2] + iVar14 * 4)" identifier = (pointer_expression "*(int *)(param_2[2] + iVar14 * 4)" * (cast_expression "(int *)(param_2[2] + iVar14 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + iVar14 * 4)" ( (binary_expression "param_2[2] + iVar14 * 4" (subscript_expression "param_2[2]" identifier [ number_literal ]) + (binary_expression "iVar14 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar4 = (int *)(param_1[6] + iVar5 * 0xc);" (assignment_expression "piVar4 = (int *)(param_1[6] + iVar5 * 0xc)" identifier = (cast_expression "(int *)(param_1[6] + iVar5 * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[6] + iVar5 * 0xc)" ( (binary_expression "param_1[6] + iVar5 * 0xc" (subscript_expression "param_1[6]" identifier [ number_literal ]) + (binary_expression "iVar5 * 0xc" identifier * number_literal)) )))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }" if (parenthesized_expression "(0 < piVar4[1])" ( (binary_expression "0 < piVar4[1]" number_literal < (subscript_expression "piVar4[1]" identifier [ number_literal ])) )) (compound_statement "{\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }" { (expression_statement "piVar2 = (int *)piVar4[2];" (assignment_expression "piVar2 = (int *)piVar4[2]" identifier = (cast_expression "(int *)piVar4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[2]" identifier [ number_literal ]))) ;) (do_statement "do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);" do (compound_statement "{\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          }" { (expression_statement "piVar1 = (int *)(*param_1 + *piVar2 * 8);" (assignment_expression "piVar1 = (int *)(*param_1 + *piVar2 * 8)" identifier = (cast_expression "(int *)(*param_1 + *piVar2 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + *piVar2 * 8)" ( (binary_expression "*param_1 + *piVar2 * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "*piVar2 * 8" (pointer_expression "*piVar2" * identifier) * number_literal)) )))) ;) (if_statement "if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }" if (parenthesized_expression "((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1))" ( (binary_expression "(param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)" (parenthesized_expression "(param_4 == *(byte *)(piVar1 + 1))" ( (binary_expression "param_4 == *(byte *)(piVar1 + 1)" identifier == (pointer_expression "*(byte *)(piVar1 + 1)" * (cast_expression "(byte *)(piVar1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 1)" ( (binary_expression "piVar1 + 1" identifier + number_literal) ))))) )) && (parenthesized_expression "(param_3 == *piVar1)" ( (binary_expression "param_3 == *piVar1" identifier == (pointer_expression "*piVar1" * identifier)) ))) )) (compound_statement "{\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }" { (if_statement "if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }" if (parenthesized_expression "(*piVar2 != -1)" ( (binary_expression "*piVar2 != -1" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }" { (expression_statement "piVar4 = &local_38;" (assignment_expression "piVar4 = &local_38" identifier = (pointer_expression "&local_38" & identifier)) ;) (expression_statement "iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);" (assignment_expression "iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4)" identifier = (call_expression "FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4)" identifier (argument_list "(param_1,&local_38,iVar5,param_3,param_4)" ( identifier , (pointer_expression "&local_38" & identifier) , identifier , identifier , identifier )))) ;) (goto_statement "goto joined_r0x000212b8;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar4[1] != iVar13)" ( (binary_expression "piVar4[1] != iVar13" (subscript_expression "piVar4[1]" identifier [ number_literal ]) != identifier) )) ;) })) (expression_statement "iVar13 = FUN_00020bec(&local_38);" (assignment_expression "iVar13 = FUN_00020bec(&local_38)" identifier = (call_expression "FUN_00020bec(&local_38)" identifier (argument_list "(&local_38)" ( (pointer_expression "&local_38" & identifier) )))) ;) (labeled_statement "joined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }" statement_identifier : (if_statement "if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }" { (expression_statement "(*(code *)PTR_free_000453bc)(local_30);" (call_expression "(*(code *)PTR_free_000453bc)(local_30)" (parenthesized_expression "(*(code *)PTR_free_000453bc)" ( (pointer_expression "*(code *)PTR_free_000453bc" * (cast_expression "(code *)PTR_free_000453bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier ))) ;) (goto_statement "goto LAB_0002132c;" goto statement_identifier ;) }))) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar14 < param_2[1])" ( (binary_expression "iVar14 < param_2[1]" identifier < (subscript_expression "param_2[1]" identifier [ number_literal ])) )) ;) })) (expression_statement "(*(code *)PTR_free_000453bc)(param_2[2]);" (call_expression "(*(code *)PTR_free_000453bc)(param_2[2])" (parenthesized_expression "(*(code *)PTR_free_000453bc)" ( (pointer_expression "*(code *)PTR_free_000453bc" * (cast_expression "(code *)PTR_free_000453bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2[2])" ( (subscript_expression "param_2[2]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = local_38;" (assignment_expression "*param_2 = local_38" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = local_34;" (assignment_expression "param_2[1] = local_34" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[2] = local_30;" (assignment_expression "param_2[2] = local_30" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) }))) (labeled_statement "LAB_0002132c:\n  if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }" statement_identifier : (if_statement "if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }" if (parenthesized_expression "(local_2c == *(int **)puVar15)" ( (binary_expression "local_2c == *(int **)puVar15" identifier == (pointer_expression "*(int **)puVar15" * (cast_expression "(int **)puVar15" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar13;\n  }" { (return_statement "return iVar13;" return identifier ;) }))) (expression_statement "piVar2 = local_2c;" (assignment_expression "piVar2 = local_2c" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_0004538c;" (assignment_expression "puVar15 = PTR___stack_chk_fail_0004538c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0004538c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0004538c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0004538c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0004538c" * (cast_expression "(code *)PTR___stack_chk_fail_0004538c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar13 = piVar4[1];" (assignment_expression "iVar13 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar13 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar14 = *(int *)(iVar5 + 4);" (assignment_expression "iVar14 = *(int *)(iVar5 + 4)" identifier = (pointer_expression "*(int *)(iVar5 + 4)" * (cast_expression "(int *)(iVar5 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar14 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar14 == 0)" ( (binary_expression "iVar14 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = piVar2[2];" (assignment_expression "iVar3 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (if_statement "if (*piVar2 < iVar13 + iVar14 + iVar7) {\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }" if (parenthesized_expression "(*piVar2 < iVar13 + iVar14 + iVar7)" ( (binary_expression "*piVar2 < iVar13 + iVar14 + iVar7" (pointer_expression "*piVar2" * identifier) < (binary_expression "iVar13 + iVar14 + iVar7" (binary_expression "iVar13 + iVar14" identifier + identifier) + identifier)) )) (compound_statement "{\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }" { (expression_statement "iVar11 = iVar13 + iVar14 + *piVar2;" (assignment_expression "iVar11 = iVar13 + iVar14 + *piVar2" identifier = (binary_expression "iVar13 + iVar14 + *piVar2" (binary_expression "iVar13 + iVar14" identifier + identifier) + (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);" (assignment_expression "iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4)" identifier = (call_expression "(**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4)" (parenthesized_expression "(**(code **)(puVar15 + 0x23fd4))" ( (pointer_expression "**(code **)(puVar15 + 0x23fd4)" * (pointer_expression "*(code **)(puVar15 + 0x23fd4)" * (cast_expression "(code **)(puVar15 + 0x23fd4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x23fd4)" ( (binary_expression "puVar15 + 0x23fd4" identifier + number_literal) ))))) )) (argument_list "(iVar3,iVar11 * 4)" ( identifier , (binary_expression "iVar11 * 4" identifier * number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      return 0xc;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0xc;\n    }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar13 = piVar4[1];" (assignment_expression "iVar13 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (expression_statement "iVar14 = *(int *)(iVar5 + 4);" (assignment_expression "iVar14 = *(int *)(iVar5 + 4)" identifier = (pointer_expression "*(int *)(iVar5 + 4)" * (cast_expression "(int *)(iVar5 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2[2] = iVar3;" (assignment_expression "piVar2[2] = iVar3" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar2 = iVar11;" (assignment_expression "*piVar2 = iVar11" (pointer_expression "*piVar2" * identifier) = identifier) ;) })) (expression_statement "iVar10 = iVar13 + -1;" (assignment_expression "iVar10 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) (expression_statement "iVar12 = piVar4[2];" (assignment_expression "iVar12 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = iVar14 + -1;" (assignment_expression "iVar11 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ;) (expression_statement "iVar6 = *(int *)(iVar5 + 8);" (assignment_expression "iVar6 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(iVar12 + iVar10 * 4);" (assignment_expression "iVar9 = *(int *)(iVar12 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar12 + iVar10 * 4)" * (cast_expression "(int *)(iVar12 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + iVar10 * 4)" ( (binary_expression "iVar12 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar8 = iVar7 + -1;" (assignment_expression "iVar8 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar14 = iVar7 + iVar13 + iVar14;" (assignment_expression "iVar14 = iVar7 + iVar13 + iVar14" identifier = (binary_expression "iVar7 + iVar13 + iVar14" (binary_expression "iVar7 + iVar13" identifier + identifier) + identifier)) ;) (expression_statement "iVar13 = *(int *)(iVar6 + iVar11 * 4);" (assignment_expression "iVar13 = *(int *)(iVar6 + iVar11 * 4)" identifier = (pointer_expression "*(int *)(iVar6 + iVar11 * 4)" * (cast_expression "(int *)(iVar6 + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar11 * 4)" ( (binary_expression "iVar6 + iVar11 * 4" identifier + (binary_expression "iVar11 * 4" identifier * number_literal)) ))))) ;) (do_statement "do {\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  } while( true );" do (compound_statement "{\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  }" { (while_statement "while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }" while (parenthesized_expression "(iVar9 != iVar13)" ( (binary_expression "iVar9 != iVar13" identifier != identifier) )) (compound_statement "{\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }" { (if_statement "if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }" if (parenthesized_expression "(iVar9 < iVar13)" ( (binary_expression "iVar9 < iVar13" identifier < identifier) )) (compound_statement "{\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }" { (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (if_statement "if (iVar11 < 0) goto LAB_000214f8;" if (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) )) (goto_statement "goto LAB_000214f8;" goto statement_identifier ;)) (expression_statement "iVar13 = *(int *)(iVar6 + iVar11 * 4);" (assignment_expression "iVar13 = *(int *)(iVar6 + iVar11 * 4)" identifier = (pointer_expression "*(int *)(iVar6 + iVar11 * 4)" * (cast_expression "(int *)(iVar6 + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar11 * 4)" ( (binary_expression "iVar6 + iVar11 * 4" identifier + (binary_expression "iVar11 * 4" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }" else (compound_statement "{\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }" { (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if (iVar10 < 0) goto LAB_000214f8;" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (goto_statement "goto LAB_000214f8;" goto statement_identifier ;)) (expression_statement "iVar9 = *(int *)(iVar12 + iVar10 * 4);" (assignment_expression "iVar9 = *(int *)(iVar12 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar12 + iVar10 * 4)" * (cast_expression "(int *)(iVar12 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + iVar10 * 4)" ( (binary_expression "iVar12 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) }))) })) (if_statement "if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }" { (labeled_statement "LAB_0002148c:\n      iVar14 = iVar14 + -1;" statement_identifier : (expression_statement "iVar14 = iVar14 + -1;" (assignment_expression "iVar14 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ;)) (expression_statement "*(int *)(iVar3 + iVar14 * 4) = iVar9;" (assignment_expression "*(int *)(iVar3 + iVar14 * 4) = iVar9" (pointer_expression "*(int *)(iVar3 + iVar14 * 4)" * (cast_expression "(int *)(iVar3 + iVar14 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar14 * 4)" ( (binary_expression "iVar3 + iVar14 * 4" identifier + (binary_expression "iVar14 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }" else (compound_statement "{\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }" { (expression_statement "piVar1 = (int *)(iVar3 + iVar8 * 4);" (assignment_expression "piVar1 = (int *)(iVar3 + iVar8 * 4)" identifier = (cast_expression "(int *)(iVar3 + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar8 * 4)" ( (binary_expression "iVar3 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (while_statement "while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }" while (parenthesized_expression "(iVar9 < iVar13)" ( (binary_expression "iVar9 < iVar13" identifier < identifier) )) (compound_statement "{\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }" { (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "piVar1 = piVar1 + -1;" (assignment_expression "piVar1 = piVar1 + -1" identifier = (binary_expression "piVar1 + -1" identifier + number_literal)) ;) (if_statement "if (iVar8 == -1) goto LAB_0002148c;" if (parenthesized_expression "(iVar8 == -1)" ( (binary_expression "iVar8 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0002148c;" goto statement_identifier ;)) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) (if_statement "if (iVar13 != iVar9) goto LAB_0002148c;" if (parenthesized_expression "(iVar13 != iVar9)" ( (binary_expression "iVar13 != iVar9" identifier != identifier) )) (goto_statement "goto LAB_0002148c;" goto statement_identifier ;)) }))) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (if_statement "if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }" if (parenthesized_expression "((iVar10 < 0) || (iVar11 < 0))" ( (binary_expression "(iVar10 < 0) || (iVar11 < 0)" (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) ))) )) (compound_statement "{\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }" { (labeled_statement "LAB_000214f8:\n      iVar13 = piVar2[1];" statement_identifier : (expression_statement "iVar13 = piVar2[1];" (assignment_expression "iVar13 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;)) (expression_statement "iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);" (assignment_expression "iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4)" identifier = (binary_expression "iVar13 + piVar4[1] + *(int *)(iVar5 + 4)" (binary_expression "iVar13 + piVar4[1]" identifier + (subscript_expression "piVar4[1]" identifier [ number_literal ])) + (pointer_expression "*(int *)(iVar5 + 4)" * (cast_expression "(int *)(iVar5 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))))) ;) (expression_statement "iVar5 = iVar7 - iVar14;" (assignment_expression "iVar5 = iVar7 - iVar14" identifier = (binary_expression "iVar7 - iVar14" identifier - identifier)) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "piVar2[1] = iVar13 + iVar5;" (assignment_expression "piVar2[1] = iVar13 + iVar5" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = (binary_expression "iVar13 + iVar5" identifier + identifier)) ;) (if_statement "if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }" { (expression_statement "iVar13 = iVar13 + -1;" (assignment_expression "iVar13 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar7 * 4;" (assignment_expression "iVar11 = iVar7 * 4" identifier = (binary_expression "iVar7 * 4" identifier * number_literal)) ;) (if_statement "if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }" if (parenthesized_expression "(-1 < iVar13)" ( (binary_expression "-1 < iVar13" number_literal < identifier) )) (compound_statement "{\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }" { (do_statement "do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);" do (compound_statement "{\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          }" { (expression_statement "iVar6 = *(int *)(iVar3 + iVar11);" (assignment_expression "iVar6 = *(int *)(iVar3 + iVar11)" identifier = (pointer_expression "*(int *)(iVar3 + iVar11)" * (cast_expression "(int *)(iVar3 + iVar11)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar11)" ( (binary_expression "iVar3 + iVar11" identifier + identifier) ))))) ;) (expression_statement "iVar8 = *(int *)(iVar3 + iVar13 * 4);" (assignment_expression "iVar8 = *(int *)(iVar3 + iVar13 * 4)" identifier = (pointer_expression "*(int *)(iVar3 + iVar13 * 4)" * (cast_expression "(int *)(iVar3 + iVar13 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar13 * 4)" ( (binary_expression "iVar3 + iVar13 * 4" identifier + (binary_expression "iVar13 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);" (assignment_expression "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4)" identifier = (cast_expression "(int *)(iVar3 + (iVar13 + iVar5) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + (iVar13 + iVar5) * 4)" ( (binary_expression "iVar3 + (iVar13 + iVar5) * 4" identifier + (binary_expression "(iVar13 + iVar5) * 4" (parenthesized_expression "(iVar13 + iVar5)" ( (binary_expression "iVar13 + iVar5" identifier + identifier) )) * number_literal)) )))) ;) (if_statement "if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }" if (parenthesized_expression "(iVar8 < iVar6)" ( (binary_expression "iVar8 < iVar6" identifier < identifier) )) (compound_statement "{\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }" { (do_statement "do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);" do (compound_statement "{\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              }" { (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "*piVar4 = iVar6;" (assignment_expression "*piVar4 = iVar6" (pointer_expression "*piVar4" * identifier) = identifier) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (if_statement "if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }" { (expression_statement "iVar3 = piVar2[2];" (assignment_expression "iVar3 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000215ac;" goto statement_identifier ;) })) (expression_statement "iVar11 = iVar7 * 4;" (assignment_expression "iVar11 = iVar7 * 4" identifier = (binary_expression "iVar7 * 4" identifier * number_literal)) ;) (expression_statement "iVar8 = *(int *)(iVar3 + iVar13 * 4);" (assignment_expression "iVar8 = *(int *)(iVar3 + iVar13 * 4)" identifier = (pointer_expression "*(int *)(iVar3 + iVar13 * 4)" * (cast_expression "(int *)(iVar3 + iVar13 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar13 * 4)" ( (binary_expression "iVar3 + iVar13 * 4" identifier + (binary_expression "iVar13 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar6 = *(int *)(iVar3 + iVar11);" (assignment_expression "iVar6 = *(int *)(iVar3 + iVar11)" identifier = (pointer_expression "*(int *)(iVar3 + iVar11)" * (cast_expression "(int *)(iVar3 + iVar11)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar11)" ( (binary_expression "iVar3 + iVar11" identifier + identifier) ))))) ;) (expression_statement "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);" (assignment_expression "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4)" identifier = (cast_expression "(int *)(iVar3 + (iVar13 + iVar5) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + (iVar13 + iVar5) * 4)" ( (binary_expression "iVar3 + (iVar13 + iVar5) * 4" identifier + (binary_expression "(iVar13 + iVar5) * 4" (parenthesized_expression "(iVar13 + iVar5)" ( (binary_expression "iVar13 + iVar5" identifier + identifier) )) * number_literal)) )))) ;) }) while (parenthesized_expression "(iVar8 < iVar6)" ( (binary_expression "iVar8 < iVar6" identifier < identifier) )) ;) })) (expression_statement "iVar13 = iVar13 + -1;" (assignment_expression "iVar13 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) (expression_statement "*piVar4 = iVar8;" (assignment_expression "*piVar4 = iVar8" (pointer_expression "*piVar4" * identifier) = identifier) ;) }) while (parenthesized_expression "(iVar13 != -1)" ( (binary_expression "iVar13 != -1" identifier != number_literal) )) ;) (expression_statement "iVar3 = piVar2[2];" (assignment_expression "iVar3 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) })) })) (expression_statement "iVar5 = iVar5 << 2;" (assignment_expression "iVar5 = iVar5 << 2" identifier = (binary_expression "iVar5 << 2" identifier << number_literal)) ;) (labeled_statement "LAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);" (call_expression "(**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5)" (parenthesized_expression "(**(code **)(puVar15 + 0x24030))" ( (pointer_expression "**(code **)(puVar15 + 0x24030)" * (pointer_expression "*(code **)(puVar15 + 0x24030)" * (cast_expression "(code **)(puVar15 + 0x24030)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x24030)" ( (binary_expression "puVar15 + 0x24030" identifier + number_literal) ))))) )) (argument_list "(iVar3,iVar3 + iVar14 * 4,iVar5)" ( identifier , (binary_expression "iVar3 + iVar14 * 4" identifier + (binary_expression "iVar14 * 4" identifier * number_literal)) , identifier ))) ;)) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar9 = *(int *)(iVar12 + iVar10 * 4);" (assignment_expression "iVar9 = *(int *)(iVar12 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar12 + iVar10 * 4)" * (cast_expression "(int *)(iVar12 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + iVar10 * 4)" ( (binary_expression "iVar12 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar6 + iVar11 * 4);" (assignment_expression "iVar13 = *(int *)(iVar6 + iVar11 * 4)" identifier = (pointer_expression "*(int *)(iVar6 + iVar11 * 4)" * (cast_expression "(int *)(iVar6 + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar11 * 4)" ( (binary_expression "iVar6 + iVar11 * 4" identifier + (binary_expression "iVar11 * 4" identifier * number_literal)) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "reg_errcode_t check_arrival_expand_ecl(re_dfa_t *dfa,re_node_set *cur_nodes,Idx ex_subexp,int type)\n\n{\n  int *piVar1;\n  reg_errcode_t rVar2;\n  Idx *pIVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  re_node_set *src;\n  Idx target;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  undefined *puVar13;\n  re_node_set new_nodes;\n  \n  puVar13 = PTR___stack_chk_guard_000453ac;\n  new_nodes.nelem = 0;\n  iVar12 = cur_nodes->nelem;\n  piVar1 = *(int **)PTR___stack_chk_guard_000453ac;\n  src = cur_nodes;\n  target = ex_subexp;\n  new_nodes.alloc = iVar12;\n  new_nodes.elems = (Idx *)(*(code *)PTR_malloc_00045350)(iVar12 << 2);\n  if (new_nodes.elems == (Idx *)0x0) {\n    rVar2 = _REG_ESPACE;\n  }\n  else {\n    if (0 < iVar12) {\n      iVar12 = 0;\n      do {\n        target = cur_nodes->elems[iVar12];\n        src = dfa->eclosures + target;\n        iVar5 = 0;\n        if (0 < src->nelem) {\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }\n        rVar2 = re_node_set_merge(&new_nodes,src);\njoined_r0x000212b8:\n        if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }\n        iVar12 = iVar12 + 1;\n      } while (iVar12 < cur_nodes->nelem);\n    }\n    (*(code *)PTR_free_000453bc)(cur_nodes->elems);\n    rVar2 = _REG_NOERROR;\n    cur_nodes->alloc = new_nodes.alloc;\n    cur_nodes->nelem = new_nodes.nelem;\n    cur_nodes->elems = new_nodes.elems;\n  }\nLAB_0002132c:\n  if (piVar1 == *(int **)puVar13) {\n    return rVar2;\n  }\n  puVar13 = PTR___stack_chk_fail_0004538c;\n  (*(code *)PTR___stack_chk_fail_0004538c)();\n  iVar12 = src->nelem;\n  if (iVar12 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar5 = *(int *)(target + 4);\n  if (iVar5 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar7 = piVar1[1];\n  iVar6 = piVar1[2];\n  if (*piVar1 < iVar12 + iVar5 + iVar7) {\n    iVar9 = iVar12 + iVar5 + *piVar1;\n    iVar6 = (**(code **)(puVar13 + 0x23fd4))(iVar6,iVar9 * 4);\n    if (iVar6 == 0) {\n      return _REG_ESPACE;\n    }\n    iVar12 = src->nelem;\n    iVar5 = *(int *)(target + 4);\n    iVar7 = piVar1[1];\n    piVar1[2] = iVar6;\n    *piVar1 = iVar9;\n  }\n  iVar10 = iVar12 + -1;\n  iVar11 = iVar5 + -1;\n  iVar5 = iVar7 + iVar12 + iVar5;\n  iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);\n  iVar9 = src->elems[iVar10];\n  while (iVar9 != iVar12) {\n    while (iVar9 < iVar12) {\n      iVar11 = iVar11 + -1;\n      if (iVar11 < 0) goto LAB_000214f8;\n      iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);\n      if (iVar9 == iVar12) goto LAB_0002144c;\n    }\n    iVar10 = iVar10 + -1;\n    if (iVar10 < 0) goto LAB_000214f8;\n    iVar9 = src->elems[iVar10];\n  }\nLAB_0002144c:\n  if (-1 < iVar7 + -1) {\n    piVar4 = (int *)(iVar6 + (iVar7 + -1) * 4);\n    iVar7 = iVar7 + -2;\n    if (*piVar4 <= iVar9) {\n      rVar2 = FUN_000214e8();\n      return rVar2;\n    }\n    for (; piVar4 = piVar4 + -1, iVar7 != -1; iVar7 = iVar7 + -1) {\n      if (*piVar4 <= iVar9) {\n        if (*piVar4 == iVar9) goto LAB_000214a0;\n        break;\n      }\n    }\n  }\n  iVar5 = iVar5 + -1;\n  *(int *)(iVar6 + iVar5 * 4) = iVar9;\nLAB_000214a0:\n  if ((-1 < iVar10 + -1) && (-1 < iVar11 + -1)) {\n    rVar2 = FUN_00021420();\n    return rVar2;\n  }\nLAB_000214f8:\n  iVar7 = piVar1[1];\n  iVar9 = iVar7 + src->nelem + *(int *)(target + 4);\n  iVar12 = iVar9 - iVar5;\n  iVar9 = iVar9 + -1;\n  piVar1[1] = iVar7 + iVar12;\n  if (0 < iVar12) {\n    iVar7 = iVar7 + -1;\n    iVar10 = iVar9 * 4;\n    if (-1 < iVar7) {\n      do {\n        iVar8 = *(int *)(iVar6 + iVar10);\n        iVar11 = *(int *)(iVar6 + iVar7 * 4);\n        piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n        if (iVar11 < iVar8) {\n          do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);\n        }\n        iVar7 = iVar7 + -1;\n        *piVar4 = iVar11;\n      } while (iVar7 != -1);\n      iVar6 = piVar1[2];\n    }\n  }\n  iVar12 = iVar12 << 2;\nLAB_000215ac:\n  (**(code **)(puVar13 + 0x24030))(iVar6,iVar6 + iVar5 * 4,iVar12);\n  return _REG_NOERROR;\n}\n\n" (function_definition "reg_errcode_t check_arrival_expand_ecl(re_dfa_t *dfa,re_node_set *cur_nodes,Idx ex_subexp,int type)\n\n{\n  int *piVar1;\n  reg_errcode_t rVar2;\n  Idx *pIVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  re_node_set *src;\n  Idx target;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  undefined *puVar13;\n  re_node_set new_nodes;\n  \n  puVar13 = PTR___stack_chk_guard_000453ac;\n  new_nodes.nelem = 0;\n  iVar12 = cur_nodes->nelem;\n  piVar1 = *(int **)PTR___stack_chk_guard_000453ac;\n  src = cur_nodes;\n  target = ex_subexp;\n  new_nodes.alloc = iVar12;\n  new_nodes.elems = (Idx *)(*(code *)PTR_malloc_00045350)(iVar12 << 2);\n  if (new_nodes.elems == (Idx *)0x0) {\n    rVar2 = _REG_ESPACE;\n  }\n  else {\n    if (0 < iVar12) {\n      iVar12 = 0;\n      do {\n        target = cur_nodes->elems[iVar12];\n        src = dfa->eclosures + target;\n        iVar5 = 0;\n        if (0 < src->nelem) {\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }\n        rVar2 = re_node_set_merge(&new_nodes,src);\njoined_r0x000212b8:\n        if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }\n        iVar12 = iVar12 + 1;\n      } while (iVar12 < cur_nodes->nelem);\n    }\n    (*(code *)PTR_free_000453bc)(cur_nodes->elems);\n    rVar2 = _REG_NOERROR;\n    cur_nodes->alloc = new_nodes.alloc;\n    cur_nodes->nelem = new_nodes.nelem;\n    cur_nodes->elems = new_nodes.elems;\n  }\nLAB_0002132c:\n  if (piVar1 == *(int **)puVar13) {\n    return rVar2;\n  }\n  puVar13 = PTR___stack_chk_fail_0004538c;\n  (*(code *)PTR___stack_chk_fail_0004538c)();\n  iVar12 = src->nelem;\n  if (iVar12 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar5 = *(int *)(target + 4);\n  if (iVar5 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar7 = piVar1[1];\n  iVar6 = piVar1[2];\n  if (*piVar1 < iVar12 + iVar5 + iVar7) {\n    iVar9 = iVar12 + iVar5 + *piVar1;\n    iVar6 = (**(code **)(puVar13 + 0x23fd4))(iVar6,iVar9 * 4);\n    if (iVar6 == 0) {\n      return _REG_ESPACE;\n    }\n    iVar12 = src->nelem;\n    iVar5 = *(int *)(target + 4);\n    iVar7 = piVar1[1];\n    piVar1[2] = iVar6;\n    *piVar1 = iVar9;\n  }\n  iVar10 = iVar12 + -1;\n  iVar11 = iVar5 + -1;\n  iVar5 = iVar7 + iVar12 + iVar5;\n  iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);\n  iVar9 = src->elems[iVar10];\n  while (iVar9 != iVar12) {\n    while (iVar9 < iVar12) {\n      iVar11 = iVar11 + -1;\n      if (iVar11 < 0) goto LAB_000214f8;\n      iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);\n      if (iVar9 == iVar12) goto LAB_0002144c;\n    }\n    iVar10 = iVar10 + -1;\n    if (iVar10 < 0) goto LAB_000214f8;\n    iVar9 = src->elems[iVar10];\n  }\nLAB_0002144c:\n  if (-1 < iVar7 + -1) {\n    piVar4 = (int *)(iVar6 + (iVar7 + -1) * 4);\n    iVar7 = iVar7 + -2;\n    if (*piVar4 <= iVar9) {\n      rVar2 = FUN_000214e8();\n      return rVar2;\n    }\n    for (; piVar4 = piVar4 + -1, iVar7 != -1; iVar7 = iVar7 + -1) {\n      if (*piVar4 <= iVar9) {\n        if (*piVar4 == iVar9) goto LAB_000214a0;\n        break;\n      }\n    }\n  }\n  iVar5 = iVar5 + -1;\n  *(int *)(iVar6 + iVar5 * 4) = iVar9;\nLAB_000214a0:\n  if ((-1 < iVar10 + -1) && (-1 < iVar11 + -1)) {\n    rVar2 = FUN_00021420();\n    return rVar2;\n  }\nLAB_000214f8:\n  iVar7 = piVar1[1];\n  iVar9 = iVar7 + src->nelem + *(int *)(target + 4);\n  iVar12 = iVar9 - iVar5;\n  iVar9 = iVar9 + -1;\n  piVar1[1] = iVar7 + iVar12;\n  if (0 < iVar12) {\n    iVar7 = iVar7 + -1;\n    iVar10 = iVar9 * 4;\n    if (-1 < iVar7) {\n      do {\n        iVar8 = *(int *)(iVar6 + iVar10);\n        iVar11 = *(int *)(iVar6 + iVar7 * 4);\n        piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n        if (iVar11 < iVar8) {\n          do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);\n        }\n        iVar7 = iVar7 + -1;\n        *piVar4 = iVar11;\n      } while (iVar7 != -1);\n      iVar6 = piVar1[2];\n    }\n  }\n  iVar12 = iVar12 << 2;\nLAB_000215ac:\n  (**(code **)(puVar13 + 0x24030))(iVar6,iVar6 + iVar5 * 4,iVar12);\n  return _REG_NOERROR;\n}" type_identifier (function_declarator "check_arrival_expand_ecl(re_dfa_t *dfa,re_node_set *cur_nodes,Idx ex_subexp,int type)" identifier (parameter_list "(re_dfa_t *dfa,re_node_set *cur_nodes,Idx ex_subexp,int type)" ( (parameter_declaration "re_dfa_t *dfa" type_identifier (pointer_declarator "*dfa" * identifier)) , (parameter_declaration "re_node_set *cur_nodes" type_identifier (pointer_declarator "*cur_nodes" * identifier)) , (parameter_declaration "Idx ex_subexp" type_identifier identifier) , (parameter_declaration "int type" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  reg_errcode_t rVar2;\n  Idx *pIVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  re_node_set *src;\n  Idx target;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  undefined *puVar13;\n  re_node_set new_nodes;\n  \n  puVar13 = PTR___stack_chk_guard_000453ac;\n  new_nodes.nelem = 0;\n  iVar12 = cur_nodes->nelem;\n  piVar1 = *(int **)PTR___stack_chk_guard_000453ac;\n  src = cur_nodes;\n  target = ex_subexp;\n  new_nodes.alloc = iVar12;\n  new_nodes.elems = (Idx *)(*(code *)PTR_malloc_00045350)(iVar12 << 2);\n  if (new_nodes.elems == (Idx *)0x0) {\n    rVar2 = _REG_ESPACE;\n  }\n  else {\n    if (0 < iVar12) {\n      iVar12 = 0;\n      do {\n        target = cur_nodes->elems[iVar12];\n        src = dfa->eclosures + target;\n        iVar5 = 0;\n        if (0 < src->nelem) {\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }\n        rVar2 = re_node_set_merge(&new_nodes,src);\njoined_r0x000212b8:\n        if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }\n        iVar12 = iVar12 + 1;\n      } while (iVar12 < cur_nodes->nelem);\n    }\n    (*(code *)PTR_free_000453bc)(cur_nodes->elems);\n    rVar2 = _REG_NOERROR;\n    cur_nodes->alloc = new_nodes.alloc;\n    cur_nodes->nelem = new_nodes.nelem;\n    cur_nodes->elems = new_nodes.elems;\n  }\nLAB_0002132c:\n  if (piVar1 == *(int **)puVar13) {\n    return rVar2;\n  }\n  puVar13 = PTR___stack_chk_fail_0004538c;\n  (*(code *)PTR___stack_chk_fail_0004538c)();\n  iVar12 = src->nelem;\n  if (iVar12 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar5 = *(int *)(target + 4);\n  if (iVar5 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar7 = piVar1[1];\n  iVar6 = piVar1[2];\n  if (*piVar1 < iVar12 + iVar5 + iVar7) {\n    iVar9 = iVar12 + iVar5 + *piVar1;\n    iVar6 = (**(code **)(puVar13 + 0x23fd4))(iVar6,iVar9 * 4);\n    if (iVar6 == 0) {\n      return _REG_ESPACE;\n    }\n    iVar12 = src->nelem;\n    iVar5 = *(int *)(target + 4);\n    iVar7 = piVar1[1];\n    piVar1[2] = iVar6;\n    *piVar1 = iVar9;\n  }\n  iVar10 = iVar12 + -1;\n  iVar11 = iVar5 + -1;\n  iVar5 = iVar7 + iVar12 + iVar5;\n  iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);\n  iVar9 = src->elems[iVar10];\n  while (iVar9 != iVar12) {\n    while (iVar9 < iVar12) {\n      iVar11 = iVar11 + -1;\n      if (iVar11 < 0) goto LAB_000214f8;\n      iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);\n      if (iVar9 == iVar12) goto LAB_0002144c;\n    }\n    iVar10 = iVar10 + -1;\n    if (iVar10 < 0) goto LAB_000214f8;\n    iVar9 = src->elems[iVar10];\n  }\nLAB_0002144c:\n  if (-1 < iVar7 + -1) {\n    piVar4 = (int *)(iVar6 + (iVar7 + -1) * 4);\n    iVar7 = iVar7 + -2;\n    if (*piVar4 <= iVar9) {\n      rVar2 = FUN_000214e8();\n      return rVar2;\n    }\n    for (; piVar4 = piVar4 + -1, iVar7 != -1; iVar7 = iVar7 + -1) {\n      if (*piVar4 <= iVar9) {\n        if (*piVar4 == iVar9) goto LAB_000214a0;\n        break;\n      }\n    }\n  }\n  iVar5 = iVar5 + -1;\n  *(int *)(iVar6 + iVar5 * 4) = iVar9;\nLAB_000214a0:\n  if ((-1 < iVar10 + -1) && (-1 < iVar11 + -1)) {\n    rVar2 = FUN_00021420();\n    return rVar2;\n  }\nLAB_000214f8:\n  iVar7 = piVar1[1];\n  iVar9 = iVar7 + src->nelem + *(int *)(target + 4);\n  iVar12 = iVar9 - iVar5;\n  iVar9 = iVar9 + -1;\n  piVar1[1] = iVar7 + iVar12;\n  if (0 < iVar12) {\n    iVar7 = iVar7 + -1;\n    iVar10 = iVar9 * 4;\n    if (-1 < iVar7) {\n      do {\n        iVar8 = *(int *)(iVar6 + iVar10);\n        iVar11 = *(int *)(iVar6 + iVar7 * 4);\n        piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n        if (iVar11 < iVar8) {\n          do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);\n        }\n        iVar7 = iVar7 + -1;\n        *piVar4 = iVar11;\n      } while (iVar7 != -1);\n      iVar6 = piVar1[2];\n    }\n  }\n  iVar12 = iVar12 << 2;\nLAB_000215ac:\n  (**(code **)(puVar13 + 0x24030))(iVar6,iVar6 + iVar5 * 4,iVar12);\n  return _REG_NOERROR;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "reg_errcode_t rVar2;" type_identifier identifier ;) (declaration "Idx *pIVar3;" type_identifier (pointer_declarator "*pIVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "re_node_set *src;" type_identifier (pointer_declarator "*src" * identifier) ;) (declaration "Idx target;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "re_node_set new_nodes;" type_identifier identifier ;) (expression_statement "puVar13 = PTR___stack_chk_guard_000453ac;" (assignment_expression "puVar13 = PTR___stack_chk_guard_000453ac" identifier = identifier) ;) (expression_statement "new_nodes.nelem = 0;" (assignment_expression "new_nodes.nelem = 0" (field_expression "new_nodes.nelem" identifier . field_identifier) = number_literal) ;) (expression_statement "iVar12 = cur_nodes->nelem;" (assignment_expression "iVar12 = cur_nodes->nelem" identifier = (field_expression "cur_nodes->nelem" identifier -> field_identifier)) ;) (expression_statement "piVar1 = *(int **)PTR___stack_chk_guard_000453ac;" (assignment_expression "piVar1 = *(int **)PTR___stack_chk_guard_000453ac" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_000453ac" * (cast_expression "(int **)PTR___stack_chk_guard_000453ac" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "src = cur_nodes;" (assignment_expression "src = cur_nodes" identifier = identifier) ;) (expression_statement "target = ex_subexp;" (assignment_expression "target = ex_subexp" identifier = identifier) ;) (expression_statement "new_nodes.alloc = iVar12;" (assignment_expression "new_nodes.alloc = iVar12" (field_expression "new_nodes.alloc" identifier . field_identifier) = identifier) ;) (expression_statement "new_nodes.elems = (Idx *)(*(code *)PTR_malloc_00045350)(iVar12 << 2);" (assignment_expression "new_nodes.elems = (Idx *)(*(code *)PTR_malloc_00045350)(iVar12 << 2)" (field_expression "new_nodes.elems" identifier . field_identifier) = (cast_expression "(Idx *)(*(code *)PTR_malloc_00045350)(iVar12 << 2)" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_00045350)(iVar12 << 2)" (parenthesized_expression "(*(code *)PTR_malloc_00045350)" ( (pointer_expression "*(code *)PTR_malloc_00045350" * (cast_expression "(code *)PTR_malloc_00045350" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar12 << 2)" ( (binary_expression "iVar12 << 2" identifier << number_literal) ))))) ;) (if_statement "if (new_nodes.elems == (Idx *)0x0) {\n    rVar2 = _REG_ESPACE;\n  }\n  else {\n    if (0 < iVar12) {\n      iVar12 = 0;\n      do {\n        target = cur_nodes->elems[iVar12];\n        src = dfa->eclosures + target;\n        iVar5 = 0;\n        if (0 < src->nelem) {\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }\n        rVar2 = re_node_set_merge(&new_nodes,src);\njoined_r0x000212b8:\n        if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }\n        iVar12 = iVar12 + 1;\n      } while (iVar12 < cur_nodes->nelem);\n    }\n    (*(code *)PTR_free_000453bc)(cur_nodes->elems);\n    rVar2 = _REG_NOERROR;\n    cur_nodes->alloc = new_nodes.alloc;\n    cur_nodes->nelem = new_nodes.nelem;\n    cur_nodes->elems = new_nodes.elems;\n  }" if (parenthesized_expression "(new_nodes.elems == (Idx *)0x0)" ( (binary_expression "new_nodes.elems == (Idx *)0x0" (field_expression "new_nodes.elems" identifier . field_identifier) == (cast_expression "(Idx *)0x0" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    rVar2 = _REG_ESPACE;\n  }" { (expression_statement "rVar2 = _REG_ESPACE;" (assignment_expression "rVar2 = _REG_ESPACE" identifier = identifier) ;) }) (else_clause "else {\n    if (0 < iVar12) {\n      iVar12 = 0;\n      do {\n        target = cur_nodes->elems[iVar12];\n        src = dfa->eclosures + target;\n        iVar5 = 0;\n        if (0 < src->nelem) {\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }\n        rVar2 = re_node_set_merge(&new_nodes,src);\njoined_r0x000212b8:\n        if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }\n        iVar12 = iVar12 + 1;\n      } while (iVar12 < cur_nodes->nelem);\n    }\n    (*(code *)PTR_free_000453bc)(cur_nodes->elems);\n    rVar2 = _REG_NOERROR;\n    cur_nodes->alloc = new_nodes.alloc;\n    cur_nodes->nelem = new_nodes.nelem;\n    cur_nodes->elems = new_nodes.elems;\n  }" else (compound_statement "{\n    if (0 < iVar12) {\n      iVar12 = 0;\n      do {\n        target = cur_nodes->elems[iVar12];\n        src = dfa->eclosures + target;\n        iVar5 = 0;\n        if (0 < src->nelem) {\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }\n        rVar2 = re_node_set_merge(&new_nodes,src);\njoined_r0x000212b8:\n        if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }\n        iVar12 = iVar12 + 1;\n      } while (iVar12 < cur_nodes->nelem);\n    }\n    (*(code *)PTR_free_000453bc)(cur_nodes->elems);\n    rVar2 = _REG_NOERROR;\n    cur_nodes->alloc = new_nodes.alloc;\n    cur_nodes->nelem = new_nodes.nelem;\n    cur_nodes->elems = new_nodes.elems;\n  }" { (if_statement "if (0 < iVar12) {\n      iVar12 = 0;\n      do {\n        target = cur_nodes->elems[iVar12];\n        src = dfa->eclosures + target;\n        iVar5 = 0;\n        if (0 < src->nelem) {\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }\n        rVar2 = re_node_set_merge(&new_nodes,src);\njoined_r0x000212b8:\n        if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }\n        iVar12 = iVar12 + 1;\n      } while (iVar12 < cur_nodes->nelem);\n    }" if (parenthesized_expression "(0 < iVar12)" ( (binary_expression "0 < iVar12" number_literal < identifier) )) (compound_statement "{\n      iVar12 = 0;\n      do {\n        target = cur_nodes->elems[iVar12];\n        src = dfa->eclosures + target;\n        iVar5 = 0;\n        if (0 < src->nelem) {\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }\n        rVar2 = re_node_set_merge(&new_nodes,src);\njoined_r0x000212b8:\n        if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }\n        iVar12 = iVar12 + 1;\n      } while (iVar12 < cur_nodes->nelem);\n    }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n        target = cur_nodes->elems[iVar12];\n        src = dfa->eclosures + target;\n        iVar5 = 0;\n        if (0 < src->nelem) {\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }\n        rVar2 = re_node_set_merge(&new_nodes,src);\njoined_r0x000212b8:\n        if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }\n        iVar12 = iVar12 + 1;\n      } while (iVar12 < cur_nodes->nelem);" do (compound_statement "{\n        target = cur_nodes->elems[iVar12];\n        src = dfa->eclosures + target;\n        iVar5 = 0;\n        if (0 < src->nelem) {\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }\n        rVar2 = re_node_set_merge(&new_nodes,src);\njoined_r0x000212b8:\n        if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }\n        iVar12 = iVar12 + 1;\n      }" { (expression_statement "target = cur_nodes->elems[iVar12];" (assignment_expression "target = cur_nodes->elems[iVar12]" identifier = (subscript_expression "cur_nodes->elems[iVar12]" (field_expression "cur_nodes->elems" identifier -> field_identifier) [ identifier ])) ;) (expression_statement "src = dfa->eclosures + target;" (assignment_expression "src = dfa->eclosures + target" identifier = (binary_expression "dfa->eclosures + target" (field_expression "dfa->eclosures" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (0 < src->nelem) {\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }" if (parenthesized_expression "(0 < src->nelem)" ( (binary_expression "0 < src->nelem" number_literal < (field_expression "src->nelem" identifier -> field_identifier)) )) (compound_statement "{\n          pIVar3 = src->elems;\n          do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);\n        }" { (expression_statement "pIVar3 = src->elems;" (assignment_expression "pIVar3 = src->elems" identifier = (field_expression "src->elems" identifier -> field_identifier)) ;) (do_statement "do {\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          } while (src->nelem != iVar5);" do (compound_statement "{\n            if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar5 = iVar5 + 1;\n            pIVar3 = pIVar3 + 1;\n          }" { (if_statement "if ((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)) {\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }" if (parenthesized_expression "((type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset))" ( (binary_expression "(type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4) &&\n               ((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)" (parenthesized_expression "(type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4)" ( (binary_expression "type == (uint)(byte)dfa->nodes[*pIVar3].field_0x4" identifier == (cast_expression "(uint)(byte)dfa->nodes[*pIVar3].field_0x4" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)dfa->nodes[*pIVar3].field_0x4" ( (type_descriptor "byte" type_identifier) ) (field_expression "dfa->nodes[*pIVar3].field_0x4" (subscript_expression "dfa->nodes[*pIVar3]" (field_expression "dfa->nodes" identifier -> field_identifier) [ (pointer_expression "*pIVar3" * identifier) ]) . field_identifier)))) )) && (parenthesized_expression "((re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset)" ( (binary_expression "(re_bitset_ptr_t)ex_subexp == dfa->nodes[*pIVar3].opr.sbcset" (cast_expression "(re_bitset_ptr_t)ex_subexp" ( (type_descriptor "re_bitset_ptr_t" type_identifier) ) identifier) == (field_expression "dfa->nodes[*pIVar3].opr.sbcset" (field_expression "dfa->nodes[*pIVar3].opr" (subscript_expression "dfa->nodes[*pIVar3]" (field_expression "dfa->nodes" identifier -> field_identifier) [ (pointer_expression "*pIVar3" * identifier) ]) . field_identifier) . field_identifier)) ))) )) (compound_statement "{\n              if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }" { (if_statement "if (*pIVar3 != -1) {\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }" if (parenthesized_expression "(*pIVar3 != -1)" ( (binary_expression "*pIVar3 != -1" (pointer_expression "*pIVar3" * identifier) != number_literal) )) (compound_statement "{\n                src = &new_nodes;\n                rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);\n                goto joined_r0x000212b8;\n              }" { (expression_statement "src = &new_nodes;" (assignment_expression "src = &new_nodes" identifier = (pointer_expression "&new_nodes" & identifier)) ;) (expression_statement "rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type);" (assignment_expression "rVar2 = check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type)" identifier = (call_expression "check_arrival_expand_ecl_sub(dfa,&new_nodes,target,ex_subexp,type)" identifier (argument_list "(dfa,&new_nodes,target,ex_subexp,type)" ( identifier , (pointer_expression "&new_nodes" & identifier) , identifier , identifier , identifier )))) ;) (goto_statement "goto joined_r0x000212b8;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "pIVar3 = pIVar3 + 1;" (assignment_expression "pIVar3 = pIVar3 + 1" identifier = (binary_expression "pIVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(src->nelem != iVar5)" ( (binary_expression "src->nelem != iVar5" (field_expression "src->nelem" identifier -> field_identifier) != identifier) )) ;) })) (expression_statement "rVar2 = re_node_set_merge(&new_nodes,src);" (assignment_expression "rVar2 = re_node_set_merge(&new_nodes,src)" identifier = (call_expression "re_node_set_merge(&new_nodes,src)" identifier (argument_list "(&new_nodes,src)" ( (pointer_expression "&new_nodes" & identifier) , identifier )))) ;) (labeled_statement "joined_r0x000212b8:\n        if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }" statement_identifier : (if_statement "if (rVar2 != _REG_NOERROR) {\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }" if (parenthesized_expression "(rVar2 != _REG_NOERROR)" ( (binary_expression "rVar2 != _REG_NOERROR" identifier != identifier) )) (compound_statement "{\n          (*(code *)PTR_free_000453bc)(new_nodes.elems);\n          goto LAB_0002132c;\n        }" { (expression_statement "(*(code *)PTR_free_000453bc)(new_nodes.elems);" (call_expression "(*(code *)PTR_free_000453bc)(new_nodes.elems)" (parenthesized_expression "(*(code *)PTR_free_000453bc)" ( (pointer_expression "*(code *)PTR_free_000453bc" * (cast_expression "(code *)PTR_free_000453bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(new_nodes.elems)" ( (field_expression "new_nodes.elems" identifier . field_identifier) ))) ;) (goto_statement "goto LAB_0002132c;" goto statement_identifier ;) }))) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar12 < cur_nodes->nelem)" ( (binary_expression "iVar12 < cur_nodes->nelem" identifier < (field_expression "cur_nodes->nelem" identifier -> field_identifier)) )) ;) })) (expression_statement "(*(code *)PTR_free_000453bc)(cur_nodes->elems);" (call_expression "(*(code *)PTR_free_000453bc)(cur_nodes->elems)" (parenthesized_expression "(*(code *)PTR_free_000453bc)" ( (pointer_expression "*(code *)PTR_free_000453bc" * (cast_expression "(code *)PTR_free_000453bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cur_nodes->elems)" ( (field_expression "cur_nodes->elems" identifier -> field_identifier) ))) ;) (expression_statement "rVar2 = _REG_NOERROR;" (assignment_expression "rVar2 = _REG_NOERROR" identifier = identifier) ;) (expression_statement "cur_nodes->alloc = new_nodes.alloc;" (assignment_expression "cur_nodes->alloc = new_nodes.alloc" (field_expression "cur_nodes->alloc" identifier -> field_identifier) = (field_expression "new_nodes.alloc" identifier . field_identifier)) ;) (expression_statement "cur_nodes->nelem = new_nodes.nelem;" (assignment_expression "cur_nodes->nelem = new_nodes.nelem" (field_expression "cur_nodes->nelem" identifier -> field_identifier) = (field_expression "new_nodes.nelem" identifier . field_identifier)) ;) (expression_statement "cur_nodes->elems = new_nodes.elems;" (assignment_expression "cur_nodes->elems = new_nodes.elems" (field_expression "cur_nodes->elems" identifier -> field_identifier) = (field_expression "new_nodes.elems" identifier . field_identifier)) ;) }))) (labeled_statement "LAB_0002132c:\n  if (piVar1 == *(int **)puVar13) {\n    return rVar2;\n  }" statement_identifier : (if_statement "if (piVar1 == *(int **)puVar13) {\n    return rVar2;\n  }" if (parenthesized_expression "(piVar1 == *(int **)puVar13)" ( (binary_expression "piVar1 == *(int **)puVar13" identifier == (pointer_expression "*(int **)puVar13" * (cast_expression "(int **)puVar13" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return rVar2;\n  }" { (return_statement "return rVar2;" return identifier ;) }))) (expression_statement "puVar13 = PTR___stack_chk_fail_0004538c;" (assignment_expression "puVar13 = PTR___stack_chk_fail_0004538c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0004538c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0004538c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0004538c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0004538c" * (cast_expression "(code *)PTR___stack_chk_fail_0004538c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar12 = src->nelem;" (assignment_expression "iVar12 = src->nelem" identifier = (field_expression "src->nelem" identifier -> field_identifier)) ;) (if_statement "if (iVar12 == 0) {\n    return _REG_NOERROR;\n  }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n    return _REG_NOERROR;\n  }" { (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "iVar5 = *(int *)(target + 4);" (assignment_expression "iVar5 = *(int *)(target + 4)" identifier = (pointer_expression "*(int *)(target + 4)" * (cast_expression "(int *)(target + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(target + 4)" ( (binary_expression "target + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 == 0) {\n    return _REG_NOERROR;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    return _REG_NOERROR;\n  }" { (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "iVar7 = piVar1[1];" (assignment_expression "iVar7 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = piVar1[2];" (assignment_expression "iVar6 = piVar1[2]" identifier = (subscript_expression "piVar1[2]" identifier [ number_literal ])) ;) (if_statement "if (*piVar1 < iVar12 + iVar5 + iVar7) {\n    iVar9 = iVar12 + iVar5 + *piVar1;\n    iVar6 = (**(code **)(puVar13 + 0x23fd4))(iVar6,iVar9 * 4);\n    if (iVar6 == 0) {\n      return _REG_ESPACE;\n    }\n    iVar12 = src->nelem;\n    iVar5 = *(int *)(target + 4);\n    iVar7 = piVar1[1];\n    piVar1[2] = iVar6;\n    *piVar1 = iVar9;\n  }" if (parenthesized_expression "(*piVar1 < iVar12 + iVar5 + iVar7)" ( (binary_expression "*piVar1 < iVar12 + iVar5 + iVar7" (pointer_expression "*piVar1" * identifier) < (binary_expression "iVar12 + iVar5 + iVar7" (binary_expression "iVar12 + iVar5" identifier + identifier) + identifier)) )) (compound_statement "{\n    iVar9 = iVar12 + iVar5 + *piVar1;\n    iVar6 = (**(code **)(puVar13 + 0x23fd4))(iVar6,iVar9 * 4);\n    if (iVar6 == 0) {\n      return _REG_ESPACE;\n    }\n    iVar12 = src->nelem;\n    iVar5 = *(int *)(target + 4);\n    iVar7 = piVar1[1];\n    piVar1[2] = iVar6;\n    *piVar1 = iVar9;\n  }" { (expression_statement "iVar9 = iVar12 + iVar5 + *piVar1;" (assignment_expression "iVar9 = iVar12 + iVar5 + *piVar1" identifier = (binary_expression "iVar12 + iVar5 + *piVar1" (binary_expression "iVar12 + iVar5" identifier + identifier) + (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "iVar6 = (**(code **)(puVar13 + 0x23fd4))(iVar6,iVar9 * 4);" (assignment_expression "iVar6 = (**(code **)(puVar13 + 0x23fd4))(iVar6,iVar9 * 4)" identifier = (call_expression "(**(code **)(puVar13 + 0x23fd4))(iVar6,iVar9 * 4)" (parenthesized_expression "(**(code **)(puVar13 + 0x23fd4))" ( (pointer_expression "**(code **)(puVar13 + 0x23fd4)" * (pointer_expression "*(code **)(puVar13 + 0x23fd4)" * (cast_expression "(code **)(puVar13 + 0x23fd4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x23fd4)" ( (binary_expression "puVar13 + 0x23fd4" identifier + number_literal) ))))) )) (argument_list "(iVar6,iVar9 * 4)" ( identifier , (binary_expression "iVar9 * 4" identifier * number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n      return _REG_ESPACE;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      return _REG_ESPACE;\n    }" { (return_statement "return _REG_ESPACE;" return identifier ;) })) (expression_statement "iVar12 = src->nelem;" (assignment_expression "iVar12 = src->nelem" identifier = (field_expression "src->nelem" identifier -> field_identifier)) ;) (expression_statement "iVar5 = *(int *)(target + 4);" (assignment_expression "iVar5 = *(int *)(target + 4)" identifier = (pointer_expression "*(int *)(target + 4)" * (cast_expression "(int *)(target + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(target + 4)" ( (binary_expression "target + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = piVar1[1];" (assignment_expression "iVar7 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar1[2] = iVar6;" (assignment_expression "piVar1[2] = iVar6" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = iVar9;" (assignment_expression "*piVar1 = iVar9" (pointer_expression "*piVar1" * identifier) = identifier) ;) })) (expression_statement "iVar10 = iVar12 + -1;" (assignment_expression "iVar10 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar5 + -1;" (assignment_expression "iVar11 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "iVar5 = iVar7 + iVar12 + iVar5;" (assignment_expression "iVar5 = iVar7 + iVar12 + iVar5" identifier = (binary_expression "iVar7 + iVar12 + iVar5" (binary_expression "iVar7 + iVar12" identifier + identifier) + identifier)) ;) (expression_statement "iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);" (assignment_expression "iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(target + 8) + iVar11 * 4)" * (cast_expression "(int *)(*(int *)(target + 8) + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(target + 8) + iVar11 * 4)" ( (binary_expression "*(int *)(target + 8) + iVar11 * 4" (pointer_expression "*(int *)(target + 8)" * (cast_expression "(int *)(target + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(target + 8)" ( (binary_expression "target + 8" identifier + number_literal) )))) + (binary_expression "iVar11 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar9 = src->elems[iVar10];" (assignment_expression "iVar9 = src->elems[iVar10]" identifier = (subscript_expression "src->elems[iVar10]" (field_expression "src->elems" identifier -> field_identifier) [ identifier ])) ;) (while_statement "while (iVar9 != iVar12) {\n    while (iVar9 < iVar12) {\n      iVar11 = iVar11 + -1;\n      if (iVar11 < 0) goto LAB_000214f8;\n      iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);\n      if (iVar9 == iVar12) goto LAB_0002144c;\n    }\n    iVar10 = iVar10 + -1;\n    if (iVar10 < 0) goto LAB_000214f8;\n    iVar9 = src->elems[iVar10];\n  }" while (parenthesized_expression "(iVar9 != iVar12)" ( (binary_expression "iVar9 != iVar12" identifier != identifier) )) (compound_statement "{\n    while (iVar9 < iVar12) {\n      iVar11 = iVar11 + -1;\n      if (iVar11 < 0) goto LAB_000214f8;\n      iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);\n      if (iVar9 == iVar12) goto LAB_0002144c;\n    }\n    iVar10 = iVar10 + -1;\n    if (iVar10 < 0) goto LAB_000214f8;\n    iVar9 = src->elems[iVar10];\n  }" { (while_statement "while (iVar9 < iVar12) {\n      iVar11 = iVar11 + -1;\n      if (iVar11 < 0) goto LAB_000214f8;\n      iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);\n      if (iVar9 == iVar12) goto LAB_0002144c;\n    }" while (parenthesized_expression "(iVar9 < iVar12)" ( (binary_expression "iVar9 < iVar12" identifier < identifier) )) (compound_statement "{\n      iVar11 = iVar11 + -1;\n      if (iVar11 < 0) goto LAB_000214f8;\n      iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);\n      if (iVar9 == iVar12) goto LAB_0002144c;\n    }" { (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (if_statement "if (iVar11 < 0) goto LAB_000214f8;" if (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) )) (goto_statement "goto LAB_000214f8;" goto statement_identifier ;)) (expression_statement "iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4);" (assignment_expression "iVar12 = *(int *)(*(int *)(target + 8) + iVar11 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(target + 8) + iVar11 * 4)" * (cast_expression "(int *)(*(int *)(target + 8) + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(target + 8) + iVar11 * 4)" ( (binary_expression "*(int *)(target + 8) + iVar11 * 4" (pointer_expression "*(int *)(target + 8)" * (cast_expression "(int *)(target + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(target + 8)" ( (binary_expression "target + 8" identifier + number_literal) )))) + (binary_expression "iVar11 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar9 == iVar12) goto LAB_0002144c;" if (parenthesized_expression "(iVar9 == iVar12)" ( (binary_expression "iVar9 == iVar12" identifier == identifier) )) (goto_statement "goto LAB_0002144c;" goto statement_identifier ;)) })) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if (iVar10 < 0) goto LAB_000214f8;" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (goto_statement "goto LAB_000214f8;" goto statement_identifier ;)) (expression_statement "iVar9 = src->elems[iVar10];" (assignment_expression "iVar9 = src->elems[iVar10]" identifier = (subscript_expression "src->elems[iVar10]" (field_expression "src->elems" identifier -> field_identifier) [ identifier ])) ;) })) (labeled_statement "LAB_0002144c:\n  if (-1 < iVar7 + -1) {\n    piVar4 = (int *)(iVar6 + (iVar7 + -1) * 4);\n    iVar7 = iVar7 + -2;\n    if (*piVar4 <= iVar9) {\n      rVar2 = FUN_000214e8();\n      return rVar2;\n    }\n    for (; piVar4 = piVar4 + -1, iVar7 != -1; iVar7 = iVar7 + -1) {\n      if (*piVar4 <= iVar9) {\n        if (*piVar4 == iVar9) goto LAB_000214a0;\n        break;\n      }\n    }\n  }" statement_identifier : (if_statement "if (-1 < iVar7 + -1) {\n    piVar4 = (int *)(iVar6 + (iVar7 + -1) * 4);\n    iVar7 = iVar7 + -2;\n    if (*piVar4 <= iVar9) {\n      rVar2 = FUN_000214e8();\n      return rVar2;\n    }\n    for (; piVar4 = piVar4 + -1, iVar7 != -1; iVar7 = iVar7 + -1) {\n      if (*piVar4 <= iVar9) {\n        if (*piVar4 == iVar9) goto LAB_000214a0;\n        break;\n      }\n    }\n  }" if (parenthesized_expression "(-1 < iVar7 + -1)" ( (binary_expression "-1 < iVar7 + -1" number_literal < (binary_expression "iVar7 + -1" identifier + number_literal)) )) (compound_statement "{\n    piVar4 = (int *)(iVar6 + (iVar7 + -1) * 4);\n    iVar7 = iVar7 + -2;\n    if (*piVar4 <= iVar9) {\n      rVar2 = FUN_000214e8();\n      return rVar2;\n    }\n    for (; piVar4 = piVar4 + -1, iVar7 != -1; iVar7 = iVar7 + -1) {\n      if (*piVar4 <= iVar9) {\n        if (*piVar4 == iVar9) goto LAB_000214a0;\n        break;\n      }\n    }\n  }" { (expression_statement "piVar4 = (int *)(iVar6 + (iVar7 + -1) * 4);" (assignment_expression "piVar4 = (int *)(iVar6 + (iVar7 + -1) * 4)" identifier = (cast_expression "(int *)(iVar6 + (iVar7 + -1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + (iVar7 + -1) * 4)" ( (binary_expression "iVar6 + (iVar7 + -1) * 4" identifier + (binary_expression "(iVar7 + -1) * 4" (parenthesized_expression "(iVar7 + -1)" ( (binary_expression "iVar7 + -1" identifier + number_literal) )) * number_literal)) )))) ;) (expression_statement "iVar7 = iVar7 + -2;" (assignment_expression "iVar7 = iVar7 + -2" identifier = (binary_expression "iVar7 + -2" identifier + number_literal)) ;) (if_statement "if (*piVar4 <= iVar9) {\n      rVar2 = FUN_000214e8();\n      return rVar2;\n    }" if (parenthesized_expression "(*piVar4 <= iVar9)" ( (binary_expression "*piVar4 <= iVar9" (pointer_expression "*piVar4" * identifier) <= identifier) )) (compound_statement "{\n      rVar2 = FUN_000214e8();\n      return rVar2;\n    }" { (expression_statement "rVar2 = FUN_000214e8();" (assignment_expression "rVar2 = FUN_000214e8()" identifier = (call_expression "FUN_000214e8()" identifier (argument_list "()" ( )))) ;) (return_statement "return rVar2;" return identifier ;) })) (for_statement "for (; piVar4 = piVar4 + -1, iVar7 != -1; iVar7 = iVar7 + -1) {\n      if (*piVar4 <= iVar9) {\n        if (*piVar4 == iVar9) goto LAB_000214a0;\n        break;\n      }\n    }" for ( ; (comma_expression "piVar4 = piVar4 + -1, iVar7 != -1" (assignment_expression "piVar4 = piVar4 + -1" identifier = (binary_expression "piVar4 + -1" identifier + number_literal)) , (binary_expression "iVar7 != -1" identifier != number_literal)) ; (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ) (compound_statement "{\n      if (*piVar4 <= iVar9) {\n        if (*piVar4 == iVar9) goto LAB_000214a0;\n        break;\n      }\n    }" { (if_statement "if (*piVar4 <= iVar9) {\n        if (*piVar4 == iVar9) goto LAB_000214a0;\n        break;\n      }" if (parenthesized_expression "(*piVar4 <= iVar9)" ( (binary_expression "*piVar4 <= iVar9" (pointer_expression "*piVar4" * identifier) <= identifier) )) (compound_statement "{\n        if (*piVar4 == iVar9) goto LAB_000214a0;\n        break;\n      }" { (if_statement "if (*piVar4 == iVar9) goto LAB_000214a0;" if (parenthesized_expression "(*piVar4 == iVar9)" ( (binary_expression "*piVar4 == iVar9" (pointer_expression "*piVar4" * identifier) == identifier) )) (goto_statement "goto LAB_000214a0;" goto statement_identifier ;)) (break_statement "break;" break ;) })) })) }))) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar6 + iVar5 * 4) = iVar9;" (assignment_expression "*(int *)(iVar6 + iVar5 * 4) = iVar9" (pointer_expression "*(int *)(iVar6 + iVar5 * 4)" * (cast_expression "(int *)(iVar6 + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar5 * 4)" ( (binary_expression "iVar6 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) = identifier) ;) (labeled_statement "LAB_000214a0:\n  if ((-1 < iVar10 + -1) && (-1 < iVar11 + -1)) {\n    rVar2 = FUN_00021420();\n    return rVar2;\n  }" statement_identifier : (if_statement "if ((-1 < iVar10 + -1) && (-1 < iVar11 + -1)) {\n    rVar2 = FUN_00021420();\n    return rVar2;\n  }" if (parenthesized_expression "((-1 < iVar10 + -1) && (-1 < iVar11 + -1))" ( (binary_expression "(-1 < iVar10 + -1) && (-1 < iVar11 + -1)" (parenthesized_expression "(-1 < iVar10 + -1)" ( (binary_expression "-1 < iVar10 + -1" number_literal < (binary_expression "iVar10 + -1" identifier + number_literal)) )) && (parenthesized_expression "(-1 < iVar11 + -1)" ( (binary_expression "-1 < iVar11 + -1" number_literal < (binary_expression "iVar11 + -1" identifier + number_literal)) ))) )) (compound_statement "{\n    rVar2 = FUN_00021420();\n    return rVar2;\n  }" { (expression_statement "rVar2 = FUN_00021420();" (assignment_expression "rVar2 = FUN_00021420()" identifier = (call_expression "FUN_00021420()" identifier (argument_list "()" ( )))) ;) (return_statement "return rVar2;" return identifier ;) }))) (labeled_statement "LAB_000214f8:\n  iVar7 = piVar1[1];" statement_identifier : (expression_statement "iVar7 = piVar1[1];" (assignment_expression "iVar7 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;)) (expression_statement "iVar9 = iVar7 + src->nelem + *(int *)(target + 4);" (assignment_expression "iVar9 = iVar7 + src->nelem + *(int *)(target + 4)" identifier = (binary_expression "iVar7 + src->nelem + *(int *)(target + 4)" (binary_expression "iVar7 + src->nelem" identifier + (field_expression "src->nelem" identifier -> field_identifier)) + (pointer_expression "*(int *)(target + 4)" * (cast_expression "(int *)(target + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(target + 4)" ( (binary_expression "target + 4" identifier + number_literal) )))))) ;) (expression_statement "iVar12 = iVar9 - iVar5;" (assignment_expression "iVar12 = iVar9 - iVar5" identifier = (binary_expression "iVar9 - iVar5" identifier - identifier)) ;) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "piVar1[1] = iVar7 + iVar12;" (assignment_expression "piVar1[1] = iVar7 + iVar12" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = (binary_expression "iVar7 + iVar12" identifier + identifier)) ;) (if_statement "if (0 < iVar12) {\n    iVar7 = iVar7 + -1;\n    iVar10 = iVar9 * 4;\n    if (-1 < iVar7) {\n      do {\n        iVar8 = *(int *)(iVar6 + iVar10);\n        iVar11 = *(int *)(iVar6 + iVar7 * 4);\n        piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n        if (iVar11 < iVar8) {\n          do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);\n        }\n        iVar7 = iVar7 + -1;\n        *piVar4 = iVar11;\n      } while (iVar7 != -1);\n      iVar6 = piVar1[2];\n    }\n  }" if (parenthesized_expression "(0 < iVar12)" ( (binary_expression "0 < iVar12" number_literal < identifier) )) (compound_statement "{\n    iVar7 = iVar7 + -1;\n    iVar10 = iVar9 * 4;\n    if (-1 < iVar7) {\n      do {\n        iVar8 = *(int *)(iVar6 + iVar10);\n        iVar11 = *(int *)(iVar6 + iVar7 * 4);\n        piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n        if (iVar11 < iVar8) {\n          do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);\n        }\n        iVar7 = iVar7 + -1;\n        *piVar4 = iVar11;\n      } while (iVar7 != -1);\n      iVar6 = piVar1[2];\n    }\n  }" { (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = iVar9 * 4;" (assignment_expression "iVar10 = iVar9 * 4" identifier = (binary_expression "iVar9 * 4" identifier * number_literal)) ;) (if_statement "if (-1 < iVar7) {\n      do {\n        iVar8 = *(int *)(iVar6 + iVar10);\n        iVar11 = *(int *)(iVar6 + iVar7 * 4);\n        piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n        if (iVar11 < iVar8) {\n          do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);\n        }\n        iVar7 = iVar7 + -1;\n        *piVar4 = iVar11;\n      } while (iVar7 != -1);\n      iVar6 = piVar1[2];\n    }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n      do {\n        iVar8 = *(int *)(iVar6 + iVar10);\n        iVar11 = *(int *)(iVar6 + iVar7 * 4);\n        piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n        if (iVar11 < iVar8) {\n          do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);\n        }\n        iVar7 = iVar7 + -1;\n        *piVar4 = iVar11;\n      } while (iVar7 != -1);\n      iVar6 = piVar1[2];\n    }" { (do_statement "do {\n        iVar8 = *(int *)(iVar6 + iVar10);\n        iVar11 = *(int *)(iVar6 + iVar7 * 4);\n        piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n        if (iVar11 < iVar8) {\n          do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);\n        }\n        iVar7 = iVar7 + -1;\n        *piVar4 = iVar11;\n      } while (iVar7 != -1);" do (compound_statement "{\n        iVar8 = *(int *)(iVar6 + iVar10);\n        iVar11 = *(int *)(iVar6 + iVar7 * 4);\n        piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n        if (iVar11 < iVar8) {\n          do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);\n        }\n        iVar7 = iVar7 + -1;\n        *piVar4 = iVar11;\n      }" { (expression_statement "iVar8 = *(int *)(iVar6 + iVar10);" (assignment_expression "iVar8 = *(int *)(iVar6 + iVar10)" identifier = (pointer_expression "*(int *)(iVar6 + iVar10)" * (cast_expression "(int *)(iVar6 + iVar10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar10)" ( (binary_expression "iVar6 + iVar10" identifier + identifier) ))))) ;) (expression_statement "iVar11 = *(int *)(iVar6 + iVar7 * 4);" (assignment_expression "iVar11 = *(int *)(iVar6 + iVar7 * 4)" identifier = (pointer_expression "*(int *)(iVar6 + iVar7 * 4)" * (cast_expression "(int *)(iVar6 + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar7 * 4)" ( (binary_expression "iVar6 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);" (assignment_expression "piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4)" identifier = (cast_expression "(int *)(iVar6 + (iVar7 + iVar12) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + (iVar7 + iVar12) * 4)" ( (binary_expression "iVar6 + (iVar7 + iVar12) * 4" identifier + (binary_expression "(iVar7 + iVar12) * 4" (parenthesized_expression "(iVar7 + iVar12)" ( (binary_expression "iVar7 + iVar12" identifier + identifier) )) * number_literal)) )))) ;) (if_statement "if (iVar11 < iVar8) {\n          do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);\n        }" if (parenthesized_expression "(iVar11 < iVar8)" ( (binary_expression "iVar11 < iVar8" identifier < identifier) )) (compound_statement "{\n          do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);\n        }" { (do_statement "do {\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          } while (iVar11 < iVar8);" do (compound_statement "{\n            iVar12 = iVar12 + -1;\n            *piVar4 = iVar8;\n            iVar9 = iVar9 + -1;\n            if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }\n            iVar10 = iVar9 * 4;\n            iVar11 = *(int *)(iVar6 + iVar7 * 4);\n            iVar8 = *(int *)(iVar6 + iVar10);\n            piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);\n          }" { (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (expression_statement "*piVar4 = iVar8;" (assignment_expression "*piVar4 = iVar8" (pointer_expression "*piVar4" * identifier) = identifier) ;) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (if_statement "if (iVar12 == 0) {\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar6 = piVar1[2];\n              iVar12 = 0;\n              goto LAB_000215ac;\n            }" { (expression_statement "iVar6 = piVar1[2];" (assignment_expression "iVar6 = piVar1[2]" identifier = (subscript_expression "piVar1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000215ac;" goto statement_identifier ;) })) (expression_statement "iVar10 = iVar9 * 4;" (assignment_expression "iVar10 = iVar9 * 4" identifier = (binary_expression "iVar9 * 4" identifier * number_literal)) ;) (expression_statement "iVar11 = *(int *)(iVar6 + iVar7 * 4);" (assignment_expression "iVar11 = *(int *)(iVar6 + iVar7 * 4)" identifier = (pointer_expression "*(int *)(iVar6 + iVar7 * 4)" * (cast_expression "(int *)(iVar6 + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar7 * 4)" ( (binary_expression "iVar6 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar8 = *(int *)(iVar6 + iVar10);" (assignment_expression "iVar8 = *(int *)(iVar6 + iVar10)" identifier = (pointer_expression "*(int *)(iVar6 + iVar10)" * (cast_expression "(int *)(iVar6 + iVar10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar10)" ( (binary_expression "iVar6 + iVar10" identifier + identifier) ))))) ;) (expression_statement "piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4);" (assignment_expression "piVar4 = (int *)(iVar6 + (iVar7 + iVar12) * 4)" identifier = (cast_expression "(int *)(iVar6 + (iVar7 + iVar12) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + (iVar7 + iVar12) * 4)" ( (binary_expression "iVar6 + (iVar7 + iVar12) * 4" identifier + (binary_expression "(iVar7 + iVar12) * 4" (parenthesized_expression "(iVar7 + iVar12)" ( (binary_expression "iVar7 + iVar12" identifier + identifier) )) * number_literal)) )))) ;) }) while (parenthesized_expression "(iVar11 < iVar8)" ( (binary_expression "iVar11 < iVar8" identifier < identifier) )) ;) })) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "*piVar4 = iVar11;" (assignment_expression "*piVar4 = iVar11" (pointer_expression "*piVar4" * identifier) = identifier) ;) }) while (parenthesized_expression "(iVar7 != -1)" ( (binary_expression "iVar7 != -1" identifier != number_literal) )) ;) (expression_statement "iVar6 = piVar1[2];" (assignment_expression "iVar6 = piVar1[2]" identifier = (subscript_expression "piVar1[2]" identifier [ number_literal ])) ;) })) })) (expression_statement "iVar12 = iVar12 << 2;" (assignment_expression "iVar12 = iVar12 << 2" identifier = (binary_expression "iVar12 << 2" identifier << number_literal)) ;) (labeled_statement "LAB_000215ac:\n  (**(code **)(puVar13 + 0x24030))(iVar6,iVar6 + iVar5 * 4,iVar12);" statement_identifier : (expression_statement "(**(code **)(puVar13 + 0x24030))(iVar6,iVar6 + iVar5 * 4,iVar12);" (call_expression "(**(code **)(puVar13 + 0x24030))(iVar6,iVar6 + iVar5 * 4,iVar12)" (parenthesized_expression "(**(code **)(puVar13 + 0x24030))" ( (pointer_expression "**(code **)(puVar13 + 0x24030)" * (pointer_expression "*(code **)(puVar13 + 0x24030)" * (cast_expression "(code **)(puVar13 + 0x24030)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x24030)" ( (binary_expression "puVar13 + 0x24030" identifier + number_literal) ))))) )) (argument_list "(iVar6,iVar6 + iVar5 * 4,iVar12)" ( identifier , (binary_expression "iVar6 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) , identifier ))) ;)) (return_statement "return _REG_NOERROR;" return identifier ;) })))
(translation_unit "int FUN_00021188(int *param_1,int *param_2,int param_3,uint param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_000453ac;\n  local_34 = 0;\n  iVar13 = param_2[1];\n  local_2c = *(int **)PTR___stack_chk_guard_000453ac;\n  piVar4 = param_2;\n  iVar5 = param_3;\n  local_38 = iVar13;\n  local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);\n  if (local_30 == 0) {\n    iVar13 = 0xc;\n  }\n  else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }\nLAB_0002132c:\n  if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }\n  piVar2 = local_2c;\n  puVar15 = PTR___stack_chk_fail_0004538c;\n  (*(code *)PTR___stack_chk_fail_0004538c)();\n  iVar13 = piVar4[1];\n  if (iVar13 == 0) {\n    return 0;\n  }\n  iVar14 = *(int *)(iVar5 + 4);\n  if (iVar14 == 0) {\n    return 0;\n  }\n  iVar7 = piVar2[1];\n  iVar3 = piVar2[2];\n  if (*piVar2 < iVar13 + iVar14 + iVar7) {\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }\n  iVar10 = iVar13 + -1;\n  iVar12 = piVar4[2];\n  iVar11 = iVar14 + -1;\n  iVar6 = *(int *)(iVar5 + 8);\n  iVar9 = *(int *)(iVar12 + iVar10 * 4);\n  iVar8 = iVar7 + -1;\n  iVar14 = iVar7 + iVar13 + iVar14;\n  iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  do {\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  } while( true );\n}\n\n" (function_definition "int FUN_00021188(int *param_1,int *param_2,int param_3,uint param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_000453ac;\n  local_34 = 0;\n  iVar13 = param_2[1];\n  local_2c = *(int **)PTR___stack_chk_guard_000453ac;\n  piVar4 = param_2;\n  iVar5 = param_3;\n  local_38 = iVar13;\n  local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);\n  if (local_30 == 0) {\n    iVar13 = 0xc;\n  }\n  else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }\nLAB_0002132c:\n  if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }\n  piVar2 = local_2c;\n  puVar15 = PTR___stack_chk_fail_0004538c;\n  (*(code *)PTR___stack_chk_fail_0004538c)();\n  iVar13 = piVar4[1];\n  if (iVar13 == 0) {\n    return 0;\n  }\n  iVar14 = *(int *)(iVar5 + 4);\n  if (iVar14 == 0) {\n    return 0;\n  }\n  iVar7 = piVar2[1];\n  iVar3 = piVar2[2];\n  if (*piVar2 < iVar13 + iVar14 + iVar7) {\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }\n  iVar10 = iVar13 + -1;\n  iVar12 = piVar4[2];\n  iVar11 = iVar14 + -1;\n  iVar6 = *(int *)(iVar5 + 8);\n  iVar9 = *(int *)(iVar12 + iVar10 * 4);\n  iVar8 = iVar7 + -1;\n  iVar14 = iVar7 + iVar13 + iVar14;\n  iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  do {\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  } while( true );\n}" primitive_type (function_declarator "FUN_00021188(int *param_1,int *param_2,int param_3,uint param_4)" identifier (parameter_list "(int *param_1,int *param_2,int param_3,uint 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 identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_000453ac;\n  local_34 = 0;\n  iVar13 = param_2[1];\n  local_2c = *(int **)PTR___stack_chk_guard_000453ac;\n  piVar4 = param_2;\n  iVar5 = param_3;\n  local_38 = iVar13;\n  local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);\n  if (local_30 == 0) {\n    iVar13 = 0xc;\n  }\n  else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }\nLAB_0002132c:\n  if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }\n  piVar2 = local_2c;\n  puVar15 = PTR___stack_chk_fail_0004538c;\n  (*(code *)PTR___stack_chk_fail_0004538c)();\n  iVar13 = piVar4[1];\n  if (iVar13 == 0) {\n    return 0;\n  }\n  iVar14 = *(int *)(iVar5 + 4);\n  if (iVar14 == 0) {\n    return 0;\n  }\n  iVar7 = piVar2[1];\n  iVar3 = piVar2[2];\n  if (*piVar2 < iVar13 + iVar14 + iVar7) {\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }\n  iVar10 = iVar13 + -1;\n  iVar12 = piVar4[2];\n  iVar11 = iVar14 + -1;\n  iVar6 = *(int *)(iVar5 + 8);\n  iVar9 = *(int *)(iVar12 + iVar10 * 4);\n  iVar8 = iVar7 + -1;\n  iVar14 = iVar7 + iVar13 + iVar14;\n  iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  do {\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  } while( true );\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * 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 "puVar15 = PTR___stack_chk_guard_000453ac;" (assignment_expression "puVar15 = PTR___stack_chk_guard_000453ac" identifier = identifier) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "iVar13 = param_2[1];" (assignment_expression "iVar13 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_000453ac;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_000453ac" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_000453ac" * (cast_expression "(int **)PTR___stack_chk_guard_000453ac" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (expression_statement "iVar5 = param_3;" (assignment_expression "iVar5 = param_3" identifier = identifier) ;) (expression_statement "local_38 = iVar13;" (assignment_expression "local_38 = iVar13" identifier = identifier) ;) (expression_statement "local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);" (assignment_expression "local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2)" identifier = (call_expression "(*(code *)PTR_malloc_00045350)(iVar13 << 2)" (parenthesized_expression "(*(code *)PTR_malloc_00045350)" ( (pointer_expression "*(code *)PTR_malloc_00045350" * (cast_expression "(code *)PTR_malloc_00045350" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar13 << 2)" ( (binary_expression "iVar13 << 2" identifier << number_literal) )))) ;) (if_statement "if (local_30 == 0) {\n    iVar13 = 0xc;\n  }\n  else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar13 = 0xc;\n  }" { (expression_statement "iVar13 = 0xc;" (assignment_expression "iVar13 = 0xc" identifier = number_literal) ;) }) (else_clause "else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }" else (compound_statement "{\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }" { (if_statement "if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }" if (parenthesized_expression "(0 < iVar13)" ( (binary_expression "0 < iVar13" number_literal < identifier) )) (compound_statement "{\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }" { (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);" do (compound_statement "{\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      }" { (expression_statement "iVar5 = *(int *)(param_2[2] + iVar14 * 4);" (assignment_expression "iVar5 = *(int *)(param_2[2] + iVar14 * 4)" identifier = (pointer_expression "*(int *)(param_2[2] + iVar14 * 4)" * (cast_expression "(int *)(param_2[2] + iVar14 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + iVar14 * 4)" ( (binary_expression "param_2[2] + iVar14 * 4" (subscript_expression "param_2[2]" identifier [ number_literal ]) + (binary_expression "iVar14 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar4 = (int *)(param_1[6] + iVar5 * 0xc);" (assignment_expression "piVar4 = (int *)(param_1[6] + iVar5 * 0xc)" identifier = (cast_expression "(int *)(param_1[6] + iVar5 * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[6] + iVar5 * 0xc)" ( (binary_expression "param_1[6] + iVar5 * 0xc" (subscript_expression "param_1[6]" identifier [ number_literal ]) + (binary_expression "iVar5 * 0xc" identifier * number_literal)) )))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }" if (parenthesized_expression "(0 < piVar4[1])" ( (binary_expression "0 < piVar4[1]" number_literal < (subscript_expression "piVar4[1]" identifier [ number_literal ])) )) (compound_statement "{\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }" { (expression_statement "piVar2 = (int *)piVar4[2];" (assignment_expression "piVar2 = (int *)piVar4[2]" identifier = (cast_expression "(int *)piVar4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[2]" identifier [ number_literal ]))) ;) (do_statement "do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);" do (compound_statement "{\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          }" { (expression_statement "piVar1 = (int *)(*param_1 + *piVar2 * 8);" (assignment_expression "piVar1 = (int *)(*param_1 + *piVar2 * 8)" identifier = (cast_expression "(int *)(*param_1 + *piVar2 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + *piVar2 * 8)" ( (binary_expression "*param_1 + *piVar2 * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "*piVar2 * 8" (pointer_expression "*piVar2" * identifier) * number_literal)) )))) ;) (if_statement "if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }" if (parenthesized_expression "((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1))" ( (binary_expression "(param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)" (parenthesized_expression "(param_4 == *(byte *)(piVar1 + 1))" ( (binary_expression "param_4 == *(byte *)(piVar1 + 1)" identifier == (pointer_expression "*(byte *)(piVar1 + 1)" * (cast_expression "(byte *)(piVar1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 1)" ( (binary_expression "piVar1 + 1" identifier + number_literal) ))))) )) && (parenthesized_expression "(param_3 == *piVar1)" ( (binary_expression "param_3 == *piVar1" identifier == (pointer_expression "*piVar1" * identifier)) ))) )) (compound_statement "{\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }" { (if_statement "if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }" if (parenthesized_expression "(*piVar2 != -1)" ( (binary_expression "*piVar2 != -1" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }" { (expression_statement "piVar4 = &local_38;" (assignment_expression "piVar4 = &local_38" identifier = (pointer_expression "&local_38" & identifier)) ;) (expression_statement "iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);" (assignment_expression "iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4)" identifier = (call_expression "FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4)" identifier (argument_list "(param_1,&local_38,iVar5,param_3,param_4)" ( identifier , (pointer_expression "&local_38" & identifier) , identifier , identifier , identifier )))) ;) (goto_statement "goto joined_r0x000212b8;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar4[1] != iVar13)" ( (binary_expression "piVar4[1] != iVar13" (subscript_expression "piVar4[1]" identifier [ number_literal ]) != identifier) )) ;) })) (expression_statement "iVar13 = FUN_00020bec(&local_38);" (assignment_expression "iVar13 = FUN_00020bec(&local_38)" identifier = (call_expression "FUN_00020bec(&local_38)" identifier (argument_list "(&local_38)" ( (pointer_expression "&local_38" & identifier) )))) ;) (labeled_statement "joined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }" statement_identifier : (if_statement "if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }" { (expression_statement "(*(code *)PTR_free_000453bc)(local_30);" (call_expression "(*(code *)PTR_free_000453bc)(local_30)" (parenthesized_expression "(*(code *)PTR_free_000453bc)" ( (pointer_expression "*(code *)PTR_free_000453bc" * (cast_expression "(code *)PTR_free_000453bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier ))) ;) (goto_statement "goto LAB_0002132c;" goto statement_identifier ;) }))) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar14 < param_2[1])" ( (binary_expression "iVar14 < param_2[1]" identifier < (subscript_expression "param_2[1]" identifier [ number_literal ])) )) ;) })) (expression_statement "(*(code *)PTR_free_000453bc)(param_2[2]);" (call_expression "(*(code *)PTR_free_000453bc)(param_2[2])" (parenthesized_expression "(*(code *)PTR_free_000453bc)" ( (pointer_expression "*(code *)PTR_free_000453bc" * (cast_expression "(code *)PTR_free_000453bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2[2])" ( (subscript_expression "param_2[2]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = local_38;" (assignment_expression "*param_2 = local_38" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2[1] = local_34;" (assignment_expression "param_2[1] = local_34" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[2] = local_30;" (assignment_expression "param_2[2] = local_30" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) }))) (labeled_statement "LAB_0002132c:\n  if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }" statement_identifier : (if_statement "if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }" if (parenthesized_expression "(local_2c == *(int **)puVar15)" ( (binary_expression "local_2c == *(int **)puVar15" identifier == (pointer_expression "*(int **)puVar15" * (cast_expression "(int **)puVar15" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar13;\n  }" { (return_statement "return iVar13;" return identifier ;) }))) (expression_statement "piVar2 = local_2c;" (assignment_expression "piVar2 = local_2c" identifier = identifier) ;) (expression_statement "puVar15 = PTR___stack_chk_fail_0004538c;" (assignment_expression "puVar15 = PTR___stack_chk_fail_0004538c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0004538c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0004538c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0004538c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0004538c" * (cast_expression "(code *)PTR___stack_chk_fail_0004538c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar13 = piVar4[1];" (assignment_expression "iVar13 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar13 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar14 = *(int *)(iVar5 + 4);" (assignment_expression "iVar14 = *(int *)(iVar5 + 4)" identifier = (pointer_expression "*(int *)(iVar5 + 4)" * (cast_expression "(int *)(iVar5 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar14 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar14 == 0)" ( (binary_expression "iVar14 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = piVar2[2];" (assignment_expression "iVar3 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (if_statement "if (*piVar2 < iVar13 + iVar14 + iVar7) {\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }" if (parenthesized_expression "(*piVar2 < iVar13 + iVar14 + iVar7)" ( (binary_expression "*piVar2 < iVar13 + iVar14 + iVar7" (pointer_expression "*piVar2" * identifier) < (binary_expression "iVar13 + iVar14 + iVar7" (binary_expression "iVar13 + iVar14" identifier + identifier) + identifier)) )) (compound_statement "{\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }" { (expression_statement "iVar11 = iVar13 + iVar14 + *piVar2;" (assignment_expression "iVar11 = iVar13 + iVar14 + *piVar2" identifier = (binary_expression "iVar13 + iVar14 + *piVar2" (binary_expression "iVar13 + iVar14" identifier + identifier) + (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);" (assignment_expression "iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4)" identifier = (call_expression "(**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4)" (parenthesized_expression "(**(code **)(puVar15 + 0x23fd4))" ( (pointer_expression "**(code **)(puVar15 + 0x23fd4)" * (pointer_expression "*(code **)(puVar15 + 0x23fd4)" * (cast_expression "(code **)(puVar15 + 0x23fd4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x23fd4)" ( (binary_expression "puVar15 + 0x23fd4" identifier + number_literal) ))))) )) (argument_list "(iVar3,iVar11 * 4)" ( identifier , (binary_expression "iVar11 * 4" identifier * number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      return 0xc;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0xc;\n    }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar13 = piVar4[1];" (assignment_expression "iVar13 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (expression_statement "iVar14 = *(int *)(iVar5 + 4);" (assignment_expression "iVar14 = *(int *)(iVar5 + 4)" identifier = (pointer_expression "*(int *)(iVar5 + 4)" * (cast_expression "(int *)(iVar5 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar2[2] = iVar3;" (assignment_expression "piVar2[2] = iVar3" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar2 = iVar11;" (assignment_expression "*piVar2 = iVar11" (pointer_expression "*piVar2" * identifier) = identifier) ;) })) (expression_statement "iVar10 = iVar13 + -1;" (assignment_expression "iVar10 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) (expression_statement "iVar12 = piVar4[2];" (assignment_expression "iVar12 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = iVar14 + -1;" (assignment_expression "iVar11 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ;) (expression_statement "iVar6 = *(int *)(iVar5 + 8);" (assignment_expression "iVar6 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(iVar12 + iVar10 * 4);" (assignment_expression "iVar9 = *(int *)(iVar12 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar12 + iVar10 * 4)" * (cast_expression "(int *)(iVar12 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + iVar10 * 4)" ( (binary_expression "iVar12 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar8 = iVar7 + -1;" (assignment_expression "iVar8 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar14 = iVar7 + iVar13 + iVar14;" (assignment_expression "iVar14 = iVar7 + iVar13 + iVar14" identifier = (binary_expression "iVar7 + iVar13 + iVar14" (binary_expression "iVar7 + iVar13" identifier + identifier) + identifier)) ;) (expression_statement "iVar13 = *(int *)(iVar6 + iVar11 * 4);" (assignment_expression "iVar13 = *(int *)(iVar6 + iVar11 * 4)" identifier = (pointer_expression "*(int *)(iVar6 + iVar11 * 4)" * (cast_expression "(int *)(iVar6 + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar11 * 4)" ( (binary_expression "iVar6 + iVar11 * 4" identifier + (binary_expression "iVar11 * 4" identifier * number_literal)) ))))) ;) (do_statement "do {\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  } while( true );" do (compound_statement "{\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  }" { (while_statement "while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }" while (parenthesized_expression "(iVar9 != iVar13)" ( (binary_expression "iVar9 != iVar13" identifier != identifier) )) (compound_statement "{\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }" { (if_statement "if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }" if (parenthesized_expression "(iVar9 < iVar13)" ( (binary_expression "iVar9 < iVar13" identifier < identifier) )) (compound_statement "{\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }" { (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (if_statement "if (iVar11 < 0) goto LAB_000214f8;" if (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) )) (goto_statement "goto LAB_000214f8;" goto statement_identifier ;)) (expression_statement "iVar13 = *(int *)(iVar6 + iVar11 * 4);" (assignment_expression "iVar13 = *(int *)(iVar6 + iVar11 * 4)" identifier = (pointer_expression "*(int *)(iVar6 + iVar11 * 4)" * (cast_expression "(int *)(iVar6 + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar11 * 4)" ( (binary_expression "iVar6 + iVar11 * 4" identifier + (binary_expression "iVar11 * 4" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }" else (compound_statement "{\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }" { (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if (iVar10 < 0) goto LAB_000214f8;" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (goto_statement "goto LAB_000214f8;" goto statement_identifier ;)) (expression_statement "iVar9 = *(int *)(iVar12 + iVar10 * 4);" (assignment_expression "iVar9 = *(int *)(iVar12 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar12 + iVar10 * 4)" * (cast_expression "(int *)(iVar12 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + iVar10 * 4)" ( (binary_expression "iVar12 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) }))) })) (if_statement "if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }" { (labeled_statement "LAB_0002148c:\n      iVar14 = iVar14 + -1;" statement_identifier : (expression_statement "iVar14 = iVar14 + -1;" (assignment_expression "iVar14 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ;)) (expression_statement "*(int *)(iVar3 + iVar14 * 4) = iVar9;" (assignment_expression "*(int *)(iVar3 + iVar14 * 4) = iVar9" (pointer_expression "*(int *)(iVar3 + iVar14 * 4)" * (cast_expression "(int *)(iVar3 + iVar14 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar14 * 4)" ( (binary_expression "iVar3 + iVar14 * 4" identifier + (binary_expression "iVar14 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }" else (compound_statement "{\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }" { (expression_statement "piVar1 = (int *)(iVar3 + iVar8 * 4);" (assignment_expression "piVar1 = (int *)(iVar3 + iVar8 * 4)" identifier = (cast_expression "(int *)(iVar3 + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar8 * 4)" ( (binary_expression "iVar3 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (while_statement "while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }" while (parenthesized_expression "(iVar9 < iVar13)" ( (binary_expression "iVar9 < iVar13" identifier < identifier) )) (compound_statement "{\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }" { (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "piVar1 = piVar1 + -1;" (assignment_expression "piVar1 = piVar1 + -1" identifier = (binary_expression "piVar1 + -1" identifier + number_literal)) ;) (if_statement "if (iVar8 == -1) goto LAB_0002148c;" if (parenthesized_expression "(iVar8 == -1)" ( (binary_expression "iVar8 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0002148c;" goto statement_identifier ;)) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) (if_statement "if (iVar13 != iVar9) goto LAB_0002148c;" if (parenthesized_expression "(iVar13 != iVar9)" ( (binary_expression "iVar13 != iVar9" identifier != identifier) )) (goto_statement "goto LAB_0002148c;" goto statement_identifier ;)) }))) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (if_statement "if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }" if (parenthesized_expression "((iVar10 < 0) || (iVar11 < 0))" ( (binary_expression "(iVar10 < 0) || (iVar11 < 0)" (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) ))) )) (compound_statement "{\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }" { (labeled_statement "LAB_000214f8:\n      iVar13 = piVar2[1];" statement_identifier : (expression_statement "iVar13 = piVar2[1];" (assignment_expression "iVar13 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;)) (expression_statement "iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);" (assignment_expression "iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4)" identifier = (binary_expression "iVar13 + piVar4[1] + *(int *)(iVar5 + 4)" (binary_expression "iVar13 + piVar4[1]" identifier + (subscript_expression "piVar4[1]" identifier [ number_literal ])) + (pointer_expression "*(int *)(iVar5 + 4)" * (cast_expression "(int *)(iVar5 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))))) ;) (expression_statement "iVar5 = iVar7 - iVar14;" (assignment_expression "iVar5 = iVar7 - iVar14" identifier = (binary_expression "iVar7 - iVar14" identifier - identifier)) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "piVar2[1] = iVar13 + iVar5;" (assignment_expression "piVar2[1] = iVar13 + iVar5" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = (binary_expression "iVar13 + iVar5" identifier + identifier)) ;) (if_statement "if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }" { (expression_statement "iVar13 = iVar13 + -1;" (assignment_expression "iVar13 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar7 * 4;" (assignment_expression "iVar11 = iVar7 * 4" identifier = (binary_expression "iVar7 * 4" identifier * number_literal)) ;) (if_statement "if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }" if (parenthesized_expression "(-1 < iVar13)" ( (binary_expression "-1 < iVar13" number_literal < identifier) )) (compound_statement "{\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }" { (do_statement "do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);" do (compound_statement "{\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          }" { (expression_statement "iVar6 = *(int *)(iVar3 + iVar11);" (assignment_expression "iVar6 = *(int *)(iVar3 + iVar11)" identifier = (pointer_expression "*(int *)(iVar3 + iVar11)" * (cast_expression "(int *)(iVar3 + iVar11)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar11)" ( (binary_expression "iVar3 + iVar11" identifier + identifier) ))))) ;) (expression_statement "iVar8 = *(int *)(iVar3 + iVar13 * 4);" (assignment_expression "iVar8 = *(int *)(iVar3 + iVar13 * 4)" identifier = (pointer_expression "*(int *)(iVar3 + iVar13 * 4)" * (cast_expression "(int *)(iVar3 + iVar13 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar13 * 4)" ( (binary_expression "iVar3 + iVar13 * 4" identifier + (binary_expression "iVar13 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);" (assignment_expression "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4)" identifier = (cast_expression "(int *)(iVar3 + (iVar13 + iVar5) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + (iVar13 + iVar5) * 4)" ( (binary_expression "iVar3 + (iVar13 + iVar5) * 4" identifier + (binary_expression "(iVar13 + iVar5) * 4" (parenthesized_expression "(iVar13 + iVar5)" ( (binary_expression "iVar13 + iVar5" identifier + identifier) )) * number_literal)) )))) ;) (if_statement "if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }" if (parenthesized_expression "(iVar8 < iVar6)" ( (binary_expression "iVar8 < iVar6" identifier < identifier) )) (compound_statement "{\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }" { (do_statement "do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);" do (compound_statement "{\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              }" { (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "*piVar4 = iVar6;" (assignment_expression "*piVar4 = iVar6" (pointer_expression "*piVar4" * identifier) = identifier) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (if_statement "if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }" { (expression_statement "iVar3 = piVar2[2];" (assignment_expression "iVar3 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000215ac;" goto statement_identifier ;) })) (expression_statement "iVar11 = iVar7 * 4;" (assignment_expression "iVar11 = iVar7 * 4" identifier = (binary_expression "iVar7 * 4" identifier * number_literal)) ;) (expression_statement "iVar8 = *(int *)(iVar3 + iVar13 * 4);" (assignment_expression "iVar8 = *(int *)(iVar3 + iVar13 * 4)" identifier = (pointer_expression "*(int *)(iVar3 + iVar13 * 4)" * (cast_expression "(int *)(iVar3 + iVar13 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar13 * 4)" ( (binary_expression "iVar3 + iVar13 * 4" identifier + (binary_expression "iVar13 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar6 = *(int *)(iVar3 + iVar11);" (assignment_expression "iVar6 = *(int *)(iVar3 + iVar11)" identifier = (pointer_expression "*(int *)(iVar3 + iVar11)" * (cast_expression "(int *)(iVar3 + iVar11)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar11)" ( (binary_expression "iVar3 + iVar11" identifier + identifier) ))))) ;) (expression_statement "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);" (assignment_expression "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4)" identifier = (cast_expression "(int *)(iVar3 + (iVar13 + iVar5) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + (iVar13 + iVar5) * 4)" ( (binary_expression "iVar3 + (iVar13 + iVar5) * 4" identifier + (binary_expression "(iVar13 + iVar5) * 4" (parenthesized_expression "(iVar13 + iVar5)" ( (binary_expression "iVar13 + iVar5" identifier + identifier) )) * number_literal)) )))) ;) }) while (parenthesized_expression "(iVar8 < iVar6)" ( (binary_expression "iVar8 < iVar6" identifier < identifier) )) ;) })) (expression_statement "iVar13 = iVar13 + -1;" (assignment_expression "iVar13 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) (expression_statement "*piVar4 = iVar8;" (assignment_expression "*piVar4 = iVar8" (pointer_expression "*piVar4" * identifier) = identifier) ;) }) while (parenthesized_expression "(iVar13 != -1)" ( (binary_expression "iVar13 != -1" identifier != number_literal) )) ;) (expression_statement "iVar3 = piVar2[2];" (assignment_expression "iVar3 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) })) })) (expression_statement "iVar5 = iVar5 << 2;" (assignment_expression "iVar5 = iVar5 << 2" identifier = (binary_expression "iVar5 << 2" identifier << number_literal)) ;) (labeled_statement "LAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);" statement_identifier : (expression_statement "(**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);" (call_expression "(**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5)" (parenthesized_expression "(**(code **)(puVar15 + 0x24030))" ( (pointer_expression "**(code **)(puVar15 + 0x24030)" * (pointer_expression "*(code **)(puVar15 + 0x24030)" * (cast_expression "(code **)(puVar15 + 0x24030)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar15 + 0x24030)" ( (binary_expression "puVar15 + 0x24030" identifier + number_literal) ))))) )) (argument_list "(iVar3,iVar3 + iVar14 * 4,iVar5)" ( identifier , (binary_expression "iVar3 + iVar14 * 4" identifier + (binary_expression "iVar14 * 4" identifier * number_literal)) , identifier ))) ;)) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar9 = *(int *)(iVar12 + iVar10 * 4);" (assignment_expression "iVar9 = *(int *)(iVar12 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar12 + iVar10 * 4)" * (cast_expression "(int *)(iVar12 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + iVar10 * 4)" ( (binary_expression "iVar12 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar6 + iVar11 * 4);" (assignment_expression "iVar13 = *(int *)(iVar6 + iVar11 * 4)" identifier = (pointer_expression "*(int *)(iVar6 + iVar11 * 4)" * (cast_expression "(int *)(iVar6 + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar11 * 4)" ( (binary_expression "iVar6 + iVar11 * 4" identifier + (binary_expression "iVar11 * 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 IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 = 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 * (abstract_pointer_declarator *))) ) 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 * (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 { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (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 *)) ) (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 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 == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) && (parenthesized_expression ( (binary_expression IDENT == (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 == (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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 = (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 ])) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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_00021188(int *param_1,int *param_2,int param_3,uint param_4)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_000453ac;\n  local_34 = 0;\n  iVar13 = param_2[1];\n  local_2c = *(int **)PTR___stack_chk_guard_000453ac;\n  piVar4 = param_2;\n  iVar5 = param_3;\n  local_38 = iVar13;\n  local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);\n  if (local_30 == 0) {\n    iVar13 = 0xc;\n  }\n  else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }\nLAB_0002132c:\n  if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }\n  piVar2 = local_2c;\n  puVar15 = PTR___stack_chk_fail_0004538c;\n  (*(code *)PTR___stack_chk_fail_0004538c)();\n  iVar13 = piVar4[1];\n  if (iVar13 == 0) {\n    return 0;\n  }\n  iVar14 = *(int *)(iVar5 + 4);\n  if (iVar14 == 0) {\n    return 0;\n  }\n  iVar7 = piVar2[1];\n  iVar3 = piVar2[2];\n  if (*piVar2 < iVar13 + iVar14 + iVar7) {\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }\n  iVar10 = iVar13 + -1;\n  iVar12 = piVar4[2];\n  iVar11 = iVar14 + -1;\n  iVar6 = *(int *)(iVar5 + 8);\n  iVar9 = *(int *)(iVar12 + iVar10 * 4);\n  iVar8 = iVar7 + -1;\n  iVar14 = iVar7 + iVar13 + iVar14;\n  iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  do {\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  } while( true );\n}" (primitive_type "int") (function_declarator "FUN_00021188(int *param_1,int *param_2,int param_3,uint param_4)" (identifier "FUN_00021188") (parameter_list "(int *param_1,int *param_2,int param_3,uint 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") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  undefined *puVar15;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar15 = PTR___stack_chk_guard_000453ac;\n  local_34 = 0;\n  iVar13 = param_2[1];\n  local_2c = *(int **)PTR___stack_chk_guard_000453ac;\n  piVar4 = param_2;\n  iVar5 = param_3;\n  local_38 = iVar13;\n  local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);\n  if (local_30 == 0) {\n    iVar13 = 0xc;\n  }\n  else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }\nLAB_0002132c:\n  if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }\n  piVar2 = local_2c;\n  puVar15 = PTR___stack_chk_fail_0004538c;\n  (*(code *)PTR___stack_chk_fail_0004538c)();\n  iVar13 = piVar4[1];\n  if (iVar13 == 0) {\n    return 0;\n  }\n  iVar14 = *(int *)(iVar5 + 4);\n  if (iVar14 == 0) {\n    return 0;\n  }\n  iVar7 = piVar2[1];\n  iVar3 = piVar2[2];\n  if (*piVar2 < iVar13 + iVar14 + iVar7) {\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }\n  iVar10 = iVar13 + -1;\n  iVar12 = piVar4[2];\n  iVar11 = iVar14 + -1;\n  iVar6 = *(int *)(iVar5 + 8);\n  iVar9 = *(int *)(iVar12 + iVar10 * 4);\n  iVar8 = iVar7 + -1;\n  iVar14 = iVar7 + iVar13 + iVar14;\n  iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  do {\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  } while( true );\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "undefined *puVar15;" (type_identifier "undefined") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (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 "puVar15 = PTR___stack_chk_guard_000453ac;" (assignment_expression "puVar15 = PTR___stack_chk_guard_000453ac" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_guard_000453ac")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar13 = param_2[1];" (assignment_expression "iVar13 = param_2[1]" (identifier "iVar13") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_000453ac;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_000453ac" (identifier "local_2c") (= "=") (pointer_expression "*(int **)PTR___stack_chk_guard_000453ac" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_000453ac" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_000453ac")))) (; ";")) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" (identifier "piVar4") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar5 = param_3;" (assignment_expression "iVar5 = param_3" (identifier "iVar5") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_38 = iVar13;" (assignment_expression "local_38 = iVar13" (identifier "local_38") (= "=") (identifier "iVar13")) (; ";")) (expression_statement "local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);" (assignment_expression "local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2)" (identifier "local_30") (= "=") (call_expression "(*(code *)PTR_malloc_00045350)(iVar13 << 2)" (parenthesized_expression "(*(code *)PTR_malloc_00045350)" (( "(") (pointer_expression "*(code *)PTR_malloc_00045350" (* "*") (cast_expression "(code *)PTR_malloc_00045350" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_00045350"))) () ")")) (argument_list "(iVar13 << 2)" (( "(") (binary_expression "iVar13 << 2" (identifier "iVar13") (<< "<<") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (local_30 == 0) {\n    iVar13 = 0xc;\n  }\n  else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar13 = 0xc;\n  }" ({ "{") (expression_statement "iVar13 = 0xc;" (assignment_expression "iVar13 = 0xc" (identifier "iVar13") (= "=") (number_literal "0xc")) (; ";")) (} "}")) (else_clause "else {\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }" (else "else") (compound_statement "{\n    if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }\n    (*(code *)PTR_free_000453bc)(param_2[2]);\n    iVar13 = 0;\n    *param_2 = local_38;\n    param_2[1] = local_34;\n    param_2[2] = local_30;\n  }" ({ "{") (if_statement "if (0 < iVar13) {\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }" (if "if") (parenthesized_expression "(0 < iVar13)" (( "(") (binary_expression "0 < iVar13" (number_literal "0") (< "<") (identifier "iVar13")) () ")")) (compound_statement "{\n      iVar14 = 0;\n      do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);\n    }" ({ "{") (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" (identifier "iVar14") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      } while (iVar14 < param_2[1]);" (do "do") (compound_statement "{\n        iVar5 = *(int *)(param_2[2] + iVar14 * 4);\n        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);\n        iVar13 = 0;\n        if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }\n        iVar13 = FUN_00020bec(&local_38);\njoined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }\n        iVar14 = iVar14 + 1;\n      }" ({ "{") (expression_statement "iVar5 = *(int *)(param_2[2] + iVar14 * 4);" (assignment_expression "iVar5 = *(int *)(param_2[2] + iVar14 * 4)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(param_2[2] + iVar14 * 4)" (* "*") (cast_expression "(int *)(param_2[2] + iVar14 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[2] + iVar14 * 4)" (( "(") (binary_expression "param_2[2] + iVar14 * 4" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar14 * 4" (identifier "iVar14") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "piVar4 = (int *)(param_1[6] + iVar5 * 0xc);" (assignment_expression "piVar4 = (int *)(param_1[6] + iVar5 * 0xc)" (identifier "piVar4") (= "=") (cast_expression "(int *)(param_1[6] + iVar5 * 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[6] + iVar5 * 0xc)" (( "(") (binary_expression "param_1[6] + iVar5 * 0xc" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (+ "+") (binary_expression "iVar5 * 0xc" (identifier "iVar5") (* "*") (number_literal "0xc"))) () ")")))) (; ";")) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < piVar4[1]) {\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }" (if "if") (parenthesized_expression "(0 < piVar4[1])" (( "(") (binary_expression "0 < piVar4[1]" (number_literal "0") (< "<") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]"))) () ")")) (compound_statement "{\n          piVar2 = (int *)piVar4[2];\n          do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);\n        }" ({ "{") (expression_statement "piVar2 = (int *)piVar4[2];" (assignment_expression "piVar2 = (int *)piVar4[2]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar4[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")))) (; ";")) (do_statement "do {\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          } while (piVar4[1] != iVar13);" (do "do") (compound_statement "{\n            piVar1 = (int *)(*param_1 + *piVar2 * 8);\n            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }\n            iVar13 = iVar13 + 1;\n            piVar2 = piVar2 + 1;\n          }" ({ "{") (expression_statement "piVar1 = (int *)(*param_1 + *piVar2 * 8);" (assignment_expression "piVar1 = (int *)(*param_1 + *piVar2 * 8)" (identifier "piVar1") (= "=") (cast_expression "(int *)(*param_1 + *piVar2 * 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + *piVar2 * 8)" (( "(") (binary_expression "*param_1 + *piVar2 * 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (binary_expression "*piVar2 * 8" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }" (if "if") (parenthesized_expression "((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1))" (( "(") (binary_expression "(param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)" (parenthesized_expression "(param_4 == *(byte *)(piVar1 + 1))" (( "(") (binary_expression "param_4 == *(byte *)(piVar1 + 1)" (identifier "param_4") (== "==") (pointer_expression "*(byte *)(piVar1 + 1)" (* "*") (cast_expression "(byte *)(piVar1 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar1 + 1)" (( "(") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(param_3 == *piVar1)" (( "(") (binary_expression "param_3 == *piVar1" (identifier "param_3") (== "==") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")"))) () ")")) (compound_statement "{\n              if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }\n              break;\n            }" ({ "{") (if_statement "if (*piVar2 != -1) {\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }" (if "if") (parenthesized_expression "(*piVar2 != -1)" (( "(") (binary_expression "*piVar2 != -1" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n                piVar4 = &local_38;\n                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);\n                goto joined_r0x000212b8;\n              }" ({ "{") (expression_statement "piVar4 = &local_38;" (assignment_expression "piVar4 = &local_38" (identifier "piVar4") (= "=") (pointer_expression "&local_38" (& "&") (identifier "local_38"))) (; ";")) (expression_statement "iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);" (assignment_expression "iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4)" (identifier "iVar13") (= "=") (call_expression "FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4)" (identifier "FUN_0002051c") (argument_list "(param_1,&local_38,iVar5,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "iVar5") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (goto_statement "goto joined_r0x000212b8;" (goto "goto") (statement_identifier "joined_r0x000212b8") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar4[1] != iVar13)" (( "(") (binary_expression "piVar4[1] != iVar13" (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) (!= "!=") (identifier "iVar13")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar13 = FUN_00020bec(&local_38);" (assignment_expression "iVar13 = FUN_00020bec(&local_38)" (identifier "iVar13") (= "=") (call_expression "FUN_00020bec(&local_38)" (identifier "FUN_00020bec") (argument_list "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")))) (; ";")) (labeled_statement "joined_r0x000212b8:\n        if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }" (statement_identifier "joined_r0x000212b8") (: ":") (if_statement "if (iVar13 != 0) {\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }" (if "if") (parenthesized_expression "(iVar13 != 0)" (( "(") (binary_expression "iVar13 != 0" (identifier "iVar13") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_free_000453bc)(local_30);\n          goto LAB_0002132c;\n        }" ({ "{") (expression_statement "(*(code *)PTR_free_000453bc)(local_30);" (call_expression "(*(code *)PTR_free_000453bc)(local_30)" (parenthesized_expression "(*(code *)PTR_free_000453bc)" (( "(") (pointer_expression "*(code *)PTR_free_000453bc" (* "*") (cast_expression "(code *)PTR_free_000453bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000453bc"))) () ")")) (argument_list "(local_30)" (( "(") (identifier "local_30") () ")"))) (; ";")) (goto_statement "goto LAB_0002132c;" (goto "goto") (statement_identifier "LAB_0002132c") (; ";")) (} "}")))) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" (identifier "iVar14") (= "=") (binary_expression "iVar14 + 1" (identifier "iVar14") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar14 < param_2[1])" (( "(") (binary_expression "iVar14 < param_2[1]" (identifier "iVar14") (< "<") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) () ")")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_000453bc)(param_2[2]);" (call_expression "(*(code *)PTR_free_000453bc)(param_2[2])" (parenthesized_expression "(*(code *)PTR_free_000453bc)" (( "(") (pointer_expression "*(code *)PTR_free_000453bc" (* "*") (cast_expression "(code *)PTR_free_000453bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000453bc"))) () ")")) (argument_list "(param_2[2])" (( "(") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_2 = local_38;" (assignment_expression "*param_2 = local_38" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "local_38")) (; ";")) (expression_statement "param_2[1] = local_34;" (assignment_expression "param_2[1] = local_34" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_34")) (; ";")) (expression_statement "param_2[2] = local_30;" (assignment_expression "param_2[2] = local_30" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_30")) (; ";")) (} "}")))) (labeled_statement "LAB_0002132c:\n  if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }" (statement_identifier "LAB_0002132c") (: ":") (if_statement "if (local_2c == *(int **)puVar15) {\n    return iVar13;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int **)puVar15)" (( "(") (binary_expression "local_2c == *(int **)puVar15" (identifier "local_2c") (== "==") (pointer_expression "*(int **)puVar15" (* "*") (cast_expression "(int **)puVar15" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar15")))) () ")")) (compound_statement "{\n    return iVar13;\n  }" ({ "{") (return_statement "return iVar13;" (return "return") (identifier "iVar13") (; ";")) (} "}")))) (expression_statement "piVar2 = local_2c;" (assignment_expression "piVar2 = local_2c" (identifier "piVar2") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar15 = PTR___stack_chk_fail_0004538c;" (assignment_expression "puVar15 = PTR___stack_chk_fail_0004538c" (identifier "puVar15") (= "=") (identifier "PTR___stack_chk_fail_0004538c")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0004538c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0004538c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0004538c)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0004538c" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0004538c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0004538c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar13 = piVar4[1];" (assignment_expression "iVar13 = piVar4[1]" (identifier "iVar13") (= "=") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (iVar13 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar13 == 0)" (( "(") (binary_expression "iVar13 == 0" (identifier "iVar13") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar14 = *(int *)(iVar5 + 4);" (assignment_expression "iVar14 = *(int *)(iVar5 + 4)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(iVar5 + 4)" (* "*") (cast_expression "(int *)(iVar5 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 4)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar14 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar14 == 0)" (( "(") (binary_expression "iVar14 == 0" (identifier "iVar14") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" (identifier "iVar7") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar3 = piVar2[2];" (assignment_expression "iVar3 = piVar2[2]" (identifier "iVar3") (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (*piVar2 < iVar13 + iVar14 + iVar7) {\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }" (if "if") (parenthesized_expression "(*piVar2 < iVar13 + iVar14 + iVar7)" (( "(") (binary_expression "*piVar2 < iVar13 + iVar14 + iVar7" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (< "<") (binary_expression "iVar13 + iVar14 + iVar7" (binary_expression "iVar13 + iVar14" (identifier "iVar13") (+ "+") (identifier "iVar14")) (+ "+") (identifier "iVar7"))) () ")")) (compound_statement "{\n    iVar11 = iVar13 + iVar14 + *piVar2;\n    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);\n    if (iVar3 == 0) {\n      return 0xc;\n    }\n    iVar13 = piVar4[1];\n    iVar14 = *(int *)(iVar5 + 4);\n    iVar7 = piVar2[1];\n    piVar2[2] = iVar3;\n    *piVar2 = iVar11;\n  }" ({ "{") (expression_statement "iVar11 = iVar13 + iVar14 + *piVar2;" (assignment_expression "iVar11 = iVar13 + iVar14 + *piVar2" (identifier "iVar11") (= "=") (binary_expression "iVar13 + iVar14 + *piVar2" (binary_expression "iVar13 + iVar14" (identifier "iVar13") (+ "+") (identifier "iVar14")) (+ "+") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (expression_statement "iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);" (assignment_expression "iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4)" (identifier "iVar3") (= "=") (call_expression "(**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4)" (parenthesized_expression "(**(code **)(puVar15 + 0x23fd4))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x23fd4)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x23fd4)" (* "*") (cast_expression "(code **)(puVar15 + 0x23fd4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x23fd4)" (( "(") (binary_expression "puVar15 + 0x23fd4" (identifier "puVar15") (+ "+") (number_literal "0x23fd4")) () ")"))))) () ")")) (argument_list "(iVar3,iVar11 * 4)" (( "(") (identifier "iVar3") (, ",") (binary_expression "iVar11 * 4" (identifier "iVar11") (* "*") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      return 0xc;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0xc;\n    }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (expression_statement "iVar13 = piVar4[1];" (assignment_expression "iVar13 = piVar4[1]" (identifier "iVar13") (= "=") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar14 = *(int *)(iVar5 + 4);" (assignment_expression "iVar14 = *(int *)(iVar5 + 4)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(iVar5 + 4)" (* "*") (cast_expression "(int *)(iVar5 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 4)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" (identifier "iVar7") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar2[2] = iVar3;" (assignment_expression "piVar2[2] = iVar3" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*piVar2 = iVar11;" (assignment_expression "*piVar2 = iVar11" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar11")) (; ";")) (} "}"))) (expression_statement "iVar10 = iVar13 + -1;" (assignment_expression "iVar10 = iVar13 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar13 + -1" (identifier "iVar13") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar12 = piVar4[2];" (assignment_expression "iVar12 = piVar4[2]" (identifier "iVar12") (= "=") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar11 = iVar14 + -1;" (assignment_expression "iVar11 = iVar14 + -1" (identifier "iVar11") (= "=") (binary_expression "iVar14 + -1" (identifier "iVar14") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar6 = *(int *)(iVar5 + 8);" (assignment_expression "iVar6 = *(int *)(iVar5 + 8)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar5 + 8)" (* "*") (cast_expression "(int *)(iVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar9 = *(int *)(iVar12 + iVar10 * 4);" (assignment_expression "iVar9 = *(int *)(iVar12 + iVar10 * 4)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar12 + iVar10 * 4)" (* "*") (cast_expression "(int *)(iVar12 + iVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + iVar10 * 4)" (( "(") (binary_expression "iVar12 + iVar10 * 4" (identifier "iVar12") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar8 = iVar7 + -1;" (assignment_expression "iVar8 = iVar7 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar14 = iVar7 + iVar13 + iVar14;" (assignment_expression "iVar14 = iVar7 + iVar13 + iVar14" (identifier "iVar14") (= "=") (binary_expression "iVar7 + iVar13 + iVar14" (binary_expression "iVar7 + iVar13" (identifier "iVar7") (+ "+") (identifier "iVar13")) (+ "+") (identifier "iVar14"))) (; ";")) (expression_statement "iVar13 = *(int *)(iVar6 + iVar11 * 4);" (assignment_expression "iVar13 = *(int *)(iVar6 + iVar11 * 4)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(iVar6 + iVar11 * 4)" (* "*") (cast_expression "(int *)(iVar6 + iVar11 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar11 * 4)" (( "(") (binary_expression "iVar6 + iVar11 * 4" (identifier "iVar6") (+ "+") (binary_expression "iVar11 * 4" (identifier "iVar11") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (do_statement "do {\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  } while( true );" (do "do") (compound_statement "{\n    while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }\n    if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }\n    iVar10 = iVar10 + -1;\n    iVar11 = iVar11 + -1;\n    if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }\n    iVar9 = *(int *)(iVar12 + iVar10 * 4);\n    iVar13 = *(int *)(iVar6 + iVar11 * 4);\n  }" ({ "{") (while_statement "while (iVar9 != iVar13) {\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }" (while "while") (parenthesized_expression "(iVar9 != iVar13)" (( "(") (binary_expression "iVar9 != iVar13" (identifier "iVar9") (!= "!=") (identifier "iVar13")) () ")")) (compound_statement "{\n      if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }\n    }" ({ "{") (if_statement "if (iVar9 < iVar13) {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }\n      else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }" (if "if") (parenthesized_expression "(iVar9 < iVar13)" (( "(") (binary_expression "iVar9 < iVar13" (identifier "iVar9") (< "<") (identifier "iVar13")) () ")")) (compound_statement "{\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_000214f8;\n        iVar13 = *(int *)(iVar6 + iVar11 * 4);\n      }" ({ "{") (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + -1" (identifier "iVar11") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar11 < 0) goto LAB_000214f8;" (if "if") (parenthesized_expression "(iVar11 < 0)" (( "(") (binary_expression "iVar11 < 0" (identifier "iVar11") (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_000214f8;" (goto "goto") (statement_identifier "LAB_000214f8") (; ";"))) (expression_statement "iVar13 = *(int *)(iVar6 + iVar11 * 4);" (assignment_expression "iVar13 = *(int *)(iVar6 + iVar11 * 4)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(iVar6 + iVar11 * 4)" (* "*") (cast_expression "(int *)(iVar6 + iVar11 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar11 * 4)" (( "(") (binary_expression "iVar6 + iVar11 * 4" (identifier "iVar6") (+ "+") (binary_expression "iVar11 * 4" (identifier "iVar11") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }" (else "else") (compound_statement "{\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_000214f8;\n        iVar9 = *(int *)(iVar12 + iVar10 * 4);\n      }" ({ "{") (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar10 < 0) goto LAB_000214f8;" (if "if") (parenthesized_expression "(iVar10 < 0)" (( "(") (binary_expression "iVar10 < 0" (identifier "iVar10") (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_000214f8;" (goto "goto") (statement_identifier "LAB_000214f8") (; ";"))) (expression_statement "iVar9 = *(int *)(iVar12 + iVar10 * 4);" (assignment_expression "iVar9 = *(int *)(iVar12 + iVar10 * 4)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar12 + iVar10 * 4)" (* "*") (cast_expression "(int *)(iVar12 + iVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + iVar10 * 4)" (( "(") (binary_expression "iVar12 + iVar10 * 4" (identifier "iVar12") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}")))) (} "}"))) (if_statement "if (iVar8 < 0) {\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }\n    else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }" (if "if") (parenthesized_expression "(iVar8 < 0)" (( "(") (binary_expression "iVar8 < 0" (identifier "iVar8") (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0002148c:\n      iVar14 = iVar14 + -1;\n      *(int *)(iVar3 + iVar14 * 4) = iVar9;\n    }" ({ "{") (labeled_statement "LAB_0002148c:\n      iVar14 = iVar14 + -1;" (statement_identifier "LAB_0002148c") (: ":") (expression_statement "iVar14 = iVar14 + -1;" (assignment_expression "iVar14 = iVar14 + -1" (identifier "iVar14") (= "=") (binary_expression "iVar14 + -1" (identifier "iVar14") (+ "+") (number_literal "-1"))) (; ";"))) (expression_statement "*(int *)(iVar3 + iVar14 * 4) = iVar9;" (assignment_expression "*(int *)(iVar3 + iVar14 * 4) = iVar9" (pointer_expression "*(int *)(iVar3 + iVar14 * 4)" (* "*") (cast_expression "(int *)(iVar3 + iVar14 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar14 * 4)" (( "(") (binary_expression "iVar3 + iVar14 * 4" (identifier "iVar3") (+ "+") (binary_expression "iVar14 * 4" (identifier "iVar14") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar9")) (; ";")) (} "}")) (else_clause "else {\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }" (else "else") (compound_statement "{\n      piVar1 = (int *)(iVar3 + iVar8 * 4);\n      iVar13 = *piVar1;\n      while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }\n      if (iVar13 != iVar9) goto LAB_0002148c;\n    }" ({ "{") (expression_statement "piVar1 = (int *)(iVar3 + iVar8 * 4);" (assignment_expression "piVar1 = (int *)(iVar3 + iVar8 * 4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(iVar3 + iVar8 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar8 * 4)" (( "(") (binary_expression "iVar3 + iVar8 * 4" (identifier "iVar3") (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" (identifier "iVar13") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (while_statement "while (iVar9 < iVar13) {\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }" (while "while") (parenthesized_expression "(iVar9 < iVar13)" (( "(") (binary_expression "iVar9 < iVar13" (identifier "iVar9") (< "<") (identifier "iVar13")) () ")")) (compound_statement "{\n        iVar8 = iVar8 + -1;\n        piVar1 = piVar1 + -1;\n        if (iVar8 == -1) goto LAB_0002148c;\n        iVar13 = *piVar1;\n      }" ({ "{") (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "piVar1 = piVar1 + -1;" (assignment_expression "piVar1 = piVar1 + -1" (identifier "piVar1") (= "=") (binary_expression "piVar1 + -1" (identifier "piVar1") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar8 == -1) goto LAB_0002148c;" (if "if") (parenthesized_expression "(iVar8 == -1)" (( "(") (binary_expression "iVar8 == -1" (identifier "iVar8") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0002148c;" (goto "goto") (statement_identifier "LAB_0002148c") (; ";"))) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" (identifier "iVar13") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (} "}"))) (if_statement "if (iVar13 != iVar9) goto LAB_0002148c;" (if "if") (parenthesized_expression "(iVar13 != iVar9)" (( "(") (binary_expression "iVar13 != iVar9" (identifier "iVar13") (!= "!=") (identifier "iVar9")) () ")")) (goto_statement "goto LAB_0002148c;" (goto "goto") (statement_identifier "LAB_0002148c") (; ";"))) (} "}")))) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + -1" (identifier "iVar11") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if ((iVar10 < 0) || (iVar11 < 0)) {\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }" (if "if") (parenthesized_expression "((iVar10 < 0) || (iVar11 < 0))" (( "(") (binary_expression "(iVar10 < 0) || (iVar11 < 0)" (parenthesized_expression "(iVar10 < 0)" (( "(") (binary_expression "iVar10 < 0" (identifier "iVar10") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar11 < 0)" (( "(") (binary_expression "iVar11 < 0" (identifier "iVar11") (< "<") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_000214f8:\n      iVar13 = piVar2[1];\n      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);\n      iVar5 = iVar7 - iVar14;\n      iVar7 = iVar7 + -1;\n      piVar2[1] = iVar13 + iVar5;\n      if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }\n      iVar5 = iVar5 << 2;\nLAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);\n      return 0;\n    }" ({ "{") (labeled_statement "LAB_000214f8:\n      iVar13 = piVar2[1];" (statement_identifier "LAB_000214f8") (: ":") (expression_statement "iVar13 = piVar2[1];" (assignment_expression "iVar13 = piVar2[1]" (identifier "iVar13") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (expression_statement "iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);" (assignment_expression "iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4)" (identifier "iVar7") (= "=") (binary_expression "iVar13 + piVar4[1] + *(int *)(iVar5 + 4)" (binary_expression "iVar13 + piVar4[1]" (identifier "iVar13") (+ "+") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]"))) (+ "+") (pointer_expression "*(int *)(iVar5 + 4)" (* "*") (cast_expression "(int *)(iVar5 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 4)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "iVar5 = iVar7 - iVar14;" (assignment_expression "iVar5 = iVar7 - iVar14" (identifier "iVar5") (= "=") (binary_expression "iVar7 - iVar14" (identifier "iVar7") (- "-") (identifier "iVar14"))) (; ";")) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "piVar2[1] = iVar13 + iVar5;" (assignment_expression "piVar2[1] = iVar13 + iVar5" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar13 + iVar5" (identifier "iVar13") (+ "+") (identifier "iVar5"))) (; ";")) (if_statement "if (0 < iVar5) {\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n        iVar13 = iVar13 + -1;\n        iVar11 = iVar7 * 4;\n        if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }\n      }" ({ "{") (expression_statement "iVar13 = iVar13 + -1;" (assignment_expression "iVar13 = iVar13 + -1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + -1" (identifier "iVar13") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar11 = iVar7 * 4;" (assignment_expression "iVar11 = iVar7 * 4" (identifier "iVar11") (= "=") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) (; ";")) (if_statement "if (-1 < iVar13) {\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }" (if "if") (parenthesized_expression "(-1 < iVar13)" (( "(") (binary_expression "-1 < iVar13" (number_literal "-1") (< "<") (identifier "iVar13")) () ")")) (compound_statement "{\n          do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);\n          iVar3 = piVar2[2];\n        }" ({ "{") (do_statement "do {\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          } while (iVar13 != -1);" (do "do") (compound_statement "{\n            iVar6 = *(int *)(iVar3 + iVar11);\n            iVar8 = *(int *)(iVar3 + iVar13 * 4);\n            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n            if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }\n            iVar13 = iVar13 + -1;\n            *piVar4 = iVar8;\n          }" ({ "{") (expression_statement "iVar6 = *(int *)(iVar3 + iVar11);" (assignment_expression "iVar6 = *(int *)(iVar3 + iVar11)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar3 + iVar11)" (* "*") (cast_expression "(int *)(iVar3 + iVar11)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar11)" (( "(") (binary_expression "iVar3 + iVar11" (identifier "iVar3") (+ "+") (identifier "iVar11")) () ")"))))) (; ";")) (expression_statement "iVar8 = *(int *)(iVar3 + iVar13 * 4);" (assignment_expression "iVar8 = *(int *)(iVar3 + iVar13 * 4)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar3 + iVar13 * 4)" (* "*") (cast_expression "(int *)(iVar3 + iVar13 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar13 * 4)" (( "(") (binary_expression "iVar3 + iVar13 * 4" (identifier "iVar3") (+ "+") (binary_expression "iVar13 * 4" (identifier "iVar13") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);" (assignment_expression "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4)" (identifier "piVar4") (= "=") (cast_expression "(int *)(iVar3 + (iVar13 + iVar5) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + (iVar13 + iVar5) * 4)" (( "(") (binary_expression "iVar3 + (iVar13 + iVar5) * 4" (identifier "iVar3") (+ "+") (binary_expression "(iVar13 + iVar5) * 4" (parenthesized_expression "(iVar13 + iVar5)" (( "(") (binary_expression "iVar13 + iVar5" (identifier "iVar13") (+ "+") (identifier "iVar5")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (iVar8 < iVar6) {\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }" (if "if") (parenthesized_expression "(iVar8 < iVar6)" (( "(") (binary_expression "iVar8 < iVar6" (identifier "iVar8") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n              do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);\n            }" ({ "{") (do_statement "do {\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              } while (iVar8 < iVar6);" (do "do") (compound_statement "{\n                iVar5 = iVar5 + -1;\n                *piVar4 = iVar6;\n                iVar7 = iVar7 + -1;\n                if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }\n                iVar11 = iVar7 * 4;\n                iVar8 = *(int *)(iVar3 + iVar13 * 4);\n                iVar6 = *(int *)(iVar3 + iVar11);\n                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);\n              }" ({ "{") (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*piVar4 = iVar6;" (assignment_expression "*piVar4 = iVar6" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar5 == 0) {\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  iVar3 = piVar2[2];\n                  iVar5 = 0;\n                  goto LAB_000215ac;\n                }" ({ "{") (expression_statement "iVar3 = piVar2[2];" (assignment_expression "iVar3 = piVar2[2]" (identifier "iVar3") (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000215ac;" (goto "goto") (statement_identifier "LAB_000215ac") (; ";")) (} "}"))) (expression_statement "iVar11 = iVar7 * 4;" (assignment_expression "iVar11 = iVar7 * 4" (identifier "iVar11") (= "=") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar8 = *(int *)(iVar3 + iVar13 * 4);" (assignment_expression "iVar8 = *(int *)(iVar3 + iVar13 * 4)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar3 + iVar13 * 4)" (* "*") (cast_expression "(int *)(iVar3 + iVar13 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar13 * 4)" (( "(") (binary_expression "iVar3 + iVar13 * 4" (identifier "iVar3") (+ "+") (binary_expression "iVar13 * 4" (identifier "iVar13") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar6 = *(int *)(iVar3 + iVar11);" (assignment_expression "iVar6 = *(int *)(iVar3 + iVar11)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar3 + iVar11)" (* "*") (cast_expression "(int *)(iVar3 + iVar11)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar11)" (( "(") (binary_expression "iVar3 + iVar11" (identifier "iVar3") (+ "+") (identifier "iVar11")) () ")"))))) (; ";")) (expression_statement "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);" (assignment_expression "piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4)" (identifier "piVar4") (= "=") (cast_expression "(int *)(iVar3 + (iVar13 + iVar5) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + (iVar13 + iVar5) * 4)" (( "(") (binary_expression "iVar3 + (iVar13 + iVar5) * 4" (identifier "iVar3") (+ "+") (binary_expression "(iVar13 + iVar5) * 4" (parenthesized_expression "(iVar13 + iVar5)" (( "(") (binary_expression "iVar13 + iVar5" (identifier "iVar13") (+ "+") (identifier "iVar5")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 < iVar6)" (( "(") (binary_expression "iVar8 < iVar6" (identifier "iVar8") (< "<") (identifier "iVar6")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar13 = iVar13 + -1;" (assignment_expression "iVar13 = iVar13 + -1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + -1" (identifier "iVar13") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*piVar4 = iVar8;" (assignment_expression "*piVar4 = iVar8" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (identifier "iVar8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar13 != -1)" (( "(") (binary_expression "iVar13 != -1" (identifier "iVar13") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (expression_statement "iVar3 = piVar2[2];" (assignment_expression "iVar3 = piVar2[2]" (identifier "iVar3") (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar5 = iVar5 << 2;" (assignment_expression "iVar5 = iVar5 << 2" (identifier "iVar5") (= "=") (binary_expression "iVar5 << 2" (identifier "iVar5") (<< "<<") (number_literal "2"))) (; ";")) (labeled_statement "LAB_000215ac:\n      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);" (statement_identifier "LAB_000215ac") (: ":") (expression_statement "(**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);" (call_expression "(**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5)" (parenthesized_expression "(**(code **)(puVar15 + 0x24030))" (( "(") (pointer_expression "**(code **)(puVar15 + 0x24030)" (* "*") (pointer_expression "*(code **)(puVar15 + 0x24030)" (* "*") (cast_expression "(code **)(puVar15 + 0x24030)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar15 + 0x24030)" (( "(") (binary_expression "puVar15 + 0x24030" (identifier "puVar15") (+ "+") (number_literal "0x24030")) () ")"))))) () ")")) (argument_list "(iVar3,iVar3 + iVar14 * 4,iVar5)" (( "(") (identifier "iVar3") (, ",") (binary_expression "iVar3 + iVar14 * 4" (identifier "iVar3") (+ "+") (binary_expression "iVar14 * 4" (identifier "iVar14") (* "*") (number_literal "4"))) (, ",") (identifier "iVar5") () ")"))) (; ";"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar9 = *(int *)(iVar12 + iVar10 * 4);" (assignment_expression "iVar9 = *(int *)(iVar12 + iVar10 * 4)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar12 + iVar10 * 4)" (* "*") (cast_expression "(int *)(iVar12 + iVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + iVar10 * 4)" (( "(") (binary_expression "iVar12 + iVar10 * 4" (identifier "iVar12") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar13 = *(int *)(iVar6 + iVar11 * 4);" (assignment_expression "iVar13 = *(int *)(iVar6 + iVar11 * 4)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(iVar6 + iVar11 * 4)" (* "*") (cast_expression "(int *)(iVar6 + iVar11 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar11 * 4)" (( "(") (binary_expression "iVar6 + iVar11 * 4" (identifier "iVar6") (+ "+") (binary_expression "iVar11 * 4" (identifier "iVar11") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "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: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (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: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (pointer_declarator declarator: (identifier))) (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: (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: (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 (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (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)) 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: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (goto_statement label: (statement_identifier))))) (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 (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 (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: (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 (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: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (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,uint param_4)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  undefined *puVar15;
  int local_38;
  int local_34;
  int local_30;
  int *local_2c;
  
  puVar15 = PTR___stack_chk_guard_000453ac;
  local_34 = 0;
  iVar13 = param_2[1];
  local_2c = *(int **)PTR___stack_chk_guard_000453ac;
  piVar4 = param_2;
  iVar5 = param_3;
  local_38 = iVar13;
  local_30 = (*(code *)PTR_malloc_00045350)(iVar13 << 2);
  if (local_30 == 0) {
    iVar13 = 0xc;
  }
  else {
    if (0 < iVar13) {
      iVar14 = 0;
      do {
        iVar5 = *(int *)(param_2[2] + iVar14 * 4);
        piVar4 = (int *)(param_1[6] + iVar5 * 0xc);
        iVar13 = 0;
        if (0 < piVar4[1]) {
          piVar2 = (int *)piVar4[2];
          do {
            piVar1 = (int *)(*param_1 + *piVar2 * 8);
            if ((param_4 == *(byte *)(piVar1 + 1)) && (param_3 == *piVar1)) {
              if (*piVar2 != -1) {
                piVar4 = &local_38;
                iVar13 = FUN_0002051c(param_1,&local_38,iVar5,param_3,param_4);
                goto joined_r0x000212b8;
              }
              break;
            }
            iVar13 = iVar13 + 1;
            piVar2 = piVar2 + 1;
          } while (piVar4[1] != iVar13);
        }
        iVar13 = FUN_00020bec(&local_38);
joined_r0x000212b8:
        if (iVar13 != 0) {
          (*(code *)PTR_free_000453bc)(local_30);
          goto LAB_0002132c;
        }
        iVar14 = iVar14 + 1;
      } while (iVar14 < param_2[1]);
    }
    (*(code *)PTR_free_000453bc)(param_2[2]);
    iVar13 = 0;
    *param_2 = local_38;
    param_2[1] = local_34;
    param_2[2] = local_30;
  }
LAB_0002132c:
  if (local_2c == *(int **)puVar15) {
    return iVar13;
  }
  piVar2 = local_2c;
  puVar15 = PTR___stack_chk_fail_0004538c;
  (*(code *)PTR___stack_chk_fail_0004538c)();
  iVar13 = piVar4[1];
  if (iVar13 == 0) {
    return 0;
  }
  iVar14 = *(int *)(iVar5 + 4);
  if (iVar14 == 0) {
    return 0;
  }
  iVar7 = piVar2[1];
  iVar3 = piVar2[2];
  if (*piVar2 < iVar13 + iVar14 + iVar7) {
    iVar11 = iVar13 + iVar14 + *piVar2;
    iVar3 = (**(code **)(puVar15 + 0x23fd4))(iVar3,iVar11 * 4);
    if (iVar3 == 0) {
      return 0xc;
    }
    iVar13 = piVar4[1];
    iVar14 = *(int *)(iVar5 + 4);
    iVar7 = piVar2[1];
    piVar2[2] = iVar3;
    *piVar2 = iVar11;
  }
  iVar10 = iVar13 + -1;
  iVar12 = piVar4[2];
  iVar11 = iVar14 + -1;
  iVar6 = *(int *)(iVar5 + 8);
  iVar9 = *(int *)(iVar12 + iVar10 * 4);
  iVar8 = iVar7 + -1;
  iVar14 = iVar7 + iVar13 + iVar14;
  iVar13 = *(int *)(iVar6 + iVar11 * 4);
  do {
    while (iVar9 != iVar13) {
      if (iVar9 < iVar13) {
        iVar11 = iVar11 + -1;
        if (iVar11 < 0) goto LAB_000214f8;
        iVar13 = *(int *)(iVar6 + iVar11 * 4);
      }
      else {
        iVar10 = iVar10 + -1;
        if (iVar10 < 0) goto LAB_000214f8;
        iVar9 = *(int *)(iVar12 + iVar10 * 4);
      }
    }
    if (iVar8 < 0) {
LAB_0002148c:
      iVar14 = iVar14 + -1;
      *(int *)(iVar3 + iVar14 * 4) = iVar9;
    }
    else {
      piVar1 = (int *)(iVar3 + iVar8 * 4);
      iVar13 = *piVar1;
      while (iVar9 < iVar13) {
        iVar8 = iVar8 + -1;
        piVar1 = piVar1 + -1;
        if (iVar8 == -1) goto LAB_0002148c;
        iVar13 = *piVar1;
      }
      if (iVar13 != iVar9) goto LAB_0002148c;
    }
    iVar10 = iVar10 + -1;
    iVar11 = iVar11 + -1;
    if ((iVar10 < 0) || (iVar11 < 0)) {
LAB_000214f8:
      iVar13 = piVar2[1];
      iVar7 = iVar13 + piVar4[1] + *(int *)(iVar5 + 4);
      iVar5 = iVar7 - iVar14;
      iVar7 = iVar7 + -1;
      piVar2[1] = iVar13 + iVar5;
      if (0 < iVar5) {
        iVar13 = iVar13 + -1;
        iVar11 = iVar7 * 4;
        if (-1 < iVar13) {
          do {
            iVar6 = *(int *)(iVar3 + iVar11);
            iVar8 = *(int *)(iVar3 + iVar13 * 4);
            piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);
            if (iVar8 < iVar6) {
              do {
                iVar5 = iVar5 + -1;
                *piVar4 = iVar6;
                iVar7 = iVar7 + -1;
                if (iVar5 == 0) {
                  iVar3 = piVar2[2];
                  iVar5 = 0;
                  goto LAB_000215ac;
                }
                iVar11 = iVar7 * 4;
                iVar8 = *(int *)(iVar3 + iVar13 * 4);
                iVar6 = *(int *)(iVar3 + iVar11);
                piVar4 = (int *)(iVar3 + (iVar13 + iVar5) * 4);
              } while (iVar8 < iVar6);
            }
            iVar13 = iVar13 + -1;
            *piVar4 = iVar8;
          } while (iVar13 != -1);
          iVar3 = piVar2[2];
        }
      }
      iVar5 = iVar5 << 2;
LAB_000215ac:
      (**(code **)(puVar15 + 0x24030))(iVar3,iVar3 + iVar14 * 4,iVar5);
      return 0;
    }
    iVar9 = *(int *)(iVar12 + iVar10 * 4);
    iVar13 = *(int *)(iVar6 + iVar11 * 4);
  } while( true );
}

