
/* WARNING: Unknown calling convention */

void delete_item(list_item *d)

{
  undefined *puVar1;
  uint uVar2;
  NODE *pNVar3;
  commands_item *pcVar4;
  list_item *plVar5;
  int iVar6;
  uint uVar7;
  NODE **ppNVar8;
  int iVar9;
  int iVar10;
  
  uVar2 = d->flags;
  if ((uVar2 & 2) == 0) {
    uVar7 = uVar2 & 0x10;
    if (((uVar2 & 4) == 0) || (pNVar3 = d->symbol, pNVar3 == (NODE *)0x0)) goto LAB_0043483c;
    iVar9 = (pNVar3->sub).val.sref + -1;
    (pNVar3->sub).val.sref = iVar9;
    if (iVar9 < 1) {
      (*(code *)PTR_r_unref_004b1b90)();
      uVar2 = d->flags;
    }
  }
  else {
    iVar9 = d->num_subs;
    ppNVar8 = d->subs;
    if (0 < iVar9) {
      iVar10 = 0;
      do {
        while( true ) {
          pNVar3 = ppNVar8[iVar10];
          iVar10 = iVar10 + 1;
          if ((pNVar3 == (NODE *)0x0) ||
             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))
          break;
          (*(code *)PTR_r_unref_004b1b90)(pNVar3);
          iVar9 = d->num_subs;
          ppNVar8 = d->subs;
          if (iVar9 <= iVar10) goto LAB_00434828;
        }
      } while (iVar10 < iVar9);
    }
LAB_00434828:
    (*(code *)PTR_free_004b239c)();
    uVar2 = d->flags;
  }
  uVar7 = uVar2 & 0x10;
LAB_0043483c:
  if (((uVar7 == 0) && (pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0)) &&
     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)) {
    (*(code *)PTR_r_unref_004b1b90)();
    uVar2 = d->flags;
  }
  if ((((uVar2 & 8) == 0) && (pNVar3 = d->value[1].n, pNVar3 != (NODE *)0x0)) &&
     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)) {
    (*(code *)PTR_r_unref_004b1b90)();
  }
  for (pcVar4 = (d->commands).next; pcVar4 != &d->commands; pcVar4 = pcVar4->next) {
    pcVar4 = pcVar4->prev;
    delete_commands_item(pcVar4->next);
  }
  (*(code *)PTR_free_context_004b1ca4)((d->cndn).ctxt,0);
  if ((d->cndn).expr != (char *)0x0) {
    (*(code *)PTR_free_004b239c)();
  }
  puVar1 = PTR_free_004b239c;
  plVar5 = d->next;
  plVar5->prev = d->prev;
  d->prev->next = plVar5;
  (*(code *)puVar1)(d);
  return;
}



void FUN_00434790(int *param_1)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  uint uVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  
  uVar2 = param_1[0x13];
  if ((uVar2 & 2) == 0) {
    uVar6 = uVar2 & 0x10;
    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;
    iVar8 = *(int *)(iVar7 + 0x10) + -1;
    *(int *)(iVar7 + 0x10) = iVar8;
    if (iVar8 < 1) {
      (*(code *)PTR_r_unref_004b1b90)();
      uVar2 = param_1[0x13];
    }
  }
  else {
    iVar8 = param_1[5];
    iVar7 = param_1[4];
    if (0 < iVar8) {
      iVar9 = 0;
      do {
        while( true ) {
          iVar3 = *(int *)(iVar7 + iVar9 * 4);
          iVar9 = iVar9 + 1;
          if ((iVar3 == 0) ||
             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))
          break;
          (*(code *)PTR_r_unref_004b1b90)(iVar3);
          iVar8 = param_1[5];
          iVar7 = param_1[4];
          if (iVar8 <= iVar9) goto LAB_00434828;
        }
      } while (iVar9 < iVar8);
    }
LAB_00434828:
    (*(code *)PTR_free_004b239c)();
    uVar2 = param_1[0x13];
  }
  uVar6 = uVar2 & 0x10;
LAB_0043483c:
  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&
     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {
    (*(code *)PTR_r_unref_004b1b90)();
    uVar2 = param_1[0x13];
  }
  if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&
     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {
    (*(code *)PTR_r_unref_004b1b90)();
  }
  for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {
    piVar4 = (int *)piVar4[1];
    FUN_00434728(*piVar4);
  }
  (*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);
  if (param_1[0x10] != 0) {
    (*(code *)PTR_free_004b239c)();
  }
  puVar1 = PTR_free_004b239c;
  iVar7 = *param_1;
  *(int *)(iVar7 + 4) = param_1[1];
  *(int *)param_1[1] = iVar7;
  (*(code *)puVar1)(param_1);
  return;
}


lui gp,0x4c
lw v0,0x4c(a0)
addiu sp,sp,-0x28
addiu gp,gp,-0x64e0
andi v1,v0,0x2
sw s1,0x1c(sp)
or s1,a0,zero
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s0,0x18(sp)
beq v1,zero,0x00434910
_sw gp,0x10(sp)
lw a1,0x14(a0)
blez a1,0x00434824
_lw a0,0x10(a0)
b 0x004347e0
_or s0,zero,zero
slt v0,s0,a1
beq v0,zero,0x00434828
_lw t9,-0x7784(gp)
sll v0,s0,0x2
addu v0,a0,v0
lw v0,0x0(v0)
beq v0,zero,0x004347d4
_addiu s0,s0,0x1
lw v1,0x10(v0)
addiu v1,v1,-0x1
bgtz v1,0x004347d4
_sw v1,0x10(v0)
lw t9,-0x7f90(gp)
jalr t9
_or a0,v0,zero
lw a1,0x14(s1)
lw gp,0x10(sp)
slt v0,s0,a1
bne v0,zero,0x004347e0
_lw a0,0x10(s1)
lw t9,-0x7784(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,0x4c(s1)
andi v1,v0,0x10
bne v1,zero,0x00434860
_nop
lw a0,0x44(s1)
beq a0,zero,0x00434860
_nop
lw v1,0x10(a0)
addiu v1,v1,-0x1
blez v1,0x00434950
_sw v1,0x10(a0)
andi v0,v0,0x8
bne v0,zero,0x00434888
_nop
lw a0,0x48(s1)
beq a0,zero,0x00434888
_nop
lw v0,0x10(a0)
addiu v0,v0,-0x1
blez v0,0x00434968
_sw v0,0x10(a0)
lw v0,0x20(s1)
addiu s2,s1,0x20
beq v0,s2,0x004348b4
_lw t9,-0x7e7c(gp)
lw s0,0x4(v0)
jal 0x00434728
_lw a0,0x0(s0)
lw v0,0x0(s0)
bne v0,s2,0x00434898
_lw gp,0x10(sp)
lw t9,-0x7e7c(gp)
or a1,zero,zero
jalr t9
_lw a0,0x3c(s1)
lw a0,0x40(s1)
beq a0,zero,0x004348dc
_lw gp,0x10(sp)
lw t9,-0x7784(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,0x0(s1)
or a0,s1,zero
lw v1,0x4(s1)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s0,0x18(sp)
lw t9,-0x7784(gp)
sw v1,0x4(v0)
lw v1,0x4(s1)
lw s1,0x1c(sp)
sw v0,0x0(v1)
jr t9
_addiu sp,sp,0x28
andi v1,v0,0x4
beq v1,zero,0x0043483c
_andi v1,v0,0x10
lw a0,0xc(a0)
beq a0,zero,0x0043483c
_nop
lw v1,0x10(a0)
addiu v1,v1,-0x1
bgtz v1,0x00434838
_sw v1,0x10(a0)
lw t9,-0x7f90(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x00434838
_lw v0,0x4c(s1)
lw t9,-0x7f90(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x00434860
_lw v0,0x4c(s1)
lw t9,-0x7f90(gp)
jalr t9
_nop
b 0x00434888
_lw gp,0x10(sp)
(translation_unit "void FUN_00434790(int *param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  \n  uVar2 = param_1[0x13];\n  if ((uVar2 & 2) == 0) {\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }\n  else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }\n  uVar6 = uVar2 & 0x10;\nLAB_0043483c:\n  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }\n  if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }\n  for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }\n  (*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);\n  if (param_1[0x10] != 0) {\n    (*(code *)PTR_free_004b239c)();\n  }\n  puVar1 = PTR_free_004b239c;\n  iVar7 = *param_1;\n  *(int *)(iVar7 + 4) = param_1[1];\n  *(int *)param_1[1] = iVar7;\n  (*(code *)puVar1)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00434790(int *param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  \n  uVar2 = param_1[0x13];\n  if ((uVar2 & 2) == 0) {\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }\n  else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }\n  uVar6 = uVar2 & 0x10;\nLAB_0043483c:\n  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }\n  if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }\n  for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }\n  (*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);\n  if (param_1[0x10] != 0) {\n    (*(code *)PTR_free_004b239c)();\n  }\n  puVar1 = PTR_free_004b239c;\n  iVar7 = *param_1;\n  *(int *)(iVar7 + 4) = param_1[1];\n  *(int *)param_1[1] = iVar7;\n  (*(code *)puVar1)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00434790(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  \n  uVar2 = param_1[0x13];\n  if ((uVar2 & 2) == 0) {\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }\n  else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }\n  uVar6 = uVar2 & 0x10;\nLAB_0043483c:\n  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }\n  if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }\n  for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }\n  (*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);\n  if (param_1[0x10] != 0) {\n    (*(code *)PTR_free_004b239c)();\n  }\n  puVar1 = PTR_free_004b239c;\n  iVar7 = *param_1;\n  *(int *)(iVar7 + 4) = param_1[1];\n  *(int *)param_1[1] = iVar7;\n  (*(code *)puVar1)(param_1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) (if_statement "if ((uVar2 & 2) == 0) {\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }\n  else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }" if (parenthesized_expression "((uVar2 & 2) == 0)" ( (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }" { (expression_statement "uVar6 = uVar2 & 0x10;" (assignment_expression "uVar6 = uVar2 & 0x10" identifier = (binary_expression "uVar2 & 0x10" identifier & number_literal)) ;) (if_statement "if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;" if (parenthesized_expression "(((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0))" ( (binary_expression "((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)" (parenthesized_expression "((uVar2 & 4) == 0)" ( (binary_expression "(uVar2 & 4) == 0" (parenthesized_expression "(uVar2 & 4)" ( (binary_expression "uVar2 & 4" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(iVar7 = param_1[3], iVar7 == 0)" ( (comma_expression "iVar7 = param_1[3], iVar7 == 0" (assignment_expression "iVar7 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0043483c;" goto statement_identifier ;)) (expression_statement "iVar8 = *(int *)(iVar7 + 0x10) + -1;" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar7 + 0x10) + -1" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(iVar7 + 0x10) = iVar8;" (assignment_expression "*(int *)(iVar7 + 0x10) = iVar8" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }" if (parenthesized_expression "(iVar8 < 1)" ( (binary_expression "iVar8 < 1" identifier < number_literal) )) (compound_statement "{\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }" { (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) })) }) (else_clause "else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }" else (compound_statement "{\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }" { (expression_statement "iVar8 = param_1[5];" (assignment_expression "iVar8 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_1[4];" (assignment_expression "iVar7 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }" if (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) (compound_statement "{\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);" do (compound_statement "{\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      }" { (while_statement "while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }" { (expression_statement "iVar3 = *(int *)(iVar7 + iVar9 * 4);" (assignment_expression "iVar3 = *(int *)(iVar7 + iVar9 * 4)" identifier = (pointer_expression "*(int *)(iVar7 + iVar9 * 4)" * (cast_expression "(int *)(iVar7 + iVar9 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + iVar9 * 4)" ( (binary_expression "iVar7 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;" if (parenthesized_expression "((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))" ( (binary_expression "(iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5)" ( (comma_expression "iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5" (assignment_expression "iVar5 = *(int *)(iVar3 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar3 + 0x10) + -1" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5" (assignment_expression "*(int *)(iVar3 + 0x10) = iVar5" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "0 < iVar5" number_literal < identifier))) ))) )) (break_statement "break;" break ;)) (expression_statement "(*(code *)PTR_r_unref_004b1b90)(iVar3);" (call_expression "(*(code *)PTR_r_unref_004b1b90)(iVar3)" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) (expression_statement "iVar8 = param_1[5];" (assignment_expression "iVar8 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_1[4];" (assignment_expression "iVar7 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (if_statement "if (iVar8 <= iVar9) goto LAB_00434828;" if (parenthesized_expression "(iVar8 <= iVar9)" ( (binary_expression "iVar8 <= iVar9" identifier <= identifier) )) (goto_statement "goto LAB_00434828;" goto statement_identifier ;)) })) }) while (parenthesized_expression "(iVar9 < iVar8)" ( (binary_expression "iVar9 < iVar8" identifier < identifier) )) ;) })) (labeled_statement "LAB_00434828:\n    (*(code *)PTR_free_004b239c)();" statement_identifier : (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 "()" ( ))) ;)) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) }))) (expression_statement "uVar6 = uVar2 & 0x10;" (assignment_expression "uVar6 = uVar2 & 0x10" identifier = (binary_expression "uVar2 & 0x10" identifier & number_literal)) ;) (labeled_statement "LAB_0043483c:\n  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }" statement_identifier : (if_statement "if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }" if (parenthesized_expression "(((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1))" ( (binary_expression "((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" (parenthesized_expression "((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0))" ( (binary_expression "(uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)" (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar7 = param_1[0x11], iVar7 != 0)" ( (comma_expression "iVar7 = param_1[0x11], iVar7 != 0" (assignment_expression "iVar7 = param_1[0x11]" identifier = (subscript_expression "param_1[0x11]" identifier [ number_literal ])) , (binary_expression "iVar7 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" ( (comma_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar7 + 0x10) + -1" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "*(int *)(iVar7 + 0x10) = iVar8" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "iVar8 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }" { (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) }))) (if_statement "if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }" if (parenthesized_expression "((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1))" ( (binary_expression "(((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" (parenthesized_expression "(((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0))" ( (binary_expression "((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)" (parenthesized_expression "((uVar2 & 8) == 0)" ( (binary_expression "(uVar2 & 8) == 0" (parenthesized_expression "(uVar2 & 8)" ( (binary_expression "uVar2 & 8" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(iVar7 = param_1[0x12], iVar7 != 0)" ( (comma_expression "iVar7 = param_1[0x12], iVar7 != 0" (assignment_expression "iVar7 = param_1[0x12]" identifier = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) , (binary_expression "iVar7 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" ( (comma_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar7 + 0x10) + -1" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "*(int *)(iVar7 + 0x10) = iVar8" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "iVar8 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n    (*(code *)PTR_r_unref_004b1b90)();\n  }" { (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (for_statement "for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }" for ( (assignment_expression "piVar4 = (int *)param_1[8]" identifier = (cast_expression "(int *)param_1[8]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ; (binary_expression "piVar4 != param_1 + 8" identifier != (binary_expression "param_1 + 8" identifier + number_literal)) ; (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ) (compound_statement "{\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }" { (expression_statement "piVar4 = (int *)piVar4[1];" (assignment_expression "piVar4 = (int *)piVar4[1]" identifier = (cast_expression "(int *)piVar4[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "FUN_00434728(*piVar4);" (call_expression "FUN_00434728(*piVar4)" identifier (argument_list "(*piVar4)" ( (pointer_expression "*piVar4" * identifier) ))) ;) })) (expression_statement "(*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);" (call_expression "(*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0)" (parenthesized_expression "(*(code *)PTR_free_context_004b1ca4)" ( (pointer_expression "*(code *)PTR_free_context_004b1ca4" * (cast_expression "(code *)PTR_free_context_004b1ca4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xf],0)" ( (subscript_expression "param_1[0xf]" identifier [ number_literal ]) , number_literal ))) ;) (if_statement "if (param_1[0x10] != 0) {\n    (*(code *)PTR_free_004b239c)();\n  }" if (parenthesized_expression "(param_1[0x10] != 0)" ( (binary_expression "param_1[0x10] != 0" (subscript_expression "param_1[0x10]" 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 "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_free_004b239c;" (assignment_expression "puVar1 = PTR_free_004b239c" identifier = identifier) ;) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(int *)(iVar7 + 4) = param_1[1];" (assignment_expression "*(int *)(iVar7 + 4) = param_1[1]" (pointer_expression "*(int *)(iVar7 + 4)" * (cast_expression "(int *)(iVar7 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) )))) = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "*(int *)param_1[1] = iVar7;" (assignment_expression "*(int *)param_1[1] = iVar7" (pointer_expression "*(int *)param_1[1]" * (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "(*(code *)puVar1)(param_1);" (call_expression "(*(code *)puVar1)(param_1)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid delete_item(list_item *d)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  NODE *pNVar3;\n  commands_item *pcVar4;\n  list_item *plVar5;\n  int iVar6;\n  uint uVar7;\n  NODE **ppNVar8;\n  int iVar9;\n  int iVar10;\n  \n  uVar2 = d->flags;\n  if ((uVar2 & 2) == 0) {\n    uVar7 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (pNVar3 = d->symbol, pNVar3 == (NODE *)0x0)) goto LAB_0043483c;\n    iVar9 = (pNVar3->sub).val.sref + -1;\n    (pNVar3->sub).val.sref = iVar9;\n    if (iVar9 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = d->flags;\n    }\n  }\n  else {\n    iVar9 = d->num_subs;\n    ppNVar8 = d->subs;\n    if (0 < iVar9) {\n      iVar10 = 0;\n      do {\n        while( true ) {\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }\n      } while (iVar10 < iVar9);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = d->flags;\n  }\n  uVar7 = uVar2 & 0x10;\nLAB_0043483c:\n  if (((uVar7 == 0) && (pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = d->flags;\n  }\n  if ((((uVar2 & 8) == 0) && (pNVar3 = d->value[1].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }\n  for (pcVar4 = (d->commands).next; pcVar4 != &d->commands; pcVar4 = pcVar4->next) {\n    pcVar4 = pcVar4->prev;\n    delete_commands_item(pcVar4->next);\n  }\n  (*(code *)PTR_free_context_004b1ca4)((d->cndn).ctxt,0);\n  if ((d->cndn).expr != (char *)0x0) {\n    (*(code *)PTR_free_004b239c)();\n  }\n  puVar1 = PTR_free_004b239c;\n  plVar5 = d->next;\n  plVar5->prev = d->prev;\n  d->prev->next = plVar5;\n  (*(code *)puVar1)(d);\n  return;\n}\n\n" comment (function_definition "void delete_item(list_item *d)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  NODE *pNVar3;\n  commands_item *pcVar4;\n  list_item *plVar5;\n  int iVar6;\n  uint uVar7;\n  NODE **ppNVar8;\n  int iVar9;\n  int iVar10;\n  \n  uVar2 = d->flags;\n  if ((uVar2 & 2) == 0) {\n    uVar7 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (pNVar3 = d->symbol, pNVar3 == (NODE *)0x0)) goto LAB_0043483c;\n    iVar9 = (pNVar3->sub).val.sref + -1;\n    (pNVar3->sub).val.sref = iVar9;\n    if (iVar9 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = d->flags;\n    }\n  }\n  else {\n    iVar9 = d->num_subs;\n    ppNVar8 = d->subs;\n    if (0 < iVar9) {\n      iVar10 = 0;\n      do {\n        while( true ) {\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }\n      } while (iVar10 < iVar9);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = d->flags;\n  }\n  uVar7 = uVar2 & 0x10;\nLAB_0043483c:\n  if (((uVar7 == 0) && (pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = d->flags;\n  }\n  if ((((uVar2 & 8) == 0) && (pNVar3 = d->value[1].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }\n  for (pcVar4 = (d->commands).next; pcVar4 != &d->commands; pcVar4 = pcVar4->next) {\n    pcVar4 = pcVar4->prev;\n    delete_commands_item(pcVar4->next);\n  }\n  (*(code *)PTR_free_context_004b1ca4)((d->cndn).ctxt,0);\n  if ((d->cndn).expr != (char *)0x0) {\n    (*(code *)PTR_free_004b239c)();\n  }\n  puVar1 = PTR_free_004b239c;\n  plVar5 = d->next;\n  plVar5->prev = d->prev;\n  d->prev->next = plVar5;\n  (*(code *)puVar1)(d);\n  return;\n}" primitive_type (function_declarator "delete_item(list_item *d)" identifier (parameter_list "(list_item *d)" ( (parameter_declaration "list_item *d" type_identifier (pointer_declarator "*d" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  NODE *pNVar3;\n  commands_item *pcVar4;\n  list_item *plVar5;\n  int iVar6;\n  uint uVar7;\n  NODE **ppNVar8;\n  int iVar9;\n  int iVar10;\n  \n  uVar2 = d->flags;\n  if ((uVar2 & 2) == 0) {\n    uVar7 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (pNVar3 = d->symbol, pNVar3 == (NODE *)0x0)) goto LAB_0043483c;\n    iVar9 = (pNVar3->sub).val.sref + -1;\n    (pNVar3->sub).val.sref = iVar9;\n    if (iVar9 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = d->flags;\n    }\n  }\n  else {\n    iVar9 = d->num_subs;\n    ppNVar8 = d->subs;\n    if (0 < iVar9) {\n      iVar10 = 0;\n      do {\n        while( true ) {\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }\n      } while (iVar10 < iVar9);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = d->flags;\n  }\n  uVar7 = uVar2 & 0x10;\nLAB_0043483c:\n  if (((uVar7 == 0) && (pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = d->flags;\n  }\n  if ((((uVar2 & 8) == 0) && (pNVar3 = d->value[1].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }\n  for (pcVar4 = (d->commands).next; pcVar4 != &d->commands; pcVar4 = pcVar4->next) {\n    pcVar4 = pcVar4->prev;\n    delete_commands_item(pcVar4->next);\n  }\n  (*(code *)PTR_free_context_004b1ca4)((d->cndn).ctxt,0);\n  if ((d->cndn).expr != (char *)0x0) {\n    (*(code *)PTR_free_004b239c)();\n  }\n  puVar1 = PTR_free_004b239c;\n  plVar5 = d->next;\n  plVar5->prev = d->prev;\n  d->prev->next = plVar5;\n  (*(code *)puVar1)(d);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "NODE *pNVar3;" type_identifier (pointer_declarator "*pNVar3" * identifier) ;) (declaration "commands_item *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "list_item *plVar5;" type_identifier (pointer_declarator "*plVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "NODE **ppNVar8;" type_identifier (pointer_declarator "**ppNVar8" * (pointer_declarator "*ppNVar8" * identifier)) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "uVar2 = d->flags;" (assignment_expression "uVar2 = d->flags" identifier = (field_expression "d->flags" identifier -> field_identifier)) ;) (if_statement "if ((uVar2 & 2) == 0) {\n    uVar7 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (pNVar3 = d->symbol, pNVar3 == (NODE *)0x0)) goto LAB_0043483c;\n    iVar9 = (pNVar3->sub).val.sref + -1;\n    (pNVar3->sub).val.sref = iVar9;\n    if (iVar9 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = d->flags;\n    }\n  }\n  else {\n    iVar9 = d->num_subs;\n    ppNVar8 = d->subs;\n    if (0 < iVar9) {\n      iVar10 = 0;\n      do {\n        while( true ) {\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }\n      } while (iVar10 < iVar9);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = d->flags;\n  }" if (parenthesized_expression "((uVar2 & 2) == 0)" ( (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar7 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (pNVar3 = d->symbol, pNVar3 == (NODE *)0x0)) goto LAB_0043483c;\n    iVar9 = (pNVar3->sub).val.sref + -1;\n    (pNVar3->sub).val.sref = iVar9;\n    if (iVar9 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = d->flags;\n    }\n  }" { (expression_statement "uVar7 = uVar2 & 0x10;" (assignment_expression "uVar7 = uVar2 & 0x10" identifier = (binary_expression "uVar2 & 0x10" identifier & number_literal)) ;) (if_statement "if (((uVar2 & 4) == 0) || (pNVar3 = d->symbol, pNVar3 == (NODE *)0x0)) goto LAB_0043483c;" if (parenthesized_expression "(((uVar2 & 4) == 0) || (pNVar3 = d->symbol, pNVar3 == (NODE *)0x0))" ( (binary_expression "((uVar2 & 4) == 0) || (pNVar3 = d->symbol, pNVar3 == (NODE *)0x0)" (parenthesized_expression "((uVar2 & 4) == 0)" ( (binary_expression "(uVar2 & 4) == 0" (parenthesized_expression "(uVar2 & 4)" ( (binary_expression "uVar2 & 4" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(pNVar3 = d->symbol, pNVar3 == (NODE *)0x0)" ( (comma_expression "pNVar3 = d->symbol, pNVar3 == (NODE *)0x0" (assignment_expression "pNVar3 = d->symbol" identifier = (field_expression "d->symbol" identifier -> field_identifier)) , (binary_expression "pNVar3 == (NODE *)0x0" identifier == (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_0043483c;" goto statement_identifier ;)) (expression_statement "iVar9 = (pNVar3->sub).val.sref + -1;" (assignment_expression "iVar9 = (pNVar3->sub).val.sref + -1" identifier = (binary_expression "(pNVar3->sub).val.sref + -1" (field_expression "(pNVar3->sub).val.sref" (field_expression "(pNVar3->sub).val" (parenthesized_expression "(pNVar3->sub)" ( (field_expression "pNVar3->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) + number_literal)) ;) (expression_statement "(pNVar3->sub).val.sref = iVar9;" (assignment_expression "(pNVar3->sub).val.sref = iVar9" (field_expression "(pNVar3->sub).val.sref" (field_expression "(pNVar3->sub).val" (parenthesized_expression "(pNVar3->sub)" ( (field_expression "pNVar3->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (if_statement "if (iVar9 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = d->flags;\n    }" if (parenthesized_expression "(iVar9 < 1)" ( (binary_expression "iVar9 < 1" identifier < number_literal) )) (compound_statement "{\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = d->flags;\n    }" { (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar2 = d->flags;" (assignment_expression "uVar2 = d->flags" identifier = (field_expression "d->flags" identifier -> field_identifier)) ;) })) }) (else_clause "else {\n    iVar9 = d->num_subs;\n    ppNVar8 = d->subs;\n    if (0 < iVar9) {\n      iVar10 = 0;\n      do {\n        while( true ) {\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }\n      } while (iVar10 < iVar9);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = d->flags;\n  }" else (compound_statement "{\n    iVar9 = d->num_subs;\n    ppNVar8 = d->subs;\n    if (0 < iVar9) {\n      iVar10 = 0;\n      do {\n        while( true ) {\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }\n      } while (iVar10 < iVar9);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = d->flags;\n  }" { (expression_statement "iVar9 = d->num_subs;" (assignment_expression "iVar9 = d->num_subs" identifier = (field_expression "d->num_subs" identifier -> field_identifier)) ;) (expression_statement "ppNVar8 = d->subs;" (assignment_expression "ppNVar8 = d->subs" identifier = (field_expression "d->subs" identifier -> field_identifier)) ;) (if_statement "if (0 < iVar9) {\n      iVar10 = 0;\n      do {\n        while( true ) {\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }\n      } while (iVar10 < iVar9);\n    }" if (parenthesized_expression "(0 < iVar9)" ( (binary_expression "0 < iVar9" number_literal < identifier) )) (compound_statement "{\n      iVar10 = 0;\n      do {\n        while( true ) {\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }\n      } while (iVar10 < iVar9);\n    }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        while( true ) {\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }\n      } while (iVar10 < iVar9);" do (compound_statement "{\n        while( true ) {\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }\n      }" { (while_statement "while( true ) {\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          pNVar3 = ppNVar8[iVar10];\n          iVar10 = iVar10 + 1;\n          if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(pNVar3);\n          iVar9 = d->num_subs;\n          ppNVar8 = d->subs;\n          if (iVar9 <= iVar10) goto LAB_00434828;\n        }" { (expression_statement "pNVar3 = ppNVar8[iVar10];" (assignment_expression "pNVar3 = ppNVar8[iVar10]" identifier = (subscript_expression "ppNVar8[iVar10]" identifier [ identifier ])) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (if_statement "if ((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))\n          break;" if (parenthesized_expression "((pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6))" ( (binary_expression "(pNVar3 == (NODE *)0x0) ||\n             (iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6)" (parenthesized_expression "(pNVar3 == (NODE *)0x0)" ( (binary_expression "pNVar3 == (NODE *)0x0" identifier == (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6)" ( (comma_expression "iVar6 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar6, 0 < iVar6" (assignment_expression "iVar6 = (pNVar3->sub).val.sref + -1" identifier = (binary_expression "(pNVar3->sub).val.sref + -1" (field_expression "(pNVar3->sub).val.sref" (field_expression "(pNVar3->sub).val" (parenthesized_expression "(pNVar3->sub)" ( (field_expression "pNVar3->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) + number_literal)) , (comma_expression "(pNVar3->sub).val.sref = iVar6, 0 < iVar6" (assignment_expression "(pNVar3->sub).val.sref = iVar6" (field_expression "(pNVar3->sub).val.sref" (field_expression "(pNVar3->sub).val" (parenthesized_expression "(pNVar3->sub)" ( (field_expression "pNVar3->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) , (binary_expression "0 < iVar6" number_literal < identifier))) ))) )) (break_statement "break;" break ;)) (expression_statement "(*(code *)PTR_r_unref_004b1b90)(pNVar3);" (call_expression "(*(code *)PTR_r_unref_004b1b90)(pNVar3)" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pNVar3)" ( identifier ))) ;) (expression_statement "iVar9 = d->num_subs;" (assignment_expression "iVar9 = d->num_subs" identifier = (field_expression "d->num_subs" identifier -> field_identifier)) ;) (expression_statement "ppNVar8 = d->subs;" (assignment_expression "ppNVar8 = d->subs" identifier = (field_expression "d->subs" identifier -> field_identifier)) ;) (if_statement "if (iVar9 <= iVar10) goto LAB_00434828;" if (parenthesized_expression "(iVar9 <= iVar10)" ( (binary_expression "iVar9 <= iVar10" identifier <= identifier) )) (goto_statement "goto LAB_00434828;" goto statement_identifier ;)) })) }) while (parenthesized_expression "(iVar10 < iVar9)" ( (binary_expression "iVar10 < iVar9" identifier < identifier) )) ;) })) (labeled_statement "LAB_00434828:\n    (*(code *)PTR_free_004b239c)();" statement_identifier : (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 "()" ( ))) ;)) (expression_statement "uVar2 = d->flags;" (assignment_expression "uVar2 = d->flags" identifier = (field_expression "d->flags" identifier -> field_identifier)) ;) }))) (expression_statement "uVar7 = uVar2 & 0x10;" (assignment_expression "uVar7 = uVar2 & 0x10" identifier = (binary_expression "uVar2 & 0x10" identifier & number_literal)) ;) (labeled_statement "LAB_0043483c:\n  if (((uVar7 == 0) && (pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = d->flags;\n  }" statement_identifier : (if_statement "if (((uVar7 == 0) && (pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = d->flags;\n  }" if (parenthesized_expression "(((uVar7 == 0) && (pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1))" ( (binary_expression "((uVar7 == 0) && (pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)" (parenthesized_expression "((uVar7 == 0) && (pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0))" ( (binary_expression "(uVar7 == 0) && (pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0)" (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) && (parenthesized_expression "(pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0)" ( (comma_expression "pNVar3 = d->value[0].n, pNVar3 != (NODE *)0x0" (assignment_expression "pNVar3 = d->value[0].n" identifier = (field_expression "d->value[0].n" (subscript_expression "d->value[0]" (field_expression "d->value" identifier -> field_identifier) [ number_literal ]) . field_identifier)) , (binary_expression "pNVar3 != (NODE *)0x0" identifier != (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)" ( (comma_expression "iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1" (assignment_expression "iVar9 = (pNVar3->sub).val.sref + -1" identifier = (binary_expression "(pNVar3->sub).val.sref + -1" (field_expression "(pNVar3->sub).val.sref" (field_expression "(pNVar3->sub).val" (parenthesized_expression "(pNVar3->sub)" ( (field_expression "pNVar3->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) + number_literal)) , (comma_expression "(pNVar3->sub).val.sref = iVar9, iVar9 < 1" (assignment_expression "(pNVar3->sub).val.sref = iVar9" (field_expression "(pNVar3->sub).val.sref" (field_expression "(pNVar3->sub).val" (parenthesized_expression "(pNVar3->sub)" ( (field_expression "pNVar3->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) , (binary_expression "iVar9 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = d->flags;\n  }" { (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar2 = d->flags;" (assignment_expression "uVar2 = d->flags" identifier = (field_expression "d->flags" identifier -> field_identifier)) ;) }))) (if_statement "if ((((uVar2 & 8) == 0) && (pNVar3 = d->value[1].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }" if (parenthesized_expression "((((uVar2 & 8) == 0) && (pNVar3 = d->value[1].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1))" ( (binary_expression "(((uVar2 & 8) == 0) && (pNVar3 = d->value[1].n, pNVar3 != (NODE *)0x0)) &&\n     (iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)" (parenthesized_expression "(((uVar2 & 8) == 0) && (pNVar3 = d->value[1].n, pNVar3 != (NODE *)0x0))" ( (binary_expression "((uVar2 & 8) == 0) && (pNVar3 = d->value[1].n, pNVar3 != (NODE *)0x0)" (parenthesized_expression "((uVar2 & 8) == 0)" ( (binary_expression "(uVar2 & 8) == 0" (parenthesized_expression "(uVar2 & 8)" ( (binary_expression "uVar2 & 8" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(pNVar3 = d->value[1].n, pNVar3 != (NODE *)0x0)" ( (comma_expression "pNVar3 = d->value[1].n, pNVar3 != (NODE *)0x0" (assignment_expression "pNVar3 = d->value[1].n" identifier = (field_expression "d->value[1].n" (subscript_expression "d->value[1]" (field_expression "d->value" identifier -> field_identifier) [ number_literal ]) . field_identifier)) , (binary_expression "pNVar3 != (NODE *)0x0" identifier != (cast_expression "(NODE *)0x0" ( (type_descriptor "NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1)" ( (comma_expression "iVar9 = (pNVar3->sub).val.sref + -1, (pNVar3->sub).val.sref = iVar9, iVar9 < 1" (assignment_expression "iVar9 = (pNVar3->sub).val.sref + -1" identifier = (binary_expression "(pNVar3->sub).val.sref + -1" (field_expression "(pNVar3->sub).val.sref" (field_expression "(pNVar3->sub).val" (parenthesized_expression "(pNVar3->sub)" ( (field_expression "pNVar3->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) + number_literal)) , (comma_expression "(pNVar3->sub).val.sref = iVar9, iVar9 < 1" (assignment_expression "(pNVar3->sub).val.sref = iVar9" (field_expression "(pNVar3->sub).val.sref" (field_expression "(pNVar3->sub).val" (parenthesized_expression "(pNVar3->sub)" ( (field_expression "pNVar3->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) , (binary_expression "iVar9 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n    (*(code *)PTR_r_unref_004b1b90)();\n  }" { (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (for_statement "for (pcVar4 = (d->commands).next; pcVar4 != &d->commands; pcVar4 = pcVar4->next) {\n    pcVar4 = pcVar4->prev;\n    delete_commands_item(pcVar4->next);\n  }" for ( (assignment_expression "pcVar4 = (d->commands).next" identifier = (field_expression "(d->commands).next" (parenthesized_expression "(d->commands)" ( (field_expression "d->commands" identifier -> field_identifier) )) . field_identifier)) ; (binary_expression "pcVar4 != &d->commands" identifier != (pointer_expression "&d->commands" & (field_expression "d->commands" identifier -> field_identifier))) ; (assignment_expression "pcVar4 = pcVar4->next" identifier = (field_expression "pcVar4->next" identifier -> field_identifier)) ) (compound_statement "{\n    pcVar4 = pcVar4->prev;\n    delete_commands_item(pcVar4->next);\n  }" { (expression_statement "pcVar4 = pcVar4->prev;" (assignment_expression "pcVar4 = pcVar4->prev" identifier = (field_expression "pcVar4->prev" identifier -> field_identifier)) ;) (expression_statement "delete_commands_item(pcVar4->next);" (call_expression "delete_commands_item(pcVar4->next)" identifier (argument_list "(pcVar4->next)" ( (field_expression "pcVar4->next" identifier -> field_identifier) ))) ;) })) (expression_statement "(*(code *)PTR_free_context_004b1ca4)((d->cndn).ctxt,0);" (call_expression "(*(code *)PTR_free_context_004b1ca4)((d->cndn).ctxt,0)" (parenthesized_expression "(*(code *)PTR_free_context_004b1ca4)" ( (pointer_expression "*(code *)PTR_free_context_004b1ca4" * (cast_expression "(code *)PTR_free_context_004b1ca4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((d->cndn).ctxt,0)" ( (field_expression "(d->cndn).ctxt" (parenthesized_expression "(d->cndn)" ( (field_expression "d->cndn" identifier -> field_identifier) )) . field_identifier) , number_literal ))) ;) (if_statement "if ((d->cndn).expr != (char *)0x0) {\n    (*(code *)PTR_free_004b239c)();\n  }" if (parenthesized_expression "((d->cndn).expr != (char *)0x0)" ( (binary_expression "(d->cndn).expr != (char *)0x0" (field_expression "(d->cndn).expr" (parenthesized_expression "(d->cndn)" ( (field_expression "d->cndn" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (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 "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_free_004b239c;" (assignment_expression "puVar1 = PTR_free_004b239c" identifier = identifier) ;) (expression_statement "plVar5 = d->next;" (assignment_expression "plVar5 = d->next" identifier = (field_expression "d->next" identifier -> field_identifier)) ;) (expression_statement "plVar5->prev = d->prev;" (assignment_expression "plVar5->prev = d->prev" (field_expression "plVar5->prev" identifier -> field_identifier) = (field_expression "d->prev" identifier -> field_identifier)) ;) (expression_statement "d->prev->next = plVar5;" (assignment_expression "d->prev->next = plVar5" (field_expression "d->prev->next" (field_expression "d->prev" identifier -> field_identifier) -> field_identifier) = identifier) ;) (expression_statement "(*(code *)puVar1)(d);" (call_expression "(*(code *)puVar1)(d)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(d)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00434790(int *param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  \n  uVar2 = param_1[0x13];\n  if ((uVar2 & 2) == 0) {\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }\n  else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }\n  uVar6 = uVar2 & 0x10;\nLAB_0043483c:\n  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }\n  if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }\n  for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }\n  (*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);\n  if (param_1[0x10] != 0) {\n    (*(code *)PTR_free_004b239c)();\n  }\n  puVar1 = PTR_free_004b239c;\n  iVar7 = *param_1;\n  *(int *)(iVar7 + 4) = param_1[1];\n  *(int *)param_1[1] = iVar7;\n  (*(code *)puVar1)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00434790(int *param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  \n  uVar2 = param_1[0x13];\n  if ((uVar2 & 2) == 0) {\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }\n  else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }\n  uVar6 = uVar2 & 0x10;\nLAB_0043483c:\n  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }\n  if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }\n  for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }\n  (*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);\n  if (param_1[0x10] != 0) {\n    (*(code *)PTR_free_004b239c)();\n  }\n  puVar1 = PTR_free_004b239c;\n  iVar7 = *param_1;\n  *(int *)(iVar7 + 4) = param_1[1];\n  *(int *)param_1[1] = iVar7;\n  (*(code *)puVar1)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00434790(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  \n  uVar2 = param_1[0x13];\n  if ((uVar2 & 2) == 0) {\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }\n  else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }\n  uVar6 = uVar2 & 0x10;\nLAB_0043483c:\n  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }\n  if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }\n  for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }\n  (*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);\n  if (param_1[0x10] != 0) {\n    (*(code *)PTR_free_004b239c)();\n  }\n  puVar1 = PTR_free_004b239c;\n  iVar7 = *param_1;\n  *(int *)(iVar7 + 4) = param_1[1];\n  *(int *)param_1[1] = iVar7;\n  (*(code *)puVar1)(param_1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) (if_statement "if ((uVar2 & 2) == 0) {\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }\n  else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }" if (parenthesized_expression "((uVar2 & 2) == 0)" ( (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }" { (expression_statement "uVar6 = uVar2 & 0x10;" (assignment_expression "uVar6 = uVar2 & 0x10" identifier = (binary_expression "uVar2 & 0x10" identifier & number_literal)) ;) (if_statement "if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;" if (parenthesized_expression "(((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0))" ( (binary_expression "((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)" (parenthesized_expression "((uVar2 & 4) == 0)" ( (binary_expression "(uVar2 & 4) == 0" (parenthesized_expression "(uVar2 & 4)" ( (binary_expression "uVar2 & 4" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(iVar7 = param_1[3], iVar7 == 0)" ( (comma_expression "iVar7 = param_1[3], iVar7 == 0" (assignment_expression "iVar7 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0043483c;" goto statement_identifier ;)) (expression_statement "iVar8 = *(int *)(iVar7 + 0x10) + -1;" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar7 + 0x10) + -1" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(iVar7 + 0x10) = iVar8;" (assignment_expression "*(int *)(iVar7 + 0x10) = iVar8" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }" if (parenthesized_expression "(iVar8 < 1)" ( (binary_expression "iVar8 < 1" identifier < number_literal) )) (compound_statement "{\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }" { (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) })) }) (else_clause "else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }" else (compound_statement "{\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }" { (expression_statement "iVar8 = param_1[5];" (assignment_expression "iVar8 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_1[4];" (assignment_expression "iVar7 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }" if (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) (compound_statement "{\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);" do (compound_statement "{\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      }" { (while_statement "while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }" { (expression_statement "iVar3 = *(int *)(iVar7 + iVar9 * 4);" (assignment_expression "iVar3 = *(int *)(iVar7 + iVar9 * 4)" identifier = (pointer_expression "*(int *)(iVar7 + iVar9 * 4)" * (cast_expression "(int *)(iVar7 + iVar9 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + iVar9 * 4)" ( (binary_expression "iVar7 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;" if (parenthesized_expression "((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))" ( (binary_expression "(iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5)" ( (comma_expression "iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5" (assignment_expression "iVar5 = *(int *)(iVar3 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar3 + 0x10) + -1" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5" (assignment_expression "*(int *)(iVar3 + 0x10) = iVar5" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "0 < iVar5" number_literal < identifier))) ))) )) (break_statement "break;" break ;)) (expression_statement "(*(code *)PTR_r_unref_004b1b90)(iVar3);" (call_expression "(*(code *)PTR_r_unref_004b1b90)(iVar3)" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier ))) ;) (expression_statement "iVar8 = param_1[5];" (assignment_expression "iVar8 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_1[4];" (assignment_expression "iVar7 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (if_statement "if (iVar8 <= iVar9) goto LAB_00434828;" if (parenthesized_expression "(iVar8 <= iVar9)" ( (binary_expression "iVar8 <= iVar9" identifier <= identifier) )) (goto_statement "goto LAB_00434828;" goto statement_identifier ;)) })) }) while (parenthesized_expression "(iVar9 < iVar8)" ( (binary_expression "iVar9 < iVar8" identifier < identifier) )) ;) })) (labeled_statement "LAB_00434828:\n    (*(code *)PTR_free_004b239c)();" statement_identifier : (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 "()" ( ))) ;)) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) }))) (expression_statement "uVar6 = uVar2 & 0x10;" (assignment_expression "uVar6 = uVar2 & 0x10" identifier = (binary_expression "uVar2 & 0x10" identifier & number_literal)) ;) (labeled_statement "LAB_0043483c:\n  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }" statement_identifier : (if_statement "if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }" if (parenthesized_expression "(((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1))" ( (binary_expression "((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" (parenthesized_expression "((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0))" ( (binary_expression "(uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)" (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar7 = param_1[0x11], iVar7 != 0)" ( (comma_expression "iVar7 = param_1[0x11], iVar7 != 0" (assignment_expression "iVar7 = param_1[0x11]" identifier = (subscript_expression "param_1[0x11]" identifier [ number_literal ])) , (binary_expression "iVar7 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" ( (comma_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar7 + 0x10) + -1" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "*(int *)(iVar7 + 0x10) = iVar8" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "iVar8 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }" { (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) }))) (if_statement "if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }" if (parenthesized_expression "((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1))" ( (binary_expression "(((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" (parenthesized_expression "(((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0))" ( (binary_expression "((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)" (parenthesized_expression "((uVar2 & 8) == 0)" ( (binary_expression "(uVar2 & 8) == 0" (parenthesized_expression "(uVar2 & 8)" ( (binary_expression "uVar2 & 8" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(iVar7 = param_1[0x12], iVar7 != 0)" ( (comma_expression "iVar7 = param_1[0x12], iVar7 != 0" (assignment_expression "iVar7 = param_1[0x12]" identifier = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) , (binary_expression "iVar7 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" ( (comma_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1" identifier = (binary_expression "*(int *)(iVar7 + 0x10) + -1" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) + number_literal)) , (comma_expression "*(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "*(int *)(iVar7 + 0x10) = iVar8" (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) )))) = identifier) , (binary_expression "iVar8 < 1" identifier < number_literal))) ))) )) (compound_statement "{\n    (*(code *)PTR_r_unref_004b1b90)();\n  }" { (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" ( (pointer_expression "*(code *)PTR_r_unref_004b1b90" * (cast_expression "(code *)PTR_r_unref_004b1b90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (for_statement "for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }" for ( (assignment_expression "piVar4 = (int *)param_1[8]" identifier = (cast_expression "(int *)param_1[8]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[8]" identifier [ number_literal ]))) ; (binary_expression "piVar4 != param_1 + 8" identifier != (binary_expression "param_1 + 8" identifier + number_literal)) ; (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ) (compound_statement "{\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }" { (expression_statement "piVar4 = (int *)piVar4[1];" (assignment_expression "piVar4 = (int *)piVar4[1]" identifier = (cast_expression "(int *)piVar4[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "FUN_00434728(*piVar4);" (call_expression "FUN_00434728(*piVar4)" identifier (argument_list "(*piVar4)" ( (pointer_expression "*piVar4" * identifier) ))) ;) })) (expression_statement "(*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);" (call_expression "(*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0)" (parenthesized_expression "(*(code *)PTR_free_context_004b1ca4)" ( (pointer_expression "*(code *)PTR_free_context_004b1ca4" * (cast_expression "(code *)PTR_free_context_004b1ca4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0xf],0)" ( (subscript_expression "param_1[0xf]" identifier [ number_literal ]) , number_literal ))) ;) (if_statement "if (param_1[0x10] != 0) {\n    (*(code *)PTR_free_004b239c)();\n  }" if (parenthesized_expression "(param_1[0x10] != 0)" ( (binary_expression "param_1[0x10] != 0" (subscript_expression "param_1[0x10]" 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 "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_free_004b239c;" (assignment_expression "puVar1 = PTR_free_004b239c" identifier = identifier) ;) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(int *)(iVar7 + 4) = param_1[1];" (assignment_expression "*(int *)(iVar7 + 4) = param_1[1]" (pointer_expression "*(int *)(iVar7 + 4)" * (cast_expression "(int *)(iVar7 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4)" ( (binary_expression "iVar7 + 4" identifier + number_literal) )))) = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "*(int *)param_1[1] = iVar7;" (assignment_expression "*(int *)param_1[1] = iVar7" (pointer_expression "*(int *)param_1[1]" * (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "(*(code *)puVar1)(param_1);" (call_expression "(*(code *)puVar1)(param_1)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 LIT < IDENT))) ))) )) (break_statement break ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) })) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (for_statement for ( (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ; (binary_expression IDENT != (binary_expression IDENT + LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT ))) ;) (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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_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 ;) })))
(function_definition "void FUN_00434790(int *param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  \n  uVar2 = param_1[0x13];\n  if ((uVar2 & 2) == 0) {\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }\n  else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }\n  uVar6 = uVar2 & 0x10;\nLAB_0043483c:\n  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }\n  if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }\n  for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }\n  (*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);\n  if (param_1[0x10] != 0) {\n    (*(code *)PTR_free_004b239c)();\n  }\n  puVar1 = PTR_free_004b239c;\n  iVar7 = *param_1;\n  *(int *)(iVar7 + 4) = param_1[1];\n  *(int *)param_1[1] = iVar7;\n  (*(code *)puVar1)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00434790(int *param_1)" (identifier "FUN_00434790") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  \n  uVar2 = param_1[0x13];\n  if ((uVar2 & 2) == 0) {\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }\n  else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }\n  uVar6 = uVar2 & 0x10;\nLAB_0043483c:\n  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }\n  if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }\n  for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }\n  (*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);\n  if (param_1[0x10] != 0) {\n    (*(code *)PTR_free_004b239c)();\n  }\n  puVar1 = PTR_free_004b239c;\n  iVar7 = *param_1;\n  *(int *)(iVar7 + 4) = param_1[1];\n  *(int *)param_1[1] = iVar7;\n  (*(code *)puVar1)(param_1);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" (identifier "uVar2") (= "=") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]"))) (; ";")) (if_statement "if ((uVar2 & 2) == 0) {\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }\n  else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }" (if "if") (parenthesized_expression "((uVar2 & 2) == 0)" (( "(") (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" (( "(") (binary_expression "uVar2 & 2" (identifier "uVar2") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar6 = uVar2 & 0x10;\n    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;\n    iVar8 = *(int *)(iVar7 + 0x10) + -1;\n    *(int *)(iVar7 + 0x10) = iVar8;\n    if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }\n  }" ({ "{") (expression_statement "uVar6 = uVar2 & 0x10;" (assignment_expression "uVar6 = uVar2 & 0x10" (identifier "uVar6") (= "=") (binary_expression "uVar2 & 0x10" (identifier "uVar2") (& "&") (number_literal "0x10"))) (; ";")) (if_statement "if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;" (if "if") (parenthesized_expression "(((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0))" (( "(") (binary_expression "((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)" (parenthesized_expression "((uVar2 & 4) == 0)" (( "(") (binary_expression "(uVar2 & 4) == 0" (parenthesized_expression "(uVar2 & 4)" (( "(") (binary_expression "uVar2 & 4" (identifier "uVar2") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar7 = param_1[3], iVar7 == 0)" (( "(") (comma_expression "iVar7 = param_1[3], iVar7 == 0" (assignment_expression "iVar7 = param_1[3]" (identifier "iVar7") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (, ",") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0043483c;" (goto "goto") (statement_identifier "LAB_0043483c") (; ";"))) (expression_statement "iVar8 = *(int *)(iVar7 + 0x10) + -1;" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1" (identifier "iVar8") (= "=") (binary_expression "*(int *)(iVar7 + 0x10) + -1" (pointer_expression "*(int *)(iVar7 + 0x10)" (* "*") (cast_expression "(int *)(iVar7 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*(int *)(iVar7 + 0x10) = iVar8;" (assignment_expression "*(int *)(iVar7 + 0x10) = iVar8" (pointer_expression "*(int *)(iVar7 + 0x10)" (* "*") (cast_expression "(int *)(iVar7 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (iVar8 < 1) {\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }" (if "if") (parenthesized_expression "(iVar8 < 1)" (( "(") (binary_expression "iVar8 < 1" (identifier "iVar8") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      (*(code *)PTR_r_unref_004b1b90)();\n      uVar2 = param_1[0x13];\n    }" ({ "{") (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" (( "(") (pointer_expression "*(code *)PTR_r_unref_004b1b90" (* "*") (cast_expression "(code *)PTR_r_unref_004b1b90" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_r_unref_004b1b90"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" (identifier "uVar2") (= "=") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }" (else "else") (compound_statement "{\n    iVar8 = param_1[5];\n    iVar7 = param_1[4];\n    if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }\nLAB_00434828:\n    (*(code *)PTR_free_004b239c)();\n    uVar2 = param_1[0x13];\n  }" ({ "{") (expression_statement "iVar8 = param_1[5];" (assignment_expression "iVar8 = param_1[5]" (identifier "iVar8") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar7 = param_1[4];" (assignment_expression "iVar7 = param_1[4]" (identifier "iVar7") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if (0 < iVar8) {\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }" (if "if") (parenthesized_expression "(0 < iVar8)" (( "(") (binary_expression "0 < iVar8" (number_literal "0") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n      iVar9 = 0;\n      do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);\n    }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      } while (iVar9 < iVar8);" (do "do") (compound_statement "{\n        while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }\n      }" ({ "{") (while_statement "while( true ) {\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          iVar3 = *(int *)(iVar7 + iVar9 * 4);\n          iVar9 = iVar9 + 1;\n          if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;\n          (*(code *)PTR_r_unref_004b1b90)(iVar3);\n          iVar8 = param_1[5];\n          iVar7 = param_1[4];\n          if (iVar8 <= iVar9) goto LAB_00434828;\n        }" ({ "{") (expression_statement "iVar3 = *(int *)(iVar7 + iVar9 * 4);" (assignment_expression "iVar3 = *(int *)(iVar7 + iVar9 * 4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar7 + iVar9 * 4)" (* "*") (cast_expression "(int *)(iVar7 + iVar9 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + iVar9 * 4)" (( "(") (binary_expression "iVar7 + iVar9 * 4" (identifier "iVar7") (+ "+") (binary_expression "iVar9 * 4" (identifier "iVar9") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))\n          break;" (if "if") (parenthesized_expression "((iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))" (( "(") (binary_expression "(iVar3 == 0) ||\n             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5)" (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5)" (( "(") (comma_expression "iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5" (assignment_expression "iVar5 = *(int *)(iVar3 + 0x10) + -1" (identifier "iVar5") (= "=") (binary_expression "*(int *)(iVar3 + 0x10) + -1" (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "-1"))) (, ",") (comma_expression "*(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5" (assignment_expression "*(int *)(iVar3 + 0x10) = iVar5" (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar5")) (, ",") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "(*(code *)PTR_r_unref_004b1b90)(iVar3);" (call_expression "(*(code *)PTR_r_unref_004b1b90)(iVar3)" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" (( "(") (pointer_expression "*(code *)PTR_r_unref_004b1b90" (* "*") (cast_expression "(code *)PTR_r_unref_004b1b90" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_r_unref_004b1b90"))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "iVar8 = param_1[5];" (assignment_expression "iVar8 = param_1[5]" (identifier "iVar8") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar7 = param_1[4];" (assignment_expression "iVar7 = param_1[4]" (identifier "iVar7") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if (iVar8 <= iVar9) goto LAB_00434828;" (if "if") (parenthesized_expression "(iVar8 <= iVar9)" (( "(") (binary_expression "iVar8 <= iVar9" (identifier "iVar8") (<= "<=") (identifier "iVar9")) () ")")) (goto_statement "goto LAB_00434828;" (goto "goto") (statement_identifier "LAB_00434828") (; ";"))) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(iVar9 < iVar8)" (( "(") (binary_expression "iVar9 < iVar8" (identifier "iVar9") (< "<") (identifier "iVar8")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00434828:\n    (*(code *)PTR_free_004b239c)();" (statement_identifier "LAB_00434828") (: ":") (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 "()" (( "(") () ")"))) (; ";"))) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" (identifier "uVar2") (= "=") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]"))) (; ";")) (} "}")))) (expression_statement "uVar6 = uVar2 & 0x10;" (assignment_expression "uVar6 = uVar2 & 0x10" (identifier "uVar6") (= "=") (binary_expression "uVar2 & 0x10" (identifier "uVar2") (& "&") (number_literal "0x10"))) (; ";")) (labeled_statement "LAB_0043483c:\n  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }" (statement_identifier "LAB_0043483c") (: ":") (if_statement "if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }" (if "if") (parenthesized_expression "(((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1))" (( "(") (binary_expression "((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" (parenthesized_expression "((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0))" (( "(") (binary_expression "(uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)" (parenthesized_expression "(uVar6 == 0)" (( "(") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 = param_1[0x11], iVar7 != 0)" (( "(") (comma_expression "iVar7 = param_1[0x11], iVar7 != 0" (assignment_expression "iVar7 = param_1[0x11]" (identifier "iVar7") (= "=") (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]"))) (, ",") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" (( "(") (comma_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1" (identifier "iVar8") (= "=") (binary_expression "*(int *)(iVar7 + 0x10) + -1" (pointer_expression "*(int *)(iVar7 + 0x10)" (* "*") (cast_expression "(int *)(iVar7 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "-1"))) (, ",") (comma_expression "*(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "*(int *)(iVar7 + 0x10) = iVar8" (pointer_expression "*(int *)(iVar7 + 0x10)" (* "*") (cast_expression "(int *)(iVar7 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar8")) (, ",") (binary_expression "iVar8 < 1" (identifier "iVar8") (< "<") (number_literal "1")))) () ")"))) () ")")) (compound_statement "{\n    (*(code *)PTR_r_unref_004b1b90)();\n    uVar2 = param_1[0x13];\n  }" ({ "{") (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" (( "(") (pointer_expression "*(code *)PTR_r_unref_004b1b90" (* "*") (cast_expression "(code *)PTR_r_unref_004b1b90" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_r_unref_004b1b90"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar2 = param_1[0x13];" (assignment_expression "uVar2 = param_1[0x13]" (identifier "uVar2") (= "=") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]"))) (; ";")) (} "}")))) (if_statement "if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {\n    (*(code *)PTR_r_unref_004b1b90)();\n  }" (if "if") (parenthesized_expression "((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1))" (( "(") (binary_expression "(((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&\n     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" (parenthesized_expression "(((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0))" (( "(") (binary_expression "((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)" (parenthesized_expression "((uVar2 & 8) == 0)" (( "(") (binary_expression "(uVar2 & 8) == 0" (parenthesized_expression "(uVar2 & 8)" (( "(") (binary_expression "uVar2 & 8" (identifier "uVar2") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 = param_1[0x12], iVar7 != 0)" (( "(") (comma_expression "iVar7 = param_1[0x12], iVar7 != 0" (assignment_expression "iVar7 = param_1[0x12]" (identifier "iVar7") (= "=") (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]"))) (, ",") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)" (( "(") (comma_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "iVar8 = *(int *)(iVar7 + 0x10) + -1" (identifier "iVar8") (= "=") (binary_expression "*(int *)(iVar7 + 0x10) + -1" (pointer_expression "*(int *)(iVar7 + 0x10)" (* "*") (cast_expression "(int *)(iVar7 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "-1"))) (, ",") (comma_expression "*(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1" (assignment_expression "*(int *)(iVar7 + 0x10) = iVar8" (pointer_expression "*(int *)(iVar7 + 0x10)" (* "*") (cast_expression "(int *)(iVar7 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar8")) (, ",") (binary_expression "iVar8 < 1" (identifier "iVar8") (< "<") (number_literal "1")))) () ")"))) () ")")) (compound_statement "{\n    (*(code *)PTR_r_unref_004b1b90)();\n  }" ({ "{") (expression_statement "(*(code *)PTR_r_unref_004b1b90)();" (call_expression "(*(code *)PTR_r_unref_004b1b90)()" (parenthesized_expression "(*(code *)PTR_r_unref_004b1b90)" (( "(") (pointer_expression "*(code *)PTR_r_unref_004b1b90" (* "*") (cast_expression "(code *)PTR_r_unref_004b1b90" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_r_unref_004b1b90"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (for_statement "for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }" (for "for") (( "(") (assignment_expression "piVar4 = (int *)param_1[8]" (identifier "piVar4") (= "=") (cast_expression "(int *)param_1[8]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")))) (; ";") (binary_expression "piVar4 != param_1 + 8" (identifier "piVar4") (!= "!=") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8"))) (; ";") (assignment_expression "piVar4 = (int *)*piVar4" (identifier "piVar4") (= "=") (cast_expression "(int *)*piVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) () ")") (compound_statement "{\n    piVar4 = (int *)piVar4[1];\n    FUN_00434728(*piVar4);\n  }" ({ "{") (expression_statement "piVar4 = (int *)piVar4[1];" (assignment_expression "piVar4 = (int *)piVar4[1]" (identifier "piVar4") (= "=") (cast_expression "(int *)piVar4[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "FUN_00434728(*piVar4);" (call_expression "FUN_00434728(*piVar4)" (identifier "FUN_00434728") (argument_list "(*piVar4)" (( "(") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);" (call_expression "(*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0)" (parenthesized_expression "(*(code *)PTR_free_context_004b1ca4)" (( "(") (pointer_expression "*(code *)PTR_free_context_004b1ca4" (* "*") (cast_expression "(code *)PTR_free_context_004b1ca4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_context_004b1ca4"))) () ")")) (argument_list "(param_1[0xf],0)" (( "(") (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]")) (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (param_1[0x10] != 0) {\n    (*(code *)PTR_free_004b239c)();\n  }" (if "if") (parenthesized_expression "(param_1[0x10] != 0)" (( "(") (binary_expression "param_1[0x10] != 0" (subscript_expression "param_1[0x10]" (identifier "param_1") ([ "[") (number_literal "0x10") (] "]")) (!= "!=") (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR_free_004b239c;" (assignment_expression "puVar1 = PTR_free_004b239c" (identifier "puVar1") (= "=") (identifier "PTR_free_004b239c")) (; ";")) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" (identifier "iVar7") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(int *)(iVar7 + 4) = param_1[1];" (assignment_expression "*(int *)(iVar7 + 4) = param_1[1]" (pointer_expression "*(int *)(iVar7 + 4)" (* "*") (cast_expression "(int *)(iVar7 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 4)" (( "(") (binary_expression "iVar7 + 4" (identifier "iVar7") (+ "+") (number_literal "4")) () ")")))) (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(int *)param_1[1] = iVar7;" (assignment_expression "*(int *)param_1[1] = iVar7" (pointer_expression "*(int *)param_1[1]" (* "*") (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "(*(code *)puVar1)(param_1);" (call_expression "(*(code *)puVar1)(param_1)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *d)

{
  type_2 *puVar1;
  type_3 var_1;
  type_4 *var_2;
  type_5 *var_7;
  type_1 *plVar5;
  int var_5;
  type_3 var_6;
  type_4 **ppNVar8;
  int var_3;
  int var_4;
  
  var_1 = d->flags;
  if ((var_1 & 2) == 0) {
    var_6 = var_1 & 0x10;
    if (((var_1 & 4) == 0) || (var_2 = d->symbol, var_2 == (type_4 *)0x0)) goto LAB_0043483c;
    var_3 = (var_2->sub).val.sref + -1;
    (var_2->sub).val.sref = var_3;
    if (var_3 < 1) {
      (*(type_6 *)PTR_r_unref_004b1b90)();
      var_1 = d->flags;
    }
  }
  else {
    var_3 = d->num_subs;
    ppNVar8 = d->subs;
    if (0 < var_3) {
      var_4 = 0;
      do {
        while( true ) {
          var_2 = ppNVar8[var_4];
          var_4 = var_4 + 1;
          if ((var_2 == (type_4 *)0x0) ||
             (var_5 = (var_2->sub).val.sref + -1, (var_2->sub).val.sref = var_5, 0 < var_5))
          break;
          (*(type_6 *)PTR_r_unref_004b1b90)(var_2);
          var_3 = d->num_subs;
          ppNVar8 = d->subs;
          if (var_3 <= var_4) goto LAB_00434828;
        }
      } while (var_4 < var_3);
    }
LAB_00434828:
    (*(type_6 *)PTR_free_004b239c)();
    var_1 = d->flags;
  }
  var_6 = var_1 & 0x10;
LAB_0043483c:
  if (((var_6 == 0) && (var_2 = d->value[0].n, var_2 != (type_4 *)0x0)) &&
     (var_3 = (var_2->sub).val.sref + -1, (var_2->sub).val.sref = var_3, var_3 < 1)) {
    (*(type_6 *)PTR_r_unref_004b1b90)();
    var_1 = d->flags;
  }
  if ((((var_1 & 8) == 0) && (var_2 = d->value[1].n, var_2 != (type_4 *)0x0)) &&
     (var_3 = (var_2->sub).val.sref + -1, (var_2->sub).val.sref = var_3, var_3 < 1)) {
    (*(type_6 *)PTR_r_unref_004b1b90)();
  }
  for (var_7 = (d->commands).next; var_7 != &d->commands; var_7 = var_7->next) {
    var_7 = var_7->prev;
    var_8(var_7->next);
  }
  (*(type_6 *)PTR_free_context_004b1ca4)((d->cndn).ctxt,0);
  if ((d->cndn).expr != (char *)0x0) {
    (*(type_6 *)PTR_free_004b239c)();
  }
  puVar1 = PTR_free_004b239c;
  plVar5 = d->next;
  plVar5->prev = d->prev;
  d->prev->next = plVar5;
  (*(type_6 *)puVar1)(d);
  return;
}


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

void MASKED(int *param_1)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  uint uVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  
  uVar2 = param_1[0x13];
  if ((uVar2 & 2) == 0) {
    uVar6 = uVar2 & 0x10;
    if (((uVar2 & 4) == 0) || (iVar7 = param_1[3], iVar7 == 0)) goto LAB_0043483c;
    iVar8 = *(int *)(iVar7 + 0x10) + -1;
    *(int *)(iVar7 + 0x10) = iVar8;
    if (iVar8 < 1) {
      (*(code *)PTR_r_unref_004b1b90)();
      uVar2 = param_1[0x13];
    }
  }
  else {
    iVar8 = param_1[5];
    iVar7 = param_1[4];
    if (0 < iVar8) {
      iVar9 = 0;
      do {
        while( true ) {
          iVar3 = *(int *)(iVar7 + iVar9 * 4);
          iVar9 = iVar9 + 1;
          if ((iVar3 == 0) ||
             (iVar5 = *(int *)(iVar3 + 0x10) + -1, *(int *)(iVar3 + 0x10) = iVar5, 0 < iVar5))
          break;
          (*(code *)PTR_r_unref_004b1b90)(iVar3);
          iVar8 = param_1[5];
          iVar7 = param_1[4];
          if (iVar8 <= iVar9) goto LAB_00434828;
        }
      } while (iVar9 < iVar8);
    }
LAB_00434828:
    (*(code *)PTR_free_004b239c)();
    uVar2 = param_1[0x13];
  }
  uVar6 = uVar2 & 0x10;
LAB_0043483c:
  if (((uVar6 == 0) && (iVar7 = param_1[0x11], iVar7 != 0)) &&
     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {
    (*(code *)PTR_r_unref_004b1b90)();
    uVar2 = param_1[0x13];
  }
  if ((((uVar2 & 8) == 0) && (iVar7 = param_1[0x12], iVar7 != 0)) &&
     (iVar8 = *(int *)(iVar7 + 0x10) + -1, *(int *)(iVar7 + 0x10) = iVar8, iVar8 < 1)) {
    (*(code *)PTR_r_unref_004b1b90)();
  }
  for (piVar4 = (int *)param_1[8]; piVar4 != param_1 + 8; piVar4 = (int *)*piVar4) {
    piVar4 = (int *)piVar4[1];
    FUN_00434728(*piVar4);
  }
  (*(code *)PTR_free_context_004b1ca4)(param_1[0xf],0);
  if (param_1[0x10] != 0) {
    (*(code *)PTR_free_004b239c)();
  }
  puVar1 = PTR_free_004b239c;
  iVar7 = *param_1;
  *(int *)(iVar7 + 4) = param_1[1];
  *(int *)param_1[1] = iVar7;
  (*(code *)puVar1)(param_1);
  return;
}

