
/* WARNING: Unknown calling convention */

void free_context(AWK_CONTEXT *ctxt,_Bool keep_globals)

{
  instruction_block *piVar1;
  undefined *puVar2;
  int iVar3;
  exp_instruction *peVar4;
  OPCODE OVar5;
  break_point *tmp;
  NODE *pNVar6;
  undefined3 in_register_00000014;
  AWK_CONTEXT *pAVar7;
  instruction_block *piVar8;
  instruction_block *piVar9;
  instruction_block *piVar10;
  int iVar11;
  
  puVar2 = PTR_nextfree_004b1bf0;
  if (ctxt == (AWK_CONTEXT *)0x0) {
    return;
  }
  iVar11 = 0x18;
  pAVar7 = ctxt;
  while (piVar8 = (pAVar7->pools).pool[0].block_list, piVar8 == (instruction_block *)0x0) {
LAB_00475354:
    iVar11 = iVar11 + 0x18;
    pAVar7 = (AWK_CONTEXT *)((pAVar7->pools).pool + 1);
    if (iVar11 == 0x78) {
      release_symbols(&ctxt->symbols,CONCAT31(in_register_00000014,keep_globals));
      (*(code *)PTR_free_004b239c)(ctxt);
      return;
    }
  }
  piVar10 = (instruction_block *)(pAVar7->pools).pool[0].free_space;
  do {
    piVar9 = (instruction_block *)piVar8->i;
joined_r0x004751d0:
    piVar1 = piVar9;
    piVar9 = (instruction_block *)((int)&piVar1->next + iVar11);
    if (piVar9 <= piVar10) {
      OVar5 = (OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4].dn;
      if (OVar5 != Op_illegal) {
        if (OVar5 != Op_func_call) {
          if (OVar5 < Op_indirect_func_call) {
            if (OVar5 != Op_store_var) {
              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {
LAB_004752c8:
                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;
                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {
                  refree((Regexp *)(peVar4->d).dn);
                }
                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {
                  refree((Regexp *)(peVar4->x).xn);
                }
                pNVar6 = (NODE *)peVar4->comment;
                if ((pNVar6 != (NODE *)0x0) &&
                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))
                {
                  r_unref(pNVar6);
                }
                pNVar6 = (NODE *)peVar4->nexti;
                if ((pNVar6 != (NODE *)0x0) &&
                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))
                {
                  r_unref(pNVar6);
                }
                peVar4->nexti = *(exp_instruction **)puVar2;
                *(exp_instruction **)puVar2 = peVar4;
              }
              goto joined_r0x004751d0;
            }
            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)
                  )->bpt;
          }
          else {
            if (OVar5 == Op_push_re) goto LAB_004752c8;
            if (OVar5 == Op_token) goto LAB_00475294;
            if (OVar5 != Op_push_i) goto joined_r0x004751d0;
            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;
          }
          if ((tmp != (break_point *)0x0) &&
             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {
            r_unref((NODE *)tmp);
          }
          goto joined_r0x004751d0;
        }
LAB_00475294:
        if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {
          (*(code *)PTR_free_004b239c)();
        }
      }
      goto joined_r0x004751d0;
    }
    piVar9 = piVar8->next;
    (*(code *)PTR_free_004b239c)(piVar8);
    if (piVar9 == (instruction_block *)0x0) goto LAB_00475354;
    piVar10 = piVar9 + 1;
    piVar8 = piVar9;
  } while( true );
}



void free_context(int *param_1,undefined4 param_2)

{
  undefined *puVar1;
  int iVar2;
  int *piVar3;
  uint uVar4;
  int iVar5;
  int *piVar6;
  int *piVar7;
  int *piVar8;
  int *piVar9;
  int iVar10;
  
  puVar1 = PTR_nextfree_004b1bf0;
  if (param_1 == (int *)0x0) {
    return;
  }
  iVar10 = 0x18;
  piVar6 = param_1;
  while ((int *)*piVar6 == (int *)0x0) {
LAB_00475354:
    iVar10 = iVar10 + 0x18;
    piVar6 = piVar6 + 3;
    if (iVar10 == 0x78) {
      FUN_00474318(param_1 + 0xc,param_2);
      (*(code *)PTR_free_004b239c)(param_1);
      return;
    }
  }
  piVar9 = (int *)piVar6[1];
  piVar7 = (int *)*piVar6;
  do {
    piVar8 = piVar7 + 1;
joined_r0x004751d0:
    piVar3 = piVar8;
    piVar8 = (int *)((int)piVar3 + iVar10);
    if (piVar8 <= piVar9) {
      uVar4 = piVar3[5];
      if (uVar4 != 0) {
        if (uVar4 != 0x48) {
          if (uVar4 < 0x49) {
            if (uVar4 != 0x1b) {
              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {
LAB_004752c8:
                piVar3 = (int *)piVar3[1];
                if (piVar3[1] != 0) {
                  refree();
                }
                if (piVar3[2] != 0) {
                  refree();
                }
                iVar5 = piVar3[3];
                if ((iVar5 != 0) &&
                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))
                {
                  r_unref();
                }
                iVar5 = *piVar3;
                if ((iVar5 != 0) &&
                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))
                {
                  r_unref();
                }
                *piVar3 = *(int *)puVar1;
                *(int **)puVar1 = piVar3;
              }
              goto joined_r0x004751d0;
            }
            iVar5 = piVar3[2];
          }
          else {
            if (uVar4 == 0x4e) goto LAB_004752c8;
            if (uVar4 == 0x6b) goto LAB_00475294;
            if (uVar4 != 0x4d) goto joined_r0x004751d0;
            iVar5 = piVar3[1];
          }
          if ((iVar5 != 0) &&
             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {
            r_unref();
          }
          goto joined_r0x004751d0;
        }
LAB_00475294:
        if (piVar3[1] != 0) {
          (*(code *)PTR_free_004b239c)();
        }
      }
      goto joined_r0x004751d0;
    }
    piVar8 = (int *)*piVar7;
    (*(code *)PTR_free_004b239c)(piVar7);
    if (piVar8 == (int *)0x0) goto LAB_00475354;
    piVar9 = piVar8 + 0x2f5;
    piVar7 = piVar8;
  } while( true );
}


beq a0,zero,0x004753e0
_nop
lui gp,0x4c
addiu sp,sp,-0x50
addiu gp,gp,-0x64e0
sw s8,0x48(sp)
li s8,0x18
sw s0,0x28(sp)
li s0,0x48
sw s2,0x30(sp)
or s2,a0,zero
sw ra,0x4c(sp)
sw s7,0x44(sp)
sw s6,0x40(sp)
sw s5,0x3c(sp)
sw s4,0x38(sp)
sw s3,0x34(sp)
sw s1,0x2c(sp)
sw gp,0x10(sp)
sw a1,0x24(sp)
sw a0,0x20(sp)
lw v0,-0x7f30(gp)
sw v0,0x18(sp)
lw s5,0x0(s2)
beq s5,zero,0x00475354
_li s1,0x4e
lw s7,0x4(s2)
addiu v0,s5,0x4
li s3,0x6b
addu s6,v0,s8
sltu v1,s7,s6
bne v1,zero,0x004751f8
_li s4,0x4d
lw v1,0x14(v0)
bne v1,zero,0x00475218
_nop
or v0,s6,zero
addu s6,v0,s8
sltu v1,s7,s6
beq v1,zero,0x004751d8
_nop
lw t9,-0x7784(gp)
or a0,s5,zero
jalr t9
_lw s5,0x0(s5)
beq s5,zero,0x00475354
_lw gp,0x10(sp)
b 0x004751c0
_addiu s7,s5,0xbd4
beq v1,s0,0x00475294
_sltiu a0,v1,0x49
bne a0,zero,0x00475274
_nop
beq v1,s1,0x004752c8
_nop
beq v1,s3,0x00475294
_nop
bne v1,s4,0x004751e4
_nop
lw a0,0x4(v0)
beq a0,zero,0x004751e8
_or v0,s6,zero
lw v0,0x10(a0)
addiu v0,v0,-0x1
bgtz v0,0x004751e4
_sw v0,0x10(a0)
lw t9,-0x7f90(gp)
bal 0x00467a84
_nop
or v0,s6,zero
b 0x004751e8
_lw gp,0x10(sp)
li a0,0x1b
bne v1,a0,0x004752b4
_sltiu a0,v1,0x1b
lw a0,0x8(v0)
bne a0,zero,0x0047524c
_or v0,s6,zero
b 0x004751ec
_addu s6,v0,s8
lw a0,0x4(v0)
beq a0,zero,0x004751e4
_lw t9,-0x7784(gp)
jalr t9
_nop
or v0,s6,zero
b 0x004751e8
_lw gp,0x10(sp)
bne a0,zero,0x004751e4
_addiu v1,v1,-0x2f
sltiu v1,v1,0x3
beq v1,zero,0x004751e4
_nop
lw v0,0x4(v0)
lw a0,0x4(v0)
beq a0,zero,0x004752e8
_lw t9,-0x7bf4(gp)
bal 0x00471054
_sw v0,0x1c(sp)
lw gp,0x10(sp)
lw v0,0x1c(sp)
lw a0,0x8(v0)
beq a0,zero,0x00475304
_lw t9,-0x7bf4(gp)
bal 0x00471054
_sw v0,0x1c(sp)
lw gp,0x10(sp)
lw v0,0x1c(sp)
lw a0,0xc(v0)
beq a0,zero,0x00475320
_nop
lw v1,0x10(a0)
addiu v1,v1,-0x1
blez v1,0x004753c8
_sw v1,0x10(a0)
lw a0,0x0(v0)
beq a0,zero,0x0047533c
_nop
lw v1,0x10(a0)
addiu v1,v1,-0x1
blez v1,0x004753b0
_sw v1,0x10(a0)
lw a0,0x18(sp)
lw v1,0x0(a0)
sw v1,0x0(v0)
sw v0,0x0(a0)
b 0x004751e8
_or v0,s6,zero
addiu s8,s8,0x18
li v0,0x78
bne s8,v0,0x004751b0
_addiu s2,s2,0xc
lw s0,0x20(sp)
lw a1,0x24(sp)
jal 0x00474318
_addiu a0,s0,0x30
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x4c(sp)
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
lw t9,-0x7784(gp)
jr t9
_addiu sp,sp,0x50
lw t9,-0x7f90(gp)
bal 0x00467a84
_sw v0,0x1c(sp)
lw gp,0x10(sp)
b 0x0047533c
_lw v0,0x1c(sp)
lw t9,-0x7f90(gp)
bal 0x00467a84
_sw v0,0x1c(sp)
lw gp,0x10(sp)
b 0x00475320
_lw v0,0x1c(sp)
jr ra
_nop
(translation_unit "void free_context(int *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  \n  puVar1 = PTR_nextfree_004b1bf0;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar10 = 0x18;\n  piVar6 = param_1;\n  while ((int *)*piVar6 == (int *)0x0) {\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }\n  piVar9 = (int *)piVar6[1];\n  piVar7 = (int *)*piVar6;\n  do {\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  } while( true );\n}\n\n" (function_definition "void free_context(int *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  \n  puVar1 = PTR_nextfree_004b1bf0;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar10 = 0x18;\n  piVar6 = param_1;\n  while ((int *)*piVar6 == (int *)0x0) {\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }\n  piVar9 = (int *)piVar6[1];\n  piVar7 = (int *)*piVar6;\n  do {\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  } while( true );\n}" primitive_type (function_declarator "free_context(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  \n  puVar1 = PTR_nextfree_004b1bf0;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar10 = 0x18;\n  piVar6 = param_1;\n  while ((int *)*piVar6 == (int *)0x0) {\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }\n  piVar9 = (int *)piVar6[1];\n  piVar7 = (int *)*piVar6;\n  do {\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_nextfree_004b1bf0;" (assignment_expression "puVar1 = PTR_nextfree_004b1bf0" identifier = identifier) ;) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar10 = 0x18;" (assignment_expression "iVar10 = 0x18" identifier = number_literal) ;) (expression_statement "piVar6 = param_1;" (assignment_expression "piVar6 = param_1" identifier = identifier) ;) (while_statement "while ((int *)*piVar6 == (int *)0x0) {\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }" while (parenthesized_expression "((int *)*piVar6 == (int *)0x0)" ( (binary_expression "(int *)*piVar6 == (int *)0x0" (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier)) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }" { (labeled_statement "LAB_00475354:\n    iVar10 = iVar10 + 0x18;" statement_identifier : (expression_statement "iVar10 = iVar10 + 0x18;" (assignment_expression "iVar10 = iVar10 + 0x18" identifier = (binary_expression "iVar10 + 0x18" identifier + number_literal)) ;)) (expression_statement "piVar6 = piVar6 + 3;" (assignment_expression "piVar6 = piVar6 + 3" identifier = (binary_expression "piVar6 + 3" identifier + number_literal)) ;) (if_statement "if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }" if (parenthesized_expression "(iVar10 == 0x78)" ( (binary_expression "iVar10 == 0x78" identifier == number_literal) )) (compound_statement "{\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }" { (expression_statement "FUN_00474318(param_1 + 0xc,param_2);" (call_expression "FUN_00474318(param_1 + 0xc,param_2)" identifier (argument_list "(param_1 + 0xc,param_2)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_free_004b239c)(param_1);" (call_expression "(*(code *)PTR_free_004b239c)(param_1)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (expression_statement "piVar9 = (int *)piVar6[1];" (assignment_expression "piVar9 = (int *)piVar6[1]" identifier = (cast_expression "(int *)piVar6[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar7 = (int *)*piVar6;" (assignment_expression "piVar7 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (do_statement "do {\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  } while( true );" do (compound_statement "{\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  }" { (expression_statement "piVar8 = piVar7 + 1;" (assignment_expression "piVar8 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) (labeled_statement "joined_r0x004751d0:\n    piVar3 = piVar8;" statement_identifier : (expression_statement "piVar3 = piVar8;" (assignment_expression "piVar3 = piVar8" identifier = identifier) ;)) (expression_statement "piVar8 = (int *)((int)piVar3 + iVar10);" (assignment_expression "piVar8 = (int *)((int)piVar3 + iVar10)" identifier = (cast_expression "(int *)((int)piVar3 + iVar10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + iVar10)" ( (binary_expression "(int)piVar3 + iVar10" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }" if (parenthesized_expression "(piVar8 <= piVar9)" ( (binary_expression "piVar8 <= piVar9" identifier <= identifier) )) (compound_statement "{\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }" { (expression_statement "uVar4 = piVar3[5];" (assignment_expression "uVar4 = piVar3[5]" identifier = (subscript_expression "piVar3[5]" identifier [ number_literal ])) ;) (if_statement "if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }" { (if_statement "if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }" if (parenthesized_expression "(uVar4 != 0x48)" ( (binary_expression "uVar4 != 0x48" identifier != number_literal) )) (compound_statement "{\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }" { (if_statement "if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }" if (parenthesized_expression "(uVar4 < 0x49)" ( (binary_expression "uVar4 < 0x49" identifier < number_literal) )) (compound_statement "{\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }" { (if_statement "if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }" if (parenthesized_expression "(uVar4 != 0x1b)" ( (binary_expression "uVar4 != 0x1b" identifier != number_literal) )) (compound_statement "{\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }" { (if_statement "if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }" if (parenthesized_expression "((0x1a < uVar4) && (uVar4 - 0x2f < 3))" ( (binary_expression "(0x1a < uVar4) && (uVar4 - 0x2f < 3)" (parenthesized_expression "(0x1a < uVar4)" ( (binary_expression "0x1a < uVar4" number_literal < identifier) )) && (parenthesized_expression "(uVar4 - 0x2f < 3)" ( (binary_expression "uVar4 - 0x2f < 3" (binary_expression "uVar4 - 0x2f" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }" { (labeled_statement "LAB_004752c8:\n                piVar3 = (int *)piVar3[1];" statement_identifier : (expression_statement "piVar3 = (int *)piVar3[1];" (assignment_expression "piVar3 = (int *)piVar3[1]" identifier = (cast_expression "(int *)piVar3[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[1]" identifier [ number_literal ]))) ;)) (if_statement "if (piVar3[1] != 0) {\n                  refree();\n                }" if (parenthesized_expression "(piVar3[1] != 0)" ( (binary_expression "piVar3[1] != 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                  refree();\n                }" { (expression_statement "refree();" (call_expression "refree()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (piVar3[2] != 0) {\n                  refree();\n                }" if (parenthesized_expression "(piVar3[2] != 0)" ( (binary_expression "piVar3[2] != 0" (subscript_expression "piVar3[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                  refree();\n                }" { (expression_statement "refree();" (call_expression "refree()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = piVar3[3];" (assignment_expression "iVar5 = piVar3[3]" identifier = (subscript_expression "piVar3[3]" identifier [ number_literal ])) ;) (if_statement "if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }" if (parenthesized_expression "((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))" ( (binary_expression "(iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" ( (comma_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar5 + 0x10) + -1" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "*(int *)(iVar5 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "iVar2 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n                  r_unref();\n                }" { (expression_statement "r_unref();" (call_expression "r_unref()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = *piVar3;" (assignment_expression "iVar5 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }" if (parenthesized_expression "((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))" ( (binary_expression "(iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" ( (comma_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar5 + 0x10) + -1" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "*(int *)(iVar5 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "iVar2 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n                  r_unref();\n                }" { (expression_statement "r_unref();" (call_expression "r_unref()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "*piVar3 = *(int *)puVar1;" (assignment_expression "*piVar3 = *(int *)puVar1" (pointer_expression "*piVar3" * identifier) = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(int **)puVar1 = piVar3;" (assignment_expression "*(int **)puVar1 = piVar3" (pointer_expression "*(int **)puVar1" * (cast_expression "(int **)puVar1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) })) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;) })) (expression_statement "iVar5 = piVar3[2];" (assignment_expression "iVar5 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }" else (compound_statement "{\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }" { (if_statement "if (uVar4 == 0x4e) goto LAB_004752c8;" if (parenthesized_expression "(uVar4 == 0x4e)" ( (binary_expression "uVar4 == 0x4e" identifier == number_literal) )) (goto_statement "goto LAB_004752c8;" goto statement_identifier ;)) (if_statement "if (uVar4 == 0x6b) goto LAB_00475294;" if (parenthesized_expression "(uVar4 == 0x6b)" ( (binary_expression "uVar4 == 0x6b" identifier == number_literal) )) (goto_statement "goto LAB_00475294;" goto statement_identifier ;)) (if_statement "if (uVar4 != 0x4d) goto joined_r0x004751d0;" if (parenthesized_expression "(uVar4 != 0x4d)" ( (binary_expression "uVar4 != 0x4d" identifier != number_literal) )) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;)) (expression_statement "iVar5 = piVar3[1];" (assignment_expression "iVar5 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) }))) (if_statement "if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }" if (parenthesized_expression "((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))" ( (binary_expression "(iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" ( (comma_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar5 + 0x10) + -1" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "*(int *)(iVar5 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "iVar2 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n            r_unref();\n          }" { (expression_statement "r_unref();" (call_expression "r_unref()" identifier (argument_list "()" ( ))) ;) })) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;) })) (labeled_statement "LAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }" statement_identifier : (if_statement "if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }" if (parenthesized_expression "(piVar3[1] != 0)" ( (binary_expression "piVar3[1] != 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_004b239c)();\n        }" { (expression_statement "(*(code *)PTR_free_004b239c)();" (call_expression "(*(code *)PTR_free_004b239c)()" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }))) })) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;) })) (expression_statement "piVar8 = (int *)*piVar7;" (assignment_expression "piVar8 = (int *)*piVar7" identifier = (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) (expression_statement "(*(code *)PTR_free_004b239c)(piVar7);" (call_expression "(*(code *)PTR_free_004b239c)(piVar7)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (piVar8 == (int *)0x0) goto LAB_00475354;" if (parenthesized_expression "(piVar8 == (int *)0x0)" ( (binary_expression "piVar8 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00475354;" goto statement_identifier ;)) (expression_statement "piVar9 = piVar8 + 0x2f5;" (assignment_expression "piVar9 = piVar8 + 0x2f5" identifier = (binary_expression "piVar8 + 0x2f5" identifier + number_literal)) ;) (expression_statement "piVar7 = piVar8;" (assignment_expression "piVar7 = piVar8" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid free_context(AWK_CONTEXT *ctxt,_Bool keep_globals)\n\n{\n  instruction_block *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  exp_instruction *peVar4;\n  OPCODE OVar5;\n  break_point *tmp;\n  NODE *pNVar6;\n  undefined3 in_register_00000014;\n  AWK_CONTEXT *pAVar7;\n  instruction_block *piVar8;\n  instruction_block *piVar9;\n  instruction_block *piVar10;\n  int iVar11;\n  \n  puVar2 = PTR_nextfree_004b1bf0;\n  if (ctxt == (AWK_CONTEXT *)0x0) {\n    return;\n  }\n  iVar11 = 0x18;\n  pAVar7 = ctxt;\n  while (piVar8 = (pAVar7->pools).pool[0].block_list, piVar8 == (instruction_block *)0x0) {\nLAB_00475354:\n    iVar11 = iVar11 + 0x18;\n    pAVar7 = (AWK_CONTEXT *)((pAVar7->pools).pool + 1);\n    if (iVar11 == 0x78) {\n      release_symbols(&ctxt->symbols,CONCAT31(in_register_00000014,keep_globals));\n      (*(code *)PTR_free_004b239c)(ctxt);\n      return;\n    }\n  }\n  piVar10 = (instruction_block *)(pAVar7->pools).pool[0].free_space;\n  do {\n    piVar9 = (instruction_block *)piVar8->i;\njoined_r0x004751d0:\n    piVar1 = piVar9;\n    piVar9 = (instruction_block *)((int)&piVar1->next + iVar11);\n    if (piVar9 <= piVar10) {\n      OVar5 = (OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4].dn;\n      if (OVar5 != Op_illegal) {\n        if (OVar5 != Op_func_call) {\n          if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }\n          if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar9 = piVar8->next;\n    (*(code *)PTR_free_004b239c)(piVar8);\n    if (piVar9 == (instruction_block *)0x0) goto LAB_00475354;\n    piVar10 = piVar9 + 1;\n    piVar8 = piVar9;\n  } while( true );\n}\n\n" comment (function_definition "void free_context(AWK_CONTEXT *ctxt,_Bool keep_globals)\n\n{\n  instruction_block *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  exp_instruction *peVar4;\n  OPCODE OVar5;\n  break_point *tmp;\n  NODE *pNVar6;\n  undefined3 in_register_00000014;\n  AWK_CONTEXT *pAVar7;\n  instruction_block *piVar8;\n  instruction_block *piVar9;\n  instruction_block *piVar10;\n  int iVar11;\n  \n  puVar2 = PTR_nextfree_004b1bf0;\n  if (ctxt == (AWK_CONTEXT *)0x0) {\n    return;\n  }\n  iVar11 = 0x18;\n  pAVar7 = ctxt;\n  while (piVar8 = (pAVar7->pools).pool[0].block_list, piVar8 == (instruction_block *)0x0) {\nLAB_00475354:\n    iVar11 = iVar11 + 0x18;\n    pAVar7 = (AWK_CONTEXT *)((pAVar7->pools).pool + 1);\n    if (iVar11 == 0x78) {\n      release_symbols(&ctxt->symbols,CONCAT31(in_register_00000014,keep_globals));\n      (*(code *)PTR_free_004b239c)(ctxt);\n      return;\n    }\n  }\n  piVar10 = (instruction_block *)(pAVar7->pools).pool[0].free_space;\n  do {\n    piVar9 = (instruction_block *)piVar8->i;\njoined_r0x004751d0:\n    piVar1 = piVar9;\n    piVar9 = (instruction_block *)((int)&piVar1->next + iVar11);\n    if (piVar9 <= piVar10) {\n      OVar5 = (OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4].dn;\n      if (OVar5 != Op_illegal) {\n        if (OVar5 != Op_func_call) {\n          if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }\n          if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar9 = piVar8->next;\n    (*(code *)PTR_free_004b239c)(piVar8);\n    if (piVar9 == (instruction_block *)0x0) goto LAB_00475354;\n    piVar10 = piVar9 + 1;\n    piVar8 = piVar9;\n  } while( true );\n}" primitive_type (function_declarator "free_context(AWK_CONTEXT *ctxt,_Bool keep_globals)" identifier (parameter_list "(AWK_CONTEXT *ctxt,_Bool keep_globals)" ( (parameter_declaration "AWK_CONTEXT *ctxt" type_identifier (pointer_declarator "*ctxt" * identifier)) , (parameter_declaration "_Bool keep_globals" type_identifier identifier) ))) (compound_statement "{\n  instruction_block *piVar1;\n  undefined *puVar2;\n  int iVar3;\n  exp_instruction *peVar4;\n  OPCODE OVar5;\n  break_point *tmp;\n  NODE *pNVar6;\n  undefined3 in_register_00000014;\n  AWK_CONTEXT *pAVar7;\n  instruction_block *piVar8;\n  instruction_block *piVar9;\n  instruction_block *piVar10;\n  int iVar11;\n  \n  puVar2 = PTR_nextfree_004b1bf0;\n  if (ctxt == (AWK_CONTEXT *)0x0) {\n    return;\n  }\n  iVar11 = 0x18;\n  pAVar7 = ctxt;\n  while (piVar8 = (pAVar7->pools).pool[0].block_list, piVar8 == (instruction_block *)0x0) {\nLAB_00475354:\n    iVar11 = iVar11 + 0x18;\n    pAVar7 = (AWK_CONTEXT *)((pAVar7->pools).pool + 1);\n    if (iVar11 == 0x78) {\n      release_symbols(&ctxt->symbols,CONCAT31(in_register_00000014,keep_globals));\n      (*(code *)PTR_free_004b239c)(ctxt);\n      return;\n    }\n  }\n  piVar10 = (instruction_block *)(pAVar7->pools).pool[0].free_space;\n  do {\n    piVar9 = (instruction_block *)piVar8->i;\njoined_r0x004751d0:\n    piVar1 = piVar9;\n    piVar9 = (instruction_block *)((int)&piVar1->next + iVar11);\n    if (piVar9 <= piVar10) {\n      OVar5 = (OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4].dn;\n      if (OVar5 != Op_illegal) {\n        if (OVar5 != Op_func_call) {\n          if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }\n          if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar9 = piVar8->next;\n    (*(code *)PTR_free_004b239c)(piVar8);\n    if (piVar9 == (instruction_block *)0x0) goto LAB_00475354;\n    piVar10 = piVar9 + 1;\n    piVar8 = piVar9;\n  } while( true );\n}" { (declaration "instruction_block *piVar1;" type_identifier (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "exp_instruction *peVar4;" type_identifier (pointer_declarator "*peVar4" * identifier) ;) (declaration "OPCODE OVar5;" type_identifier identifier ;) (declaration "break_point *tmp;" type_identifier (pointer_declarator "*tmp" * identifier) ;) (declaration "NODE *pNVar6;" type_identifier (pointer_declarator "*pNVar6" * identifier) ;) (declaration "undefined3 in_register_00000014;" type_identifier identifier ;) (declaration "AWK_CONTEXT *pAVar7;" type_identifier (pointer_declarator "*pAVar7" * identifier) ;) (declaration "instruction_block *piVar8;" type_identifier (pointer_declarator "*piVar8" * identifier) ;) (declaration "instruction_block *piVar9;" type_identifier (pointer_declarator "*piVar9" * identifier) ;) (declaration "instruction_block *piVar10;" type_identifier (pointer_declarator "*piVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (expression_statement "puVar2 = PTR_nextfree_004b1bf0;" (assignment_expression "puVar2 = PTR_nextfree_004b1bf0" identifier = identifier) ;) (if_statement "if (ctxt == (AWK_CONTEXT *)0x0) {\n    return;\n  }" if (parenthesized_expression "(ctxt == (AWK_CONTEXT *)0x0)" ( (binary_expression "ctxt == (AWK_CONTEXT *)0x0" identifier == (cast_expression "(AWK_CONTEXT *)0x0" ( (type_descriptor "AWK_CONTEXT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar11 = 0x18;" (assignment_expression "iVar11 = 0x18" identifier = number_literal) ;) (expression_statement "pAVar7 = ctxt;" (assignment_expression "pAVar7 = ctxt" identifier = identifier) ;) (while_statement "while (piVar8 = (pAVar7->pools).pool[0].block_list, piVar8 == (instruction_block *)0x0) {\nLAB_00475354:\n    iVar11 = iVar11 + 0x18;\n    pAVar7 = (AWK_CONTEXT *)((pAVar7->pools).pool + 1);\n    if (iVar11 == 0x78) {\n      release_symbols(&ctxt->symbols,CONCAT31(in_register_00000014,keep_globals));\n      (*(code *)PTR_free_004b239c)(ctxt);\n      return;\n    }\n  }" while (parenthesized_expression "(piVar8 = (pAVar7->pools).pool[0].block_list, piVar8 == (instruction_block *)0x0)" ( (comma_expression "piVar8 = (pAVar7->pools).pool[0].block_list, piVar8 == (instruction_block *)0x0" (assignment_expression "piVar8 = (pAVar7->pools).pool[0].block_list" identifier = (field_expression "(pAVar7->pools).pool[0].block_list" (subscript_expression "(pAVar7->pools).pool[0]" (field_expression "(pAVar7->pools).pool" (parenthesized_expression "(pAVar7->pools)" ( (field_expression "pAVar7->pools" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) . field_identifier)) , (binary_expression "piVar8 == (instruction_block *)0x0" identifier == (cast_expression "(instruction_block *)0x0" ( (type_descriptor "instruction_block *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\nLAB_00475354:\n    iVar11 = iVar11 + 0x18;\n    pAVar7 = (AWK_CONTEXT *)((pAVar7->pools).pool + 1);\n    if (iVar11 == 0x78) {\n      release_symbols(&ctxt->symbols,CONCAT31(in_register_00000014,keep_globals));\n      (*(code *)PTR_free_004b239c)(ctxt);\n      return;\n    }\n  }" { (labeled_statement "LAB_00475354:\n    iVar11 = iVar11 + 0x18;" statement_identifier : (expression_statement "iVar11 = iVar11 + 0x18;" (assignment_expression "iVar11 = iVar11 + 0x18" identifier = (binary_expression "iVar11 + 0x18" identifier + number_literal)) ;)) (expression_statement "pAVar7 = (AWK_CONTEXT *)((pAVar7->pools).pool + 1);" (assignment_expression "pAVar7 = (AWK_CONTEXT *)((pAVar7->pools).pool + 1)" identifier = (cast_expression "(AWK_CONTEXT *)((pAVar7->pools).pool + 1)" ( (type_descriptor "AWK_CONTEXT *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((pAVar7->pools).pool + 1)" ( (binary_expression "(pAVar7->pools).pool + 1" (field_expression "(pAVar7->pools).pool" (parenthesized_expression "(pAVar7->pools)" ( (field_expression "pAVar7->pools" identifier -> field_identifier) )) . field_identifier) + number_literal) )))) ;) (if_statement "if (iVar11 == 0x78) {\n      release_symbols(&ctxt->symbols,CONCAT31(in_register_00000014,keep_globals));\n      (*(code *)PTR_free_004b239c)(ctxt);\n      return;\n    }" if (parenthesized_expression "(iVar11 == 0x78)" ( (binary_expression "iVar11 == 0x78" identifier == number_literal) )) (compound_statement "{\n      release_symbols(&ctxt->symbols,CONCAT31(in_register_00000014,keep_globals));\n      (*(code *)PTR_free_004b239c)(ctxt);\n      return;\n    }" { (expression_statement "release_symbols(&ctxt->symbols,CONCAT31(in_register_00000014,keep_globals));" (call_expression "release_symbols(&ctxt->symbols,CONCAT31(in_register_00000014,keep_globals))" identifier (argument_list "(&ctxt->symbols,CONCAT31(in_register_00000014,keep_globals))" ( (pointer_expression "&ctxt->symbols" & (field_expression "ctxt->symbols" identifier -> field_identifier)) , (call_expression "CONCAT31(in_register_00000014,keep_globals)" identifier (argument_list "(in_register_00000014,keep_globals)" ( identifier , identifier ))) ))) ;) (expression_statement "(*(code *)PTR_free_004b239c)(ctxt);" (call_expression "(*(code *)PTR_free_004b239c)(ctxt)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ctxt)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (expression_statement "piVar10 = (instruction_block *)(pAVar7->pools).pool[0].free_space;" (assignment_expression "piVar10 = (instruction_block *)(pAVar7->pools).pool[0].free_space" identifier = (cast_expression "(instruction_block *)(pAVar7->pools).pool[0].free_space" ( (type_descriptor "instruction_block *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(pAVar7->pools).pool[0].free_space" (subscript_expression "(pAVar7->pools).pool[0]" (field_expression "(pAVar7->pools).pool" (parenthesized_expression "(pAVar7->pools)" ( (field_expression "pAVar7->pools" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) . field_identifier))) ;) (do_statement "do {\n    piVar9 = (instruction_block *)piVar8->i;\njoined_r0x004751d0:\n    piVar1 = piVar9;\n    piVar9 = (instruction_block *)((int)&piVar1->next + iVar11);\n    if (piVar9 <= piVar10) {\n      OVar5 = (OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4].dn;\n      if (OVar5 != Op_illegal) {\n        if (OVar5 != Op_func_call) {\n          if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }\n          if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar9 = piVar8->next;\n    (*(code *)PTR_free_004b239c)(piVar8);\n    if (piVar9 == (instruction_block *)0x0) goto LAB_00475354;\n    piVar10 = piVar9 + 1;\n    piVar8 = piVar9;\n  } while( true );" do (compound_statement "{\n    piVar9 = (instruction_block *)piVar8->i;\njoined_r0x004751d0:\n    piVar1 = piVar9;\n    piVar9 = (instruction_block *)((int)&piVar1->next + iVar11);\n    if (piVar9 <= piVar10) {\n      OVar5 = (OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4].dn;\n      if (OVar5 != Op_illegal) {\n        if (OVar5 != Op_func_call) {\n          if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }\n          if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar9 = piVar8->next;\n    (*(code *)PTR_free_004b239c)(piVar8);\n    if (piVar9 == (instruction_block *)0x0) goto LAB_00475354;\n    piVar10 = piVar9 + 1;\n    piVar8 = piVar9;\n  }" { (expression_statement "piVar9 = (instruction_block *)piVar8->i;" (assignment_expression "piVar9 = (instruction_block *)piVar8->i" identifier = (cast_expression "(instruction_block *)piVar8->i" ( (type_descriptor "instruction_block *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "piVar8->i" identifier -> field_identifier))) ;) (labeled_statement "joined_r0x004751d0:\n    piVar1 = piVar9;" statement_identifier : (expression_statement "piVar1 = piVar9;" (assignment_expression "piVar1 = piVar9" identifier = identifier) ;)) (expression_statement "piVar9 = (instruction_block *)((int)&piVar1->next + iVar11);" (assignment_expression "piVar9 = (instruction_block *)((int)&piVar1->next + iVar11)" identifier = (cast_expression "(instruction_block *)((int)&piVar1->next + iVar11)" ( (type_descriptor "instruction_block *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&piVar1->next + iVar11)" ( (binary_expression "(int)&piVar1->next + iVar11" (cast_expression "(int)&piVar1->next" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&piVar1->next" & (field_expression "piVar1->next" identifier -> field_identifier))) + identifier) )))) ;) (if_statement "if (piVar9 <= piVar10) {\n      OVar5 = (OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4].dn;\n      if (OVar5 != Op_illegal) {\n        if (OVar5 != Op_func_call) {\n          if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }\n          if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }" if (parenthesized_expression "(piVar9 <= piVar10)" ( (binary_expression "piVar9 <= piVar10" identifier <= identifier) )) (compound_statement "{\n      OVar5 = (OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4].dn;\n      if (OVar5 != Op_illegal) {\n        if (OVar5 != Op_func_call) {\n          if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }\n          if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }" { (expression_statement "OVar5 = (OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4].dn;" (assignment_expression "OVar5 = (OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4].dn" identifier = (field_expression "(OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4].dn" (subscript_expression "(OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)[4]" (call_expression "(OPCODE)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)" (parenthesized_expression "(OPCODE)" ( identifier )) (argument_list "((anon_union_4_6_56fdb54c_for_d *)piVar1->i)" ( (cast_expression "(anon_union_4_6_56fdb54c_for_d *)piVar1->i" ( (type_descriptor "anon_union_4_6_56fdb54c_for_d *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "piVar1->i" identifier -> field_identifier)) ))) [ number_literal ]) . field_identifier)) ;) (if_statement "if (OVar5 != Op_illegal) {\n        if (OVar5 != Op_func_call) {\n          if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }\n          if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }" if (parenthesized_expression "(OVar5 != Op_illegal)" ( (binary_expression "OVar5 != Op_illegal" identifier != identifier) )) (compound_statement "{\n        if (OVar5 != Op_func_call) {\n          if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }\n          if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }" { (if_statement "if (OVar5 != Op_func_call) {\n          if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }\n          if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }\n          goto joined_r0x004751d0;\n        }" if (parenthesized_expression "(OVar5 != Op_func_call)" ( (binary_expression "OVar5 != Op_func_call" identifier != identifier) )) (compound_statement "{\n          if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }\n          if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }\n          goto joined_r0x004751d0;\n        }" { (if_statement "if (OVar5 < Op_indirect_func_call) {\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }\n          else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }" if (parenthesized_expression "(OVar5 < Op_indirect_func_call)" ( (binary_expression "OVar5 < Op_indirect_func_call" identifier < identifier) )) (compound_statement "{\n            if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }\n            tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;\n          }" { (if_statement "if (OVar5 != Op_store_var) {\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }" if (parenthesized_expression "(OVar5 != Op_store_var)" ( (binary_expression "OVar5 != Op_store_var" identifier != identifier) )) (compound_statement "{\n              if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }\n              goto joined_r0x004751d0;\n            }" { (if_statement "if ((Op_assign < OVar5) && (OVar5 - Op_match < 3)) {\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }" if (parenthesized_expression "((Op_assign < OVar5) && (OVar5 - Op_match < 3))" ( (binary_expression "(Op_assign < OVar5) && (OVar5 - Op_match < 3)" (parenthesized_expression "(Op_assign < OVar5)" ( (binary_expression "Op_assign < OVar5" identifier < identifier) )) && (parenthesized_expression "(OVar5 - Op_match < 3)" ( (binary_expression "OVar5 - Op_match < 3" (binary_expression "OVar5 - Op_match" identifier - identifier) < number_literal) ))) )) (compound_statement "{\nLAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;\n                if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }\n                if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }\n                pNVar6 = (NODE *)peVar4->comment;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                pNVar6 = (NODE *)peVar4->nexti;\n                if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }\n                peVar4->nexti = *(exp_instruction **)puVar2;\n                *(exp_instruction **)puVar2 = peVar4;\n              }" { (labeled_statement "LAB_004752c8:\n                peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;" statement_identifier : (expression_statement "peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di;" (assignment_expression "peVar4 = ((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di" identifier = (field_expression "((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->di" (parenthesized_expression "((anon_union_4_6_56fdb54c_for_d *)piVar1->i)" ( (cast_expression "(anon_union_4_6_56fdb54c_for_d *)piVar1->i" ( (type_descriptor "anon_union_4_6_56fdb54c_for_d *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "piVar1->i" identifier -> field_identifier)) )) -> field_identifier)) ;)) (if_statement "if ((Regexp *)(peVar4->d).dn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->d).dn);\n                }" if (parenthesized_expression "((Regexp *)(peVar4->d).dn != (Regexp *)0x0)" ( (binary_expression "(Regexp *)(peVar4->d).dn != (Regexp *)0x0" (cast_expression "(Regexp *)(peVar4->d).dn" ( (type_descriptor "Regexp *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(peVar4->d).dn" (parenthesized_expression "(peVar4->d)" ( (field_expression "peVar4->d" identifier -> field_identifier) )) . field_identifier)) != (cast_expression "(Regexp *)0x0" ( (type_descriptor "Regexp *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  refree((Regexp *)(peVar4->d).dn);\n                }" { (expression_statement "refree((Regexp *)(peVar4->d).dn);" (call_expression "refree((Regexp *)(peVar4->d).dn)" identifier (argument_list "((Regexp *)(peVar4->d).dn)" ( (cast_expression "(Regexp *)(peVar4->d).dn" ( (type_descriptor "Regexp *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(peVar4->d).dn" (parenthesized_expression "(peVar4->d)" ( (field_expression "peVar4->d" identifier -> field_identifier) )) . field_identifier)) ))) ;) })) (if_statement "if ((Regexp *)(peVar4->x).xn != (Regexp *)0x0) {\n                  refree((Regexp *)(peVar4->x).xn);\n                }" if (parenthesized_expression "((Regexp *)(peVar4->x).xn != (Regexp *)0x0)" ( (binary_expression "(Regexp *)(peVar4->x).xn != (Regexp *)0x0" (cast_expression "(Regexp *)(peVar4->x).xn" ( (type_descriptor "Regexp *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(peVar4->x).xn" (parenthesized_expression "(peVar4->x)" ( (field_expression "peVar4->x" identifier -> field_identifier) )) . field_identifier)) != (cast_expression "(Regexp *)0x0" ( (type_descriptor "Regexp *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  refree((Regexp *)(peVar4->x).xn);\n                }" { (expression_statement "refree((Regexp *)(peVar4->x).xn);" (call_expression "refree((Regexp *)(peVar4->x).xn)" identifier (argument_list "((Regexp *)(peVar4->x).xn)" ( (cast_expression "(Regexp *)(peVar4->x).xn" ( (type_descriptor "Regexp *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(peVar4->x).xn" (parenthesized_expression "(peVar4->x)" ( (field_expression "peVar4->x" identifier -> field_identifier) )) . field_identifier)) ))) ;) })) (expression_statement "pNVar6 = (NODE *)peVar4->comment;" (assignment_expression "pNVar6 = (NODE *)peVar4->comment" identifier = (cast_expression "(NODE *)peVar4->comment" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "peVar4->comment" identifier -> field_identifier))) ;) (if_statement "if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }" if (parenthesized_expression "((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))" ( (binary_expression "(pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1)" (parenthesized_expression "(pNVar6 != (NODE *)0x0)" ( (binary_expression "pNVar6 != (NODE *)0x0" identifier != (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1)" ( (comma_expression "iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1" (assignment_expression "iVar3 = (pNVar6->sub).val.sref + -1" identifier = (binary_expression "(pNVar6->sub).val.sref + -1" (field_expression "(pNVar6->sub).val.sref" (field_expression "(pNVar6->sub).val" (parenthesized_expression "(pNVar6->sub)" ( (field_expression "pNVar6->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) + number_literal)) , (comma_expression "(pNVar6->sub).val.sref = iVar3, iVar3 < 1" (assignment_expression "(pNVar6->sub).val.sref = iVar3" (field_expression "(pNVar6->sub).val.sref" (field_expression "(pNVar6->sub).val" (parenthesized_expression "(pNVar6->sub)" ( (field_expression "pNVar6->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) , (binary_expression "iVar3 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n                  r_unref(pNVar6);\n                }" { (expression_statement "r_unref(pNVar6);" (call_expression "r_unref(pNVar6)" identifier (argument_list "(pNVar6)" ( identifier ))) ;) })) (expression_statement "pNVar6 = (NODE *)peVar4->nexti;" (assignment_expression "pNVar6 = (NODE *)peVar4->nexti" identifier = (cast_expression "(NODE *)peVar4->nexti" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "peVar4->nexti" identifier -> field_identifier))) ;) (if_statement "if ((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))\n                {\n                  r_unref(pNVar6);\n                }" if (parenthesized_expression "((pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1))" ( (binary_expression "(pNVar6 != (NODE *)0x0) &&\n                   (iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1)" (parenthesized_expression "(pNVar6 != (NODE *)0x0)" ( (binary_expression "pNVar6 != (NODE *)0x0" identifier != (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1)" ( (comma_expression "iVar3 = (pNVar6->sub).val.sref + -1, (pNVar6->sub).val.sref = iVar3, iVar3 < 1" (assignment_expression "iVar3 = (pNVar6->sub).val.sref + -1" identifier = (binary_expression "(pNVar6->sub).val.sref + -1" (field_expression "(pNVar6->sub).val.sref" (field_expression "(pNVar6->sub).val" (parenthesized_expression "(pNVar6->sub)" ( (field_expression "pNVar6->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) + number_literal)) , (comma_expression "(pNVar6->sub).val.sref = iVar3, iVar3 < 1" (assignment_expression "(pNVar6->sub).val.sref = iVar3" (field_expression "(pNVar6->sub).val.sref" (field_expression "(pNVar6->sub).val" (parenthesized_expression "(pNVar6->sub)" ( (field_expression "pNVar6->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) , (binary_expression "iVar3 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n                  r_unref(pNVar6);\n                }" { (expression_statement "r_unref(pNVar6);" (call_expression "r_unref(pNVar6)" identifier (argument_list "(pNVar6)" ( identifier ))) ;) })) (expression_statement "peVar4->nexti = *(exp_instruction **)puVar2;" (assignment_expression "peVar4->nexti = *(exp_instruction **)puVar2" (field_expression "peVar4->nexti" identifier -> field_identifier) = (pointer_expression "*(exp_instruction **)puVar2" * (cast_expression "(exp_instruction **)puVar2" ( (type_descriptor "exp_instruction **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(exp_instruction **)puVar2 = peVar4;" (assignment_expression "*(exp_instruction **)puVar2 = peVar4" (pointer_expression "*(exp_instruction **)puVar2" * (cast_expression "(exp_instruction **)puVar2" ( (type_descriptor "exp_instruction **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) })) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;) })) (expression_statement "tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt;" (assignment_expression "tmp = ((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt" identifier = (field_expression "((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )->bpt" (parenthesized_expression "((anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)\n                  )" ( (cast_expression "(anon_union_4_6_069190ba_for_x *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)" ( (type_descriptor "anon_union_4_6_069190ba_for_x *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1)" ( (binary_expression "(anon_union_4_6_56fdb54c_for_d *)piVar1->i + 1" (cast_expression "(anon_union_4_6_56fdb54c_for_d *)piVar1->i" ( (type_descriptor "anon_union_4_6_56fdb54c_for_d *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "piVar1->i" identifier -> field_identifier)) + number_literal) ))) )) -> field_identifier)) ;) }) (else_clause "else {\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }" else (compound_statement "{\n            if (OVar5 == Op_push_re) goto LAB_004752c8;\n            if (OVar5 == Op_token) goto LAB_00475294;\n            if (OVar5 != Op_push_i) goto joined_r0x004751d0;\n            tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;\n          }" { (if_statement "if (OVar5 == Op_push_re) goto LAB_004752c8;" if (parenthesized_expression "(OVar5 == Op_push_re)" ( (binary_expression "OVar5 == Op_push_re" identifier == identifier) )) (goto_statement "goto LAB_004752c8;" goto statement_identifier ;)) (if_statement "if (OVar5 == Op_token) goto LAB_00475294;" if (parenthesized_expression "(OVar5 == Op_token)" ( (binary_expression "OVar5 == Op_token" identifier == identifier) )) (goto_statement "goto LAB_00475294;" goto statement_identifier ;)) (if_statement "if (OVar5 != Op_push_i) goto joined_r0x004751d0;" if (parenthesized_expression "(OVar5 != Op_push_i)" ( (binary_expression "OVar5 != Op_push_i" identifier != identifier) )) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;)) (expression_statement "tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn;" (assignment_expression "tmp = (break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn" identifier = (cast_expression "(break_point *)((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn" ( (type_descriptor "break_point *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn" (parenthesized_expression "((anon_union_4_6_56fdb54c_for_d *)piVar1->i)" ( (cast_expression "(anon_union_4_6_56fdb54c_for_d *)piVar1->i" ( (type_descriptor "anon_union_4_6_56fdb54c_for_d *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "piVar1->i" identifier -> field_identifier)) )) -> field_identifier))) ;) }))) (if_statement "if ((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)) {\n            r_unref((NODE *)tmp);\n          }" if (parenthesized_expression "((tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1))" ( (binary_expression "(tmp != (break_point *)0x0) &&\n             (iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)" (parenthesized_expression "(tmp != (break_point *)0x0)" ( (binary_expression "tmp != (break_point *)0x0" identifier != (cast_expression "(break_point *)0x0" ( (type_descriptor "break_point *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1)" ( (comma_expression "iVar3 = tmp->hit_count + -1, tmp->hit_count = iVar3, iVar3 < 1" (assignment_expression "iVar3 = tmp->hit_count + -1" identifier = (binary_expression "tmp->hit_count + -1" (field_expression "tmp->hit_count" identifier -> field_identifier) + number_literal)) , (comma_expression "tmp->hit_count = iVar3, iVar3 < 1" (assignment_expression "tmp->hit_count = iVar3" (field_expression "tmp->hit_count" identifier -> field_identifier) = identifier) , (binary_expression "iVar3 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n            r_unref((NODE *)tmp);\n          }" { (expression_statement "r_unref((NODE *)tmp);" (call_expression "r_unref((NODE *)tmp)" identifier (argument_list "((NODE *)tmp)" ( (cast_expression "(NODE *)tmp" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;) })) (labeled_statement "LAB_00475294:\n        if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {\n          (*(code *)PTR_free_004b239c)();\n        }" statement_identifier : (if_statement "if (((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0) {\n          (*(code *)PTR_free_004b239c)();\n        }" if (parenthesized_expression "(((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0)" ( (binary_expression "((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn != (NODE *)0x0" (field_expression "((anon_union_4_6_56fdb54c_for_d *)piVar1->i)->dn" (parenthesized_expression "((anon_union_4_6_56fdb54c_for_d *)piVar1->i)" ( (cast_expression "(anon_union_4_6_56fdb54c_for_d *)piVar1->i" ( (type_descriptor "anon_union_4_6_56fdb54c_for_d *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "piVar1->i" identifier -> field_identifier)) )) -> field_identifier) != (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          (*(code *)PTR_free_004b239c)();\n        }" { (expression_statement "(*(code *)PTR_free_004b239c)();" (call_expression "(*(code *)PTR_free_004b239c)()" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }))) })) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;) })) (expression_statement "piVar9 = piVar8->next;" (assignment_expression "piVar9 = piVar8->next" identifier = (field_expression "piVar8->next" identifier -> field_identifier)) ;) (expression_statement "(*(code *)PTR_free_004b239c)(piVar8);" (call_expression "(*(code *)PTR_free_004b239c)(piVar8)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar8)" ( identifier ))) ;) (if_statement "if (piVar9 == (instruction_block *)0x0) goto LAB_00475354;" if (parenthesized_expression "(piVar9 == (instruction_block *)0x0)" ( (binary_expression "piVar9 == (instruction_block *)0x0" identifier == (cast_expression "(instruction_block *)0x0" ( (type_descriptor "instruction_block *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00475354;" goto statement_identifier ;)) (expression_statement "piVar10 = piVar9 + 1;" (assignment_expression "piVar10 = piVar9 + 1" identifier = (binary_expression "piVar9 + 1" identifier + number_literal)) ;) (expression_statement "piVar8 = piVar9;" (assignment_expression "piVar8 = piVar9" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void free_context(int *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  \n  puVar1 = PTR_nextfree_004b1bf0;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar10 = 0x18;\n  piVar6 = param_1;\n  while ((int *)*piVar6 == (int *)0x0) {\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }\n  piVar9 = (int *)piVar6[1];\n  piVar7 = (int *)*piVar6;\n  do {\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  } while( true );\n}\n\n" (function_definition "void free_context(int *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  \n  puVar1 = PTR_nextfree_004b1bf0;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar10 = 0x18;\n  piVar6 = param_1;\n  while ((int *)*piVar6 == (int *)0x0) {\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }\n  piVar9 = (int *)piVar6[1];\n  piVar7 = (int *)*piVar6;\n  do {\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  } while( true );\n}" primitive_type (function_declarator "free_context(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  \n  puVar1 = PTR_nextfree_004b1bf0;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar10 = 0x18;\n  piVar6 = param_1;\n  while ((int *)*piVar6 == (int *)0x0) {\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }\n  piVar9 = (int *)piVar6[1];\n  piVar7 = (int *)*piVar6;\n  do {\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_nextfree_004b1bf0;" (assignment_expression "puVar1 = PTR_nextfree_004b1bf0" identifier = identifier) ;) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar10 = 0x18;" (assignment_expression "iVar10 = 0x18" identifier = number_literal) ;) (expression_statement "piVar6 = param_1;" (assignment_expression "piVar6 = param_1" identifier = identifier) ;) (while_statement "while ((int *)*piVar6 == (int *)0x0) {\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }" while (parenthesized_expression "((int *)*piVar6 == (int *)0x0)" ( (binary_expression "(int *)*piVar6 == (int *)0x0" (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier)) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }" { (labeled_statement "LAB_00475354:\n    iVar10 = iVar10 + 0x18;" statement_identifier : (expression_statement "iVar10 = iVar10 + 0x18;" (assignment_expression "iVar10 = iVar10 + 0x18" identifier = (binary_expression "iVar10 + 0x18" identifier + number_literal)) ;)) (expression_statement "piVar6 = piVar6 + 3;" (assignment_expression "piVar6 = piVar6 + 3" identifier = (binary_expression "piVar6 + 3" identifier + number_literal)) ;) (if_statement "if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }" if (parenthesized_expression "(iVar10 == 0x78)" ( (binary_expression "iVar10 == 0x78" identifier == number_literal) )) (compound_statement "{\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }" { (expression_statement "FUN_00474318(param_1 + 0xc,param_2);" (call_expression "FUN_00474318(param_1 + 0xc,param_2)" identifier (argument_list "(param_1 + 0xc,param_2)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_free_004b239c)(param_1);" (call_expression "(*(code *)PTR_free_004b239c)(param_1)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (expression_statement "piVar9 = (int *)piVar6[1];" (assignment_expression "piVar9 = (int *)piVar6[1]" identifier = (cast_expression "(int *)piVar6[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar7 = (int *)*piVar6;" (assignment_expression "piVar7 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (do_statement "do {\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  } while( true );" do (compound_statement "{\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  }" { (expression_statement "piVar8 = piVar7 + 1;" (assignment_expression "piVar8 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) (labeled_statement "joined_r0x004751d0:\n    piVar3 = piVar8;" statement_identifier : (expression_statement "piVar3 = piVar8;" (assignment_expression "piVar3 = piVar8" identifier = identifier) ;)) (expression_statement "piVar8 = (int *)((int)piVar3 + iVar10);" (assignment_expression "piVar8 = (int *)((int)piVar3 + iVar10)" identifier = (cast_expression "(int *)((int)piVar3 + iVar10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + iVar10)" ( (binary_expression "(int)piVar3 + iVar10" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }" if (parenthesized_expression "(piVar8 <= piVar9)" ( (binary_expression "piVar8 <= piVar9" identifier <= identifier) )) (compound_statement "{\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }" { (expression_statement "uVar4 = piVar3[5];" (assignment_expression "uVar4 = piVar3[5]" identifier = (subscript_expression "piVar3[5]" identifier [ number_literal ])) ;) (if_statement "if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }" { (if_statement "if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }" if (parenthesized_expression "(uVar4 != 0x48)" ( (binary_expression "uVar4 != 0x48" identifier != number_literal) )) (compound_statement "{\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }" { (if_statement "if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }" if (parenthesized_expression "(uVar4 < 0x49)" ( (binary_expression "uVar4 < 0x49" identifier < number_literal) )) (compound_statement "{\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }" { (if_statement "if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }" if (parenthesized_expression "(uVar4 != 0x1b)" ( (binary_expression "uVar4 != 0x1b" identifier != number_literal) )) (compound_statement "{\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }" { (if_statement "if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }" if (parenthesized_expression "((0x1a < uVar4) && (uVar4 - 0x2f < 3))" ( (binary_expression "(0x1a < uVar4) && (uVar4 - 0x2f < 3)" (parenthesized_expression "(0x1a < uVar4)" ( (binary_expression "0x1a < uVar4" number_literal < identifier) )) && (parenthesized_expression "(uVar4 - 0x2f < 3)" ( (binary_expression "uVar4 - 0x2f < 3" (binary_expression "uVar4 - 0x2f" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }" { (labeled_statement "LAB_004752c8:\n                piVar3 = (int *)piVar3[1];" statement_identifier : (expression_statement "piVar3 = (int *)piVar3[1];" (assignment_expression "piVar3 = (int *)piVar3[1]" identifier = (cast_expression "(int *)piVar3[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[1]" identifier [ number_literal ]))) ;)) (if_statement "if (piVar3[1] != 0) {\n                  refree();\n                }" if (parenthesized_expression "(piVar3[1] != 0)" ( (binary_expression "piVar3[1] != 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                  refree();\n                }" { (expression_statement "refree();" (call_expression "refree()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (piVar3[2] != 0) {\n                  refree();\n                }" if (parenthesized_expression "(piVar3[2] != 0)" ( (binary_expression "piVar3[2] != 0" (subscript_expression "piVar3[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                  refree();\n                }" { (expression_statement "refree();" (call_expression "refree()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = piVar3[3];" (assignment_expression "iVar5 = piVar3[3]" identifier = (subscript_expression "piVar3[3]" identifier [ number_literal ])) ;) (if_statement "if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }" if (parenthesized_expression "((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))" ( (binary_expression "(iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" ( (comma_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar5 + 0x10) + -1" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "*(int *)(iVar5 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "iVar2 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n                  r_unref();\n                }" { (expression_statement "r_unref();" (call_expression "r_unref()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = *piVar3;" (assignment_expression "iVar5 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }" if (parenthesized_expression "((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))" ( (binary_expression "(iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" ( (comma_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar5 + 0x10) + -1" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "*(int *)(iVar5 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "iVar2 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n                  r_unref();\n                }" { (expression_statement "r_unref();" (call_expression "r_unref()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "*piVar3 = *(int *)puVar1;" (assignment_expression "*piVar3 = *(int *)puVar1" (pointer_expression "*piVar3" * identifier) = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(int **)puVar1 = piVar3;" (assignment_expression "*(int **)puVar1 = piVar3" (pointer_expression "*(int **)puVar1" * (cast_expression "(int **)puVar1" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) })) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;) })) (expression_statement "iVar5 = piVar3[2];" (assignment_expression "iVar5 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }" else (compound_statement "{\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }" { (if_statement "if (uVar4 == 0x4e) goto LAB_004752c8;" if (parenthesized_expression "(uVar4 == 0x4e)" ( (binary_expression "uVar4 == 0x4e" identifier == number_literal) )) (goto_statement "goto LAB_004752c8;" goto statement_identifier ;)) (if_statement "if (uVar4 == 0x6b) goto LAB_00475294;" if (parenthesized_expression "(uVar4 == 0x6b)" ( (binary_expression "uVar4 == 0x6b" identifier == number_literal) )) (goto_statement "goto LAB_00475294;" goto statement_identifier ;)) (if_statement "if (uVar4 != 0x4d) goto joined_r0x004751d0;" if (parenthesized_expression "(uVar4 != 0x4d)" ( (binary_expression "uVar4 != 0x4d" identifier != number_literal) )) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;)) (expression_statement "iVar5 = piVar3[1];" (assignment_expression "iVar5 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) }))) (if_statement "if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }" if (parenthesized_expression "((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))" ( (binary_expression "(iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" ( (comma_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar5 + 0x10) + -1" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "*(int *)(iVar5 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "iVar2 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n            r_unref();\n          }" { (expression_statement "r_unref();" (call_expression "r_unref()" identifier (argument_list "()" ( ))) ;) })) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;) })) (labeled_statement "LAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }" statement_identifier : (if_statement "if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }" if (parenthesized_expression "(piVar3[1] != 0)" ( (binary_expression "piVar3[1] != 0" (subscript_expression "piVar3[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_004b239c)();\n        }" { (expression_statement "(*(code *)PTR_free_004b239c)();" (call_expression "(*(code *)PTR_free_004b239c)()" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }))) })) (goto_statement "goto joined_r0x004751d0;" goto statement_identifier ;) })) (expression_statement "piVar8 = (int *)*piVar7;" (assignment_expression "piVar8 = (int *)*piVar7" identifier = (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) (expression_statement "(*(code *)PTR_free_004b239c)(piVar7);" (call_expression "(*(code *)PTR_free_004b239c)(piVar7)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" ( (pointer_expression "*(code *)PTR_free_004b239c" * (cast_expression "(code *)PTR_free_004b239c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (piVar8 == (int *)0x0) goto LAB_00475354;" if (parenthesized_expression "(piVar8 == (int *)0x0)" ( (binary_expression "piVar8 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00475354;" goto statement_identifier ;)) (expression_statement "piVar9 = piVar8 + 0x2f5;" (assignment_expression "piVar9 = piVar8 + 0x2f5" identifier = (binary_expression "piVar8 + 0x2f5" identifier + number_literal)) ;) (expression_statement "piVar7 = piVar8;" (assignment_expression "piVar7 = piVar8" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement 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 IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) , (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) , (binary_expression IDENT < LIT))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) , (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) , (binary_expression IDENT < LIT))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) , (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) , (binary_expression IDENT < LIT))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) }))) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void free_context(int *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  \n  puVar1 = PTR_nextfree_004b1bf0;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar10 = 0x18;\n  piVar6 = param_1;\n  while ((int *)*piVar6 == (int *)0x0) {\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }\n  piVar9 = (int *)piVar6[1];\n  piVar7 = (int *)*piVar6;\n  do {\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  } while( true );\n}" (primitive_type "void") (function_declarator "free_context(int *param_1,undefined4 param_2)" (identifier "free_context") (parameter_list "(int *param_1,undefined4 param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  \n  puVar1 = PTR_nextfree_004b1bf0;\n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  iVar10 = 0x18;\n  piVar6 = param_1;\n  while ((int *)*piVar6 == (int *)0x0) {\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }\n  piVar9 = (int *)piVar6[1];\n  piVar7 = (int *)*piVar6;\n  do {\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  } while( true );\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (expression_statement "puVar1 = PTR_nextfree_004b1bf0;" (assignment_expression "puVar1 = PTR_nextfree_004b1bf0" (identifier "puVar1") (= "=") (identifier "PTR_nextfree_004b1bf0")) (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar10 = 0x18;" (assignment_expression "iVar10 = 0x18" (identifier "iVar10") (= "=") (number_literal "0x18")) (; ";")) (expression_statement "piVar6 = param_1;" (assignment_expression "piVar6 = param_1" (identifier "piVar6") (= "=") (identifier "param_1")) (; ";")) (while_statement "while ((int *)*piVar6 == (int *)0x0) {\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }" (while "while") (parenthesized_expression "((int *)*piVar6 == (int *)0x0)" (( "(") (binary_expression "(int *)*piVar6 == (int *)0x0" (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_00475354:\n    iVar10 = iVar10 + 0x18;\n    piVar6 = piVar6 + 3;\n    if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }\n  }" ({ "{") (labeled_statement "LAB_00475354:\n    iVar10 = iVar10 + 0x18;" (statement_identifier "LAB_00475354") (: ":") (expression_statement "iVar10 = iVar10 + 0x18;" (assignment_expression "iVar10 = iVar10 + 0x18" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 0x18" (identifier "iVar10") (+ "+") (number_literal "0x18"))) (; ";"))) (expression_statement "piVar6 = piVar6 + 3;" (assignment_expression "piVar6 = piVar6 + 3" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 3" (identifier "piVar6") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (iVar10 == 0x78) {\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar10 == 0x78)" (( "(") (binary_expression "iVar10 == 0x78" (identifier "iVar10") (== "==") (number_literal "0x78")) () ")")) (compound_statement "{\n      FUN_00474318(param_1 + 0xc,param_2);\n      (*(code *)PTR_free_004b239c)(param_1);\n      return;\n    }" ({ "{") (expression_statement "FUN_00474318(param_1 + 0xc,param_2);" (call_expression "FUN_00474318(param_1 + 0xc,param_2)" (identifier "FUN_00474318") (argument_list "(param_1 + 0xc,param_2)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_004b239c)(param_1);" (call_expression "(*(code *)PTR_free_004b239c)(param_1)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" (( "(") (pointer_expression "*(code *)PTR_free_004b239c" (* "*") (cast_expression "(code *)PTR_free_004b239c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_004b239c"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar9 = (int *)piVar6[1];" (assignment_expression "piVar9 = (int *)piVar6[1]" (identifier "piVar9") (= "=") (cast_expression "(int *)piVar6[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "piVar7 = (int *)*piVar6;" (assignment_expression "piVar7 = (int *)*piVar6" (identifier "piVar7") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (do_statement "do {\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  } while( true );" (do "do") (compound_statement "{\n    piVar8 = piVar7 + 1;\njoined_r0x004751d0:\n    piVar3 = piVar8;\n    piVar8 = (int *)((int)piVar3 + iVar10);\n    if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }\n    piVar8 = (int *)*piVar7;\n    (*(code *)PTR_free_004b239c)(piVar7);\n    if (piVar8 == (int *)0x0) goto LAB_00475354;\n    piVar9 = piVar8 + 0x2f5;\n    piVar7 = piVar8;\n  }" ({ "{") (expression_statement "piVar8 = piVar7 + 1;" (assignment_expression "piVar8 = piVar7 + 1" (identifier "piVar8") (= "=") (binary_expression "piVar7 + 1" (identifier "piVar7") (+ "+") (number_literal "1"))) (; ";")) (labeled_statement "joined_r0x004751d0:\n    piVar3 = piVar8;" (statement_identifier "joined_r0x004751d0") (: ":") (expression_statement "piVar3 = piVar8;" (assignment_expression "piVar3 = piVar8" (identifier "piVar3") (= "=") (identifier "piVar8")) (; ";"))) (expression_statement "piVar8 = (int *)((int)piVar3 + iVar10);" (assignment_expression "piVar8 = (int *)((int)piVar3 + iVar10)" (identifier "piVar8") (= "=") (cast_expression "(int *)((int)piVar3 + iVar10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar3 + iVar10)" (( "(") (binary_expression "(int)piVar3 + iVar10" (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3")) (+ "+") (identifier "iVar10")) () ")")))) (; ";")) (if_statement "if (piVar8 <= piVar9) {\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }" (if "if") (parenthesized_expression "(piVar8 <= piVar9)" (( "(") (binary_expression "piVar8 <= piVar9" (identifier "piVar8") (<= "<=") (identifier "piVar9")) () ")")) (compound_statement "{\n      uVar4 = piVar3[5];\n      if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }\n      goto joined_r0x004751d0;\n    }" ({ "{") (expression_statement "uVar4 = piVar3[5];" (assignment_expression "uVar4 = piVar3[5]" (identifier "uVar4") (= "=") (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]"))) (; ";")) (if_statement "if (uVar4 != 0) {\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }" (if "if") (parenthesized_expression "(uVar4 != 0)" (( "(") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }\nLAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }\n      }" ({ "{") (if_statement "if (uVar4 != 0x48) {\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }" (if "if") (parenthesized_expression "(uVar4 != 0x48)" (( "(") (binary_expression "uVar4 != 0x48" (identifier "uVar4") (!= "!=") (number_literal "0x48")) () ")")) (compound_statement "{\n          if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }\n          if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }\n          goto joined_r0x004751d0;\n        }" ({ "{") (if_statement "if (uVar4 < 0x49) {\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }\n          else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }" (if "if") (parenthesized_expression "(uVar4 < 0x49)" (( "(") (binary_expression "uVar4 < 0x49" (identifier "uVar4") (< "<") (number_literal "0x49")) () ")")) (compound_statement "{\n            if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }\n            iVar5 = piVar3[2];\n          }" ({ "{") (if_statement "if (uVar4 != 0x1b) {\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }" (if "if") (parenthesized_expression "(uVar4 != 0x1b)" (( "(") (binary_expression "uVar4 != 0x1b" (identifier "uVar4") (!= "!=") (number_literal "0x1b")) () ")")) (compound_statement "{\n              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }\n              goto joined_r0x004751d0;\n            }" ({ "{") (if_statement "if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }" (if "if") (parenthesized_expression "((0x1a < uVar4) && (uVar4 - 0x2f < 3))" (( "(") (binary_expression "(0x1a < uVar4) && (uVar4 - 0x2f < 3)" (parenthesized_expression "(0x1a < uVar4)" (( "(") (binary_expression "0x1a < uVar4" (number_literal "0x1a") (< "<") (identifier "uVar4")) () ")")) (&& "&&") (parenthesized_expression "(uVar4 - 0x2f < 3)" (( "(") (binary_expression "uVar4 - 0x2f < 3" (binary_expression "uVar4 - 0x2f" (identifier "uVar4") (- "-") (number_literal "0x2f")) (< "<") (number_literal "3")) () ")"))) () ")")) (compound_statement "{\nLAB_004752c8:\n                piVar3 = (int *)piVar3[1];\n                if (piVar3[1] != 0) {\n                  refree();\n                }\n                if (piVar3[2] != 0) {\n                  refree();\n                }\n                iVar5 = piVar3[3];\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                iVar5 = *piVar3;\n                if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }\n                *piVar3 = *(int *)puVar1;\n                *(int **)puVar1 = piVar3;\n              }" ({ "{") (labeled_statement "LAB_004752c8:\n                piVar3 = (int *)piVar3[1];" (statement_identifier "LAB_004752c8") (: ":") (expression_statement "piVar3 = (int *)piVar3[1];" (assignment_expression "piVar3 = (int *)piVar3[1]" (identifier "piVar3") (= "=") (cast_expression "(int *)piVar3[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")))) (; ";"))) (if_statement "if (piVar3[1] != 0) {\n                  refree();\n                }" (if "if") (parenthesized_expression "(piVar3[1] != 0)" (( "(") (binary_expression "piVar3[1] != 0" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  refree();\n                }" ({ "{") (expression_statement "refree();" (call_expression "refree()" (identifier "refree") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (piVar3[2] != 0) {\n                  refree();\n                }" (if "if") (parenthesized_expression "(piVar3[2] != 0)" (( "(") (binary_expression "piVar3[2] != 0" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  refree();\n                }" ({ "{") (expression_statement "refree();" (call_expression "refree()" (identifier "refree") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar5 = piVar3[3];" (assignment_expression "iVar5 = piVar3[3]" (identifier "iVar5") (= "=") (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }" (if "if") (parenthesized_expression "((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))" (( "(") (binary_expression "(iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (( "(") (comma_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1" (identifier "iVar2") (= "=") (binary_expression "*(int *)(iVar5 + 0x10) + -1" (pointer_expression "*(int *)(iVar5 + 0x10)" (* "*") (cast_expression "(int *)(iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "-1"))) (, ",") (comma_expression "*(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "*(int *)(iVar5 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar5 + 0x10)" (* "*") (cast_expression "(int *)(iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar2")) (, ",") (binary_expression "iVar2 < 1" (identifier "iVar2") (< "<") (number_literal "1")))) () ")"))) () ")")) (compound_statement "{\n                  r_unref();\n                }" ({ "{") (expression_statement "r_unref();" (call_expression "r_unref()" (identifier "r_unref") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar5 = *piVar3;" (assignment_expression "iVar5 = *piVar3" (identifier "iVar5") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (if_statement "if ((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))\n                {\n                  r_unref();\n                }" (if "if") (parenthesized_expression "((iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))" (( "(") (binary_expression "(iVar5 != 0) &&\n                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (( "(") (comma_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1" (identifier "iVar2") (= "=") (binary_expression "*(int *)(iVar5 + 0x10) + -1" (pointer_expression "*(int *)(iVar5 + 0x10)" (* "*") (cast_expression "(int *)(iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "-1"))) (, ",") (comma_expression "*(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "*(int *)(iVar5 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar5 + 0x10)" (* "*") (cast_expression "(int *)(iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar2")) (, ",") (binary_expression "iVar2 < 1" (identifier "iVar2") (< "<") (number_literal "1")))) () ")"))) () ")")) (compound_statement "{\n                  r_unref();\n                }" ({ "{") (expression_statement "r_unref();" (call_expression "r_unref()" (identifier "r_unref") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "*piVar3 = *(int *)puVar1;" (assignment_expression "*piVar3 = *(int *)puVar1" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "*(int **)puVar1 = piVar3;" (assignment_expression "*(int **)puVar1 = piVar3" (pointer_expression "*(int **)puVar1" (* "*") (cast_expression "(int **)puVar1" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1"))) (= "=") (identifier "piVar3")) (; ";")) (} "}"))) (goto_statement "goto joined_r0x004751d0;" (goto "goto") (statement_identifier "joined_r0x004751d0") (; ";")) (} "}"))) (expression_statement "iVar5 = piVar3[2];" (assignment_expression "iVar5 = piVar3[2]" (identifier "iVar5") (= "=") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }" (else "else") (compound_statement "{\n            if (uVar4 == 0x4e) goto LAB_004752c8;\n            if (uVar4 == 0x6b) goto LAB_00475294;\n            if (uVar4 != 0x4d) goto joined_r0x004751d0;\n            iVar5 = piVar3[1];\n          }" ({ "{") (if_statement "if (uVar4 == 0x4e) goto LAB_004752c8;" (if "if") (parenthesized_expression "(uVar4 == 0x4e)" (( "(") (binary_expression "uVar4 == 0x4e" (identifier "uVar4") (== "==") (number_literal "0x4e")) () ")")) (goto_statement "goto LAB_004752c8;" (goto "goto") (statement_identifier "LAB_004752c8") (; ";"))) (if_statement "if (uVar4 == 0x6b) goto LAB_00475294;" (if "if") (parenthesized_expression "(uVar4 == 0x6b)" (( "(") (binary_expression "uVar4 == 0x6b" (identifier "uVar4") (== "==") (number_literal "0x6b")) () ")")) (goto_statement "goto LAB_00475294;" (goto "goto") (statement_identifier "LAB_00475294") (; ";"))) (if_statement "if (uVar4 != 0x4d) goto joined_r0x004751d0;" (if "if") (parenthesized_expression "(uVar4 != 0x4d)" (( "(") (binary_expression "uVar4 != 0x4d" (identifier "uVar4") (!= "!=") (number_literal "0x4d")) () ")")) (goto_statement "goto joined_r0x004751d0;" (goto "goto") (statement_identifier "joined_r0x004751d0") (; ";"))) (expression_statement "iVar5 = piVar3[1];" (assignment_expression "iVar5 = piVar3[1]" (identifier "iVar5") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")))) (if_statement "if ((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {\n            r_unref();\n          }" (if "if") (parenthesized_expression "((iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))" (( "(") (binary_expression "(iVar5 != 0) &&\n             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)" (( "(") (comma_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10) + -1" (identifier "iVar2") (= "=") (binary_expression "*(int *)(iVar5 + 0x10) + -1" (pointer_expression "*(int *)(iVar5 + 0x10)" (* "*") (cast_expression "(int *)(iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "-1"))) (, ",") (comma_expression "*(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1" (assignment_expression "*(int *)(iVar5 + 0x10) = iVar2" (pointer_expression "*(int *)(iVar5 + 0x10)" (* "*") (cast_expression "(int *)(iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar2")) (, ",") (binary_expression "iVar2 < 1" (identifier "iVar2") (< "<") (number_literal "1")))) () ")"))) () ")")) (compound_statement "{\n            r_unref();\n          }" ({ "{") (expression_statement "r_unref();" (call_expression "r_unref()" (identifier "r_unref") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (goto_statement "goto joined_r0x004751d0;" (goto "goto") (statement_identifier "joined_r0x004751d0") (; ";")) (} "}"))) (labeled_statement "LAB_00475294:\n        if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }" (statement_identifier "LAB_00475294") (: ":") (if_statement "if (piVar3[1] != 0) {\n          (*(code *)PTR_free_004b239c)();\n        }" (if "if") (parenthesized_expression "(piVar3[1] != 0)" (( "(") (binary_expression "piVar3[1] != 0" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_free_004b239c)();\n        }" ({ "{") (expression_statement "(*(code *)PTR_free_004b239c)();" (call_expression "(*(code *)PTR_free_004b239c)()" (parenthesized_expression "(*(code *)PTR_free_004b239c)" (( "(") (pointer_expression "*(code *)PTR_free_004b239c" (* "*") (cast_expression "(code *)PTR_free_004b239c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_004b239c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (} "}"))) (goto_statement "goto joined_r0x004751d0;" (goto "goto") (statement_identifier "joined_r0x004751d0") (; ";")) (} "}"))) (expression_statement "piVar8 = (int *)*piVar7;" (assignment_expression "piVar8 = (int *)*piVar7" (identifier "piVar8") (= "=") (cast_expression "(int *)*piVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar7" (* "*") (identifier "piVar7")))) (; ";")) (expression_statement "(*(code *)PTR_free_004b239c)(piVar7);" (call_expression "(*(code *)PTR_free_004b239c)(piVar7)" (parenthesized_expression "(*(code *)PTR_free_004b239c)" (( "(") (pointer_expression "*(code *)PTR_free_004b239c" (* "*") (cast_expression "(code *)PTR_free_004b239c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_004b239c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (if_statement "if (piVar8 == (int *)0x0) goto LAB_00475354;" (if "if") (parenthesized_expression "(piVar8 == (int *)0x0)" (( "(") (binary_expression "piVar8 == (int *)0x0" (identifier "piVar8") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00475354;" (goto "goto") (statement_identifier "LAB_00475354") (; ";"))) (expression_statement "piVar9 = piVar8 + 0x2f5;" (assignment_expression "piVar9 = piVar8 + 0x2f5" (identifier "piVar9") (= "=") (binary_expression "piVar8 + 0x2f5" (identifier "piVar8") (+ "+") (number_literal "0x2f5"))) (; ";")) (expression_statement "piVar7 = piVar8;" (assignment_expression "piVar7 = piVar8" (identifier "piVar7") (= "=") (identifier "piVar8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *var_1,type_2 keep_globals)

{
  type_3 *piVar1;
  type_4 *puVar2;
  int var_17;
  type_5 *peVar4;
  type_6 var_8;
  type_7 *var_22;
  type_8 *var_16;
  type_9 in_register_00000014;
  type_1 *pAVar7;
  type_3 *var_2;
  type_3 *var_6;
  type_3 *var_7;
  int var_3;
  
  puVar2 = PTR_nextfree_004b1bf0;
  if (var_1 == (type_1 *)0x0) {
    return;
  }
  var_3 = 0x18;
  pAVar7 = var_1;
  while (var_2 = (pAVar7->pools).pool[0].block_list, var_2 == (type_3 *)0x0) {
LAB_00475354:
    var_3 = var_3 + 0x18;
    pAVar7 = (type_1 *)((pAVar7->pools).pool + 1);
    if (var_3 == 0x78) {
      var_4(&var_1->symbols,var_5(in_register_00000014,keep_globals));
      (*(type_10 *)PTR_free_004b239c)(var_1);
      return;
    }
  }
  var_7 = (type_3 *)(pAVar7->pools).pool[0].free_space;
  do {
    var_6 = (type_3 *)var_2->i;
joined_r0x004751d0:
    piVar1 = var_6;
    var_6 = (type_3 *)((int)&piVar1->next + var_3);
    if (var_6 <= var_7) {
      var_8 = (type_6)((type_11 *)piVar1->i)[4].dn;
      if (var_8 != var_9) {
        if (var_8 != var_10) {
          if (var_8 < var_11) {
            if (var_8 != var_12) {
              if ((var_13 < var_8) && (var_8 - var_14 < 3)) {
LAB_004752c8:
                peVar4 = ((type_11 *)piVar1->i)->di;
                if ((type_12 *)(peVar4->d).dn != (type_12 *)0x0) {
                  var_15((type_12 *)(peVar4->d).dn);
                }
                if ((type_12 *)(peVar4->x).xn != (type_12 *)0x0) {
                  var_15((type_12 *)(peVar4->x).xn);
                }
                var_16 = (type_8 *)peVar4->comment;
                if ((var_16 != (type_8 *)0x0) &&
                   (var_17 = (var_16->sub).val.sref + -1, (var_16->sub).val.sref = var_17, var_17 < 1))
                {
                  var_18(var_16);
                }
                var_16 = (type_8 *)peVar4->nexti;
                if ((var_16 != (type_8 *)0x0) &&
                   (var_17 = (var_16->sub).val.sref + -1, (var_16->sub).val.sref = var_17, var_17 < 1))
                {
                  var_18(var_16);
                }
                peVar4->nexti = *(type_5 **)puVar2;
                *(type_5 **)puVar2 = peVar4;
              }
              goto joined_r0x004751d0;
            }
            var_22 = ((type_13 *)((type_11 *)piVar1->i + 1)
                  )->bpt;
          }
          else {
            if (var_8 == var_19) goto LAB_004752c8;
            if (var_8 == var_20) goto LAB_00475294;
            if (var_8 != var_21) goto joined_r0x004751d0;
            var_22 = (type_7 *)((type_11 *)piVar1->i)->dn;
          }
          if ((var_22 != (type_7 *)0x0) &&
             (var_17 = var_22->hit_count + -1, var_22->hit_count = var_17, var_17 < 1)) {
            var_18((type_8 *)var_22);
          }
          goto joined_r0x004751d0;
        }
LAB_00475294:
        if (((type_11 *)piVar1->i)->dn != (type_8 *)0x0) {
          (*(type_10 *)PTR_free_004b239c)();
        }
      }
      goto joined_r0x004751d0;
    }
    var_6 = var_2->next;
    (*(type_10 *)PTR_free_004b239c)(var_2);
    if (var_6 == (type_3 *)0x0) goto LAB_00475354;
    var_7 = var_6 + 1;
    var_2 = var_6;
  } while( true );
}


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

void MASKED(int *param_1,undefined4 param_2)

{
  undefined *puVar1;
  int iVar2;
  int *piVar3;
  uint uVar4;
  int iVar5;
  int *piVar6;
  int *piVar7;
  int *piVar8;
  int *piVar9;
  int iVar10;
  
  puVar1 = PTR_nextfree_004b1bf0;
  if (param_1 == (int *)0x0) {
    return;
  }
  iVar10 = 0x18;
  piVar6 = param_1;
  while ((int *)*piVar6 == (int *)0x0) {
LAB_00475354:
    iVar10 = iVar10 + 0x18;
    piVar6 = piVar6 + 3;
    if (iVar10 == 0x78) {
      FUN_00474318(param_1 + 0xc,param_2);
      (*(code *)PTR_free_004b239c)(param_1);
      return;
    }
  }
  piVar9 = (int *)piVar6[1];
  piVar7 = (int *)*piVar6;
  do {
    piVar8 = piVar7 + 1;
joined_r0x004751d0:
    piVar3 = piVar8;
    piVar8 = (int *)((int)piVar3 + iVar10);
    if (piVar8 <= piVar9) {
      uVar4 = piVar3[5];
      if (uVar4 != 0) {
        if (uVar4 != 0x48) {
          if (uVar4 < 0x49) {
            if (uVar4 != 0x1b) {
              if ((0x1a < uVar4) && (uVar4 - 0x2f < 3)) {
LAB_004752c8:
                piVar3 = (int *)piVar3[1];
                if (piVar3[1] != 0) {
                  refree();
                }
                if (piVar3[2] != 0) {
                  refree();
                }
                iVar5 = piVar3[3];
                if ((iVar5 != 0) &&
                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))
                {
                  r_unref();
                }
                iVar5 = *piVar3;
                if ((iVar5 != 0) &&
                   (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1))
                {
                  r_unref();
                }
                *piVar3 = *(int *)puVar1;
                *(int **)puVar1 = piVar3;
              }
              goto joined_r0x004751d0;
            }
            iVar5 = piVar3[2];
          }
          else {
            if (uVar4 == 0x4e) goto LAB_004752c8;
            if (uVar4 == 0x6b) goto LAB_00475294;
            if (uVar4 != 0x4d) goto joined_r0x004751d0;
            iVar5 = piVar3[1];
          }
          if ((iVar5 != 0) &&
             (iVar2 = *(int *)(iVar5 + 0x10) + -1, *(int *)(iVar5 + 0x10) = iVar2, iVar2 < 1)) {
            r_unref();
          }
          goto joined_r0x004751d0;
        }
LAB_00475294:
        if (piVar3[1] != 0) {
          (*(code *)PTR_free_004b239c)();
        }
      }
      goto joined_r0x004751d0;
    }
    piVar8 = (int *)*piVar7;
    (*(code *)PTR_free_004b239c)(piVar7);
    if (piVar8 == (int *)0x0) goto LAB_00475354;
    piVar9 = piVar8 + 0x2f5;
    piVar7 = piVar8;
  } while( true );
}

