
void check_final_program(vector *program)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  size_t s;
  void *pvVar4;
  sed_cmd *psVar5;
  undefined4 uVar6;
  char *pcVar7;
  undefined *puVar8;
  undefined4 uVar9;
  buffer *b;
  undefined4 *puVar10;
  char *pcVar11;
  int *piVar12;
  undefined4 *puVar13;
  
  puVar2 = PTR_dcgettext_0003f4b4;
  puVar1 = PTR___progname_0003f168;
  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);
  if (iVar3 != 0) {
    uVar9 = *(undefined4 *)(iVar3 + 0xc);
    puVar8 = PTR_DAT_0003f178 + -0x3ec8;
    uVar6 = *(undefined4 *)(iVar3 + 0x10);
    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);
    *(undefined4 *)(puVar1 + -0xa40) = uVar9;
    *(undefined4 *)(puVar1 + -0xa3c) = uVar6;
    pcVar11 = (char *)(*(code *)puVar2)(0,puVar8,5);
                    /* WARNING: Subroutine does not return */
    bad_prog(pcVar11);
  }
  b = *(buffer **)(PTR___progname_0003f168 + -0xa50);
  if (b != (buffer *)0x0) {
    puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);
    s = size_buffer(b);
    puVar13[1] = s;
    if (s != 0) {
      pcVar11 = get_buffer(b);
      pvVar4 = xmemdup(pcVar11,s);
      b = *(buffer **)(puVar1 + -0xa50);
      *puVar13 = pvVar4;
    }
    free_buffer(b);
    *(undefined4 *)(puVar1 + -0xa50) = 0;
  }
  puVar1 = PTR___progname_0003f168;
  piVar12 = *(int **)(PTR___progname_0003f168 + -0xa48);
  puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa4c);
  do {
    if (piVar12 == (int *)0x0) {
      *(undefined4 *)(puVar1 + -0xa48) = 0;
      while (puVar13 != (undefined4 *)0x0) {
        puVar10 = (undefined4 *)puVar13[5];
        (*(code *)PTR_free_0003f4d8)(puVar13[1]);
        puVar13 = puVar10;
      }
      *(undefined4 *)(puVar1 + -0xa4c) = 0;
      return;
    }
    pcVar11 = (char *)piVar12[1];
    for (puVar10 = puVar13; puVar10 != (undefined4 *)0x0; puVar10 = (undefined4 *)puVar10[5]) {
      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(puVar10[1],pcVar11);
      if (iVar3 == 0) {
        iVar3 = *piVar12;
        psVar5 = program->v;
        pcVar7 = (char *)*puVar10;
        goto LAB_000165c4;
      }
    }
    if (*pcVar11 != '\0') {
      pcVar11 = (char *)(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);
                    /* WARNING: Subroutine does not return */
      panic(pcVar11,piVar12[1]);
    }
    iVar3 = *piVar12;
    psVar5 = program->v;
    pcVar7 = (char *)program->v_length;
LAB_000165c4:
    puVar2 = PTR_free_0003f4d8;
    piVar12 = (int *)piVar12[5];
    psVar5[iVar3].x.cmd_txt.text = pcVar7;
    (*(code *)puVar2)(pcVar11);
  } while( true );
}



void check_final_program(int *param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  undefined *puVar7;
  undefined4 uVar8;
  int *piVar9;
  char *pcVar10;
  int *piVar11;
  undefined4 *puVar12;
  int *piVar13;
  
  puVar2 = PTR_dcgettext_0003f4b4;
  puVar1 = PTR___progname_0003f168;
  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);
  if (iVar3 != 0) {
    uVar8 = *(undefined4 *)(iVar3 + 0xc);
    puVar7 = PTR_DAT_0003f178 + -0x3ec8;
    uVar5 = *(undefined4 *)(iVar3 + 0x10);
    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);
    *(undefined4 *)(puVar1 + -0xa40) = uVar8;
    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;
    uVar5 = (*(code *)puVar2)(0,puVar7,5);
                    /* WARNING: Subroutine does not return */
    bad_prog(uVar5);
  }
  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);
  if (iVar3 != 0) {
    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);
    iVar4 = size_buffer(iVar3);
    puVar12[1] = iVar4;
    if (iVar4 != 0) {
      uVar5 = get_buffer(iVar3);
      uVar5 = xmemdup(uVar5,iVar4);
      iVar3 = *(int *)(puVar1 + -0xa50);
      *puVar12 = uVar5;
    }
    free_buffer(iVar3);
    *(undefined4 *)(puVar1 + -0xa50) = 0;
  }
  puVar1 = PTR___progname_0003f168;
  piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);
  piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);
  do {
    if (piVar11 == (int *)0x0) {
      *(undefined4 *)(puVar1 + -0xa48) = 0;
      while (piVar13 != (int *)0x0) {
        piVar11 = (int *)piVar13[5];
        (*(code *)PTR_free_0003f4d8)(piVar13[1]);
        piVar13 = piVar11;
      }
      *(undefined4 *)(puVar1 + -0xa4c) = 0;
      return;
    }
    pcVar10 = (char *)piVar11[1];
    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {
      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);
      if (iVar3 == 0) {
        iVar4 = *piVar11;
        iVar3 = *param_1;
        iVar6 = *piVar9;
        goto LAB_000165c4;
      }
    }
    if (*pcVar10 != '\0') {
      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);
                    /* WARNING: Subroutine does not return */
      panic(uVar5,piVar11[1]);
    }
    iVar4 = *piVar11;
    iVar3 = *param_1;
    iVar6 = param_1[2];
LAB_000165c4:
    puVar2 = PTR_free_0003f4d8;
    piVar11 = (int *)piVar11[5];
    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;
    (*(code *)puVar2)(pcVar10);
  } while( true );
}


lui gp,0x3
addiu gp,gp,0xc58
addu gp,gp,t9
lw v0,-0x7fd8(gp)
addiu sp,sp,-0x38
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw v0,-0xa58(v0)
bne v0,zero,0x0001668c
_lw s1,-0x7fd8(gp)
lw s0,-0xa50(s1)
beq s0,zero,0x00016570
_or s4,a0,zero
lw v0,-0x7fd8(gp)
or a0,s0,zero
lw t9,-0x7f08(gp)
bal 0x0001d728
_lw s3,-0xa54(v0)
lw gp,0x10(sp)
or s2,v0,zero
bne v0,zero,0x0001665c
_sw v0,0x4(s3)
lw t9,-0x7f28(gp)
bal 0x0001d87c
_or a0,s0,zero
lw gp,0x10(sp)
sw zero,-0xa50(s1)
lw s6,-0x7fd8(gp)
lw s5,-0x7fd8(gp)
lw s2,-0xa48(s6)
beq s2,zero,0x000165f0
_lw s3,-0xa4c(s5)
beq s3,zero,0x00016640
_lw s1,0x4(s2)
b 0x000165a0
_or s0,s3,zero
lw s0,0x14(s0)
beq s0,zero,0x00016640
_nop
lw t9,-0x7c4c(gp)
or a1,s1,zero
jalr t9
_lw a0,0x4(s0)
bne v0,zero,0x00016594
_lw gp,0x10(sp)
lw a0,0x0(s2)
lw v1,0x0(s4)
lw a1,0x0(s0)
sll v0,a0,0x1
lw t9,-0x7c68(gp)
lw s2,0x14(s2)
addu v0,v0,a0
or a0,s1,zero
sll v0,v0,0x3
addu v0,v1,v0
jalr t9
_sw a1,0x10(v0)
bne s2,zero,0x00016584
_lw gp,0x10(sp)
beq s3,zero,0x00016614
_sw zero,-0xa48(s6)
lw t9,-0x7c68(gp)
lw s0,0x14(s3)
lw a0,0x4(s3)
jalr t9
_or s3,s0,zero
bne s0,zero,0x000165f8
_lw gp,0x10(sp)
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
sw zero,-0xa4c(s5)
lw s5,0x2c(sp)
jr ra
_addiu sp,sp,0x38
lb v0,0x0(s1)
bne v0,zero,0x000166e4
_lw t9,-0x7c8c(gp)
lw a0,0x0(s2)
lw v1,0x0(s4)
b 0x000165c4
_lw a1,0x8(s4)
lw t9,-0x7f2c(gp)
bal 0x0001d720
_or a0,s0,zero
or a1,s2,zero
lw gp,0x10(sp)
lw t9,-0x7f00(gp)
bal 0x00028aa0
_or a0,v0,zero
lw gp,0x10(sp)
lw s0,-0xa50(s1)
b 0x0001655c
_sw v0,0x0(s3)
addiu v0,v0,0x8
lw t2,-0x7fd8(gp)
lw a1,-0x7fc8(gp)
or a0,zero,zero
lw t9,-0x7c8c(gp)
li a2,0x5
lwl t0,0x0(v0)
addiu t1,t2,-0xa44
lwl a3,0x4(v0)
addiu a1,a1,-0x3ec8
lwl v1,0x8(v0)
lwr t0,0x3(v0)
lwr a3,0x7(v0)
lwr v1,0xb(v0)
sw t0,-0xa44(t2)
sw a3,0x4(t1)
jalr t9
_sw v1,0x8(t1)
lw gp,0x10(sp)
lw t9,-0x7f24(gp)
bal 0x000139b0
_or a0,v0,zero
lw a1,-0x7fc8(gp)
or a0,zero,zero
li a2,0x5
jalr t9
_addiu a1,a1,-0x48c0
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x7f38(gp)
bal 0x0001c854
_lw a1,0x4(s2)
(translation_unit "void check_final_program(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  undefined4 *puVar12;\n  int *piVar13;\n  \n  puVar2 = PTR_dcgettext_0003f4b4;\n  puVar1 = PTR___progname_0003f168;\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);\n  if (iVar3 != 0) {\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    /* WARNING: Subroutine does not return */\n    bad_prog(uVar5);\n  }\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);\n  if (iVar3 != 0) {\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }\n  puVar1 = PTR___progname_0003f168;\n  piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);\n  piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);\n  do {\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  } while( true );\n}\n\n" (function_definition "void check_final_program(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  undefined4 *puVar12;\n  int *piVar13;\n  \n  puVar2 = PTR_dcgettext_0003f4b4;\n  puVar1 = PTR___progname_0003f168;\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);\n  if (iVar3 != 0) {\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    /* WARNING: Subroutine does not return */\n    bad_prog(uVar5);\n  }\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);\n  if (iVar3 != 0) {\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }\n  puVar1 = PTR___progname_0003f168;\n  piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);\n  piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);\n  do {\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  } while( true );\n}" primitive_type (function_declarator "check_final_program(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  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  undefined4 *puVar12;\n  int *piVar13;\n  \n  puVar2 = PTR_dcgettext_0003f4b4;\n  puVar1 = PTR___progname_0003f168;\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);\n  if (iVar3 != 0) {\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    /* WARNING: Subroutine does not return */\n    bad_prog(uVar5);\n  }\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);\n  if (iVar3 != 0) {\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }\n  puVar1 = PTR___progname_0003f168;\n  piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);\n  piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);\n  do {\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (expression_statement "puVar2 = PTR_dcgettext_0003f4b4;" (assignment_expression "puVar2 = PTR_dcgettext_0003f4b4" identifier = identifier) ;) (expression_statement "puVar1 = PTR___progname_0003f168;" (assignment_expression "puVar1 = PTR___progname_0003f168" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);" (assignment_expression "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58)" identifier = (pointer_expression "*(int *)(PTR___progname_0003f168 + -0xa58)" * (cast_expression "(int *)(PTR___progname_0003f168 + -0xa58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa58)" ( (binary_expression "PTR___progname_0003f168 + -0xa58" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    /* WARNING: Subroutine does not return */\n    bad_prog(uVar5);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    /* WARNING: Subroutine does not return */\n    bad_prog(uVar5);\n  }" { (expression_statement "uVar8 = *(undefined4 *)(iVar3 + 0xc);" (assignment_expression "uVar8 = *(undefined4 *)(iVar3 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = PTR_DAT_0003f178 + -0x3ec8;" (assignment_expression "puVar7 = PTR_DAT_0003f178 + -0x3ec8" identifier = (binary_expression "PTR_DAT_0003f178 + -0x3ec8" identifier + number_literal)) ;) (expression_statement "uVar5 = *(undefined4 *)(iVar3 + 0x10);" (assignment_expression "uVar5 = *(undefined4 *)(iVar3 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);" (assignment_expression "*(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8)" (pointer_expression "*(undefined4 *)(PTR___progname_0003f168 + -0xa44)" * (cast_expression "(undefined4 *)(PTR___progname_0003f168 + -0xa44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa44)" ( (binary_expression "PTR___progname_0003f168 + -0xa44" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xa40) = uVar8;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa40) = uVar8" (pointer_expression "*(undefined4 *)(puVar1 + -0xa40)" * (cast_expression "(undefined4 *)(puVar1 + -0xa40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa40)" ( (binary_expression "puVar1 + -0xa40" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xa3c) = uVar5;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa3c) = uVar5" (pointer_expression "*(undefined4 *)(puVar1 + -0xa3c)" * (cast_expression "(undefined4 *)(puVar1 + -0xa3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa3c)" ( (binary_expression "puVar1 + -0xa3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = (*(code *)puVar2)(0,puVar7,5);" (assignment_expression "uVar5 = (*(code *)puVar2)(0,puVar7,5)" identifier = (call_expression "(*(code *)puVar2)(0,puVar7,5)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar7,5)" ( number_literal , identifier , number_literal )))) ;) comment (expression_statement "bad_prog(uVar5);" (call_expression "bad_prog(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) })) (expression_statement "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);" (assignment_expression "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50)" identifier = (pointer_expression "*(int *)(PTR___progname_0003f168 + -0xa50)" * (cast_expression "(int *)(PTR___progname_0003f168 + -0xa50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa50)" ( (binary_expression "PTR___progname_0003f168 + -0xa50" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }" { (expression_statement "puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);" (assignment_expression "puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54)" identifier = (pointer_expression "*(undefined4 **)(PTR___progname_0003f168 + -0xa54)" * (cast_expression "(undefined4 **)(PTR___progname_0003f168 + -0xa54)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa54)" ( (binary_expression "PTR___progname_0003f168 + -0xa54" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = size_buffer(iVar3);" (assignment_expression "iVar4 = size_buffer(iVar3)" identifier = (call_expression "size_buffer(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "puVar12[1] = iVar4;" (assignment_expression "puVar12[1] = iVar4" (subscript_expression "puVar12[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }" { (expression_statement "uVar5 = get_buffer(iVar3);" (assignment_expression "uVar5 = get_buffer(iVar3)" identifier = (call_expression "get_buffer(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "uVar5 = xmemdup(uVar5,iVar4);" (assignment_expression "uVar5 = xmemdup(uVar5,iVar4)" identifier = (call_expression "xmemdup(uVar5,iVar4)" identifier (argument_list "(uVar5,iVar4)" ( identifier , identifier )))) ;) (expression_statement "iVar3 = *(int *)(puVar1 + -0xa50);" (assignment_expression "iVar3 = *(int *)(puVar1 + -0xa50)" identifier = (pointer_expression "*(int *)(puVar1 + -0xa50)" * (cast_expression "(int *)(puVar1 + -0xa50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa50)" ( (binary_expression "puVar1 + -0xa50" identifier + number_literal) ))))) ;) (expression_statement "*puVar12 = uVar5;" (assignment_expression "*puVar12 = uVar5" (pointer_expression "*puVar12" * identifier) = identifier) ;) })) (expression_statement "free_buffer(iVar3);" (call_expression "free_buffer(iVar3)" identifier (argument_list "(iVar3)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xa50) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa50) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa50)" * (cast_expression "(undefined4 *)(puVar1 + -0xa50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa50)" ( (binary_expression "puVar1 + -0xa50" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar1 = PTR___progname_0003f168;" (assignment_expression "puVar1 = PTR___progname_0003f168" identifier = identifier) ;) (expression_statement "piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);" (assignment_expression "piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48)" identifier = (pointer_expression "*(int **)(PTR___progname_0003f168 + -0xa48)" * (cast_expression "(int **)(PTR___progname_0003f168 + -0xa48)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa48)" ( (binary_expression "PTR___progname_0003f168 + -0xa48" identifier + number_literal) ))))) ;) (expression_statement "piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);" (assignment_expression "piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c)" identifier = (pointer_expression "*(int **)(PTR___progname_0003f168 + -0xa4c)" * (cast_expression "(int **)(PTR___progname_0003f168 + -0xa4c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa4c)" ( (binary_expression "PTR___progname_0003f168 + -0xa4c" identifier + number_literal) ))))) ;) (do_statement "do {\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  } while( true );" do (compound_statement "{\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  }" { (if_statement "if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }" if (parenthesized_expression "(piVar11 == (int *)0x0)" ( (binary_expression "piVar11 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }" { (expression_statement "*(undefined4 *)(puVar1 + -0xa48) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa48) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa48)" * (cast_expression "(undefined4 *)(puVar1 + -0xa48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa48)" ( (binary_expression "puVar1 + -0xa48" identifier + number_literal) )))) = number_literal) ;) (while_statement "while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }" while (parenthesized_expression "(piVar13 != (int *)0x0)" ( (binary_expression "piVar13 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }" { (expression_statement "piVar11 = (int *)piVar13[5];" (assignment_expression "piVar11 = (int *)piVar13[5]" identifier = (cast_expression "(int *)piVar13[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar13[5]" identifier [ number_literal ]))) ;) (expression_statement "(*(code *)PTR_free_0003f4d8)(piVar13[1]);" (call_expression "(*(code *)PTR_free_0003f4d8)(piVar13[1])" (parenthesized_expression "(*(code *)PTR_free_0003f4d8)" ( (pointer_expression "*(code *)PTR_free_0003f4d8" * (cast_expression "(code *)PTR_free_0003f4d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar13[1])" ( (subscript_expression "piVar13[1]" identifier [ number_literal ]) ))) ;) (expression_statement "piVar13 = piVar11;" (assignment_expression "piVar13 = piVar11" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)(puVar1 + -0xa4c) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa4c) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa4c)" * (cast_expression "(undefined4 *)(puVar1 + -0xa4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa4c)" ( (binary_expression "puVar1 + -0xa4c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar10 = (char *)piVar11[1];" (assignment_expression "pcVar10 = (char *)piVar11[1]" identifier = (cast_expression "(char *)piVar11[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[1]" identifier [ number_literal ]))) ;) (for_statement "for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }" for ( (assignment_expression "piVar9 = piVar13" identifier = identifier) ; (binary_expression "piVar9 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "piVar9 = (int *)piVar9[5]" identifier = (cast_expression "(int *)piVar9[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[5]" identifier [ number_literal ]))) ) (compound_statement "{\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }" { (expression_statement "iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10)" identifier = (call_expression "(*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10)" (parenthesized_expression "(*(code *)PTR_strcmp_0003f4f4)" ( (pointer_expression "*(code *)PTR_strcmp_0003f4f4" * (cast_expression "(code *)PTR_strcmp_0003f4f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar9[1],pcVar10)" ( (subscript_expression "piVar9[1]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }" { (expression_statement "iVar4 = *piVar11;" (assignment_expression "iVar4 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (goto_statement "goto LAB_000165c4;" goto statement_identifier ;) })) })) (if_statement "if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(uVar5,piVar11[1]);\n    }" if (parenthesized_expression "(*pcVar10 != '\0')" ( (binary_expression "*pcVar10 != '\0'" (pointer_expression "*pcVar10" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(uVar5,piVar11[1]);\n    }" { (expression_statement "uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0003f4b4)" ( (pointer_expression "*(code *)PTR_dcgettext_0003f4b4" * (cast_expression "(code *)PTR_dcgettext_0003f4b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0003f178 + -0x48c0,5)" ( number_literal , (binary_expression "PTR_DAT_0003f178 + -0x48c0" identifier + number_literal) , number_literal )))) ;) comment (expression_statement "panic(uVar5,piVar11[1]);" (call_expression "panic(uVar5,piVar11[1])" identifier (argument_list "(uVar5,piVar11[1])" ( identifier , (subscript_expression "piVar11[1]" identifier [ number_literal ]) ))) ;) })) (expression_statement "iVar4 = *piVar11;" (assignment_expression "iVar4 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (labeled_statement "LAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;" statement_identifier : (expression_statement "puVar2 = PTR_free_0003f4d8;" (assignment_expression "puVar2 = PTR_free_0003f4d8" identifier = identifier) ;)) (expression_statement "piVar11 = (int *)piVar11[5];" (assignment_expression "piVar11 = (int *)piVar11[5]" identifier = (cast_expression "(int *)piVar11[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[5]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;" (assignment_expression "*(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6" (pointer_expression "*(int *)(iVar3 + iVar4 * 0x18 + 0x10)" * (cast_expression "(int *)(iVar3 + iVar4 * 0x18 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4 * 0x18 + 0x10)" ( (binary_expression "iVar3 + iVar4 * 0x18 + 0x10" (binary_expression "iVar3 + iVar4 * 0x18" identifier + (binary_expression "iVar4 * 0x18" identifier * number_literal)) + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar2)(pcVar10);" (call_expression "(*(code *)puVar2)(pcVar10)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar10)" ( identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void check_final_program(vector *program)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t s;\n  void *pvVar4;\n  sed_cmd *psVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  undefined *puVar8;\n  undefined4 uVar9;\n  buffer *b;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  \n  puVar2 = PTR_dcgettext_0003f4b4;\n  puVar1 = PTR___progname_0003f168;\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);\n  if (iVar3 != 0) {\n    uVar9 = *(undefined4 *)(iVar3 + 0xc);\n    puVar8 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar6 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar9;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar6;\n    pcVar11 = (char *)(*(code *)puVar2)(0,puVar8,5);\n                    /* WARNING: Subroutine does not return */\n    bad_prog(pcVar11);\n  }\n  b = *(buffer **)(PTR___progname_0003f168 + -0xa50);\n  if (b != (buffer *)0x0) {\n    puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    s = size_buffer(b);\n    puVar13[1] = s;\n    if (s != 0) {\n      pcVar11 = get_buffer(b);\n      pvVar4 = xmemdup(pcVar11,s);\n      b = *(buffer **)(puVar1 + -0xa50);\n      *puVar13 = pvVar4;\n    }\n    free_buffer(b);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }\n  puVar1 = PTR___progname_0003f168;\n  piVar12 = *(int **)(PTR___progname_0003f168 + -0xa48);\n  puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa4c);\n  do {\n    if (piVar12 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (puVar13 != (undefined4 *)0x0) {\n        puVar10 = (undefined4 *)puVar13[5];\n        (*(code *)PTR_free_0003f4d8)(puVar13[1]);\n        puVar13 = puVar10;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar11 = (char *)piVar12[1];\n    for (puVar10 = puVar13; puVar10 != (undefined4 *)0x0; puVar10 = (undefined4 *)puVar10[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(puVar10[1],pcVar11);\n      if (iVar3 == 0) {\n        iVar3 = *piVar12;\n        psVar5 = program->v;\n        pcVar7 = (char *)*puVar10;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar11 != '\0') {\n      pcVar11 = (char *)(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar11,piVar12[1]);\n    }\n    iVar3 = *piVar12;\n    psVar5 = program->v;\n    pcVar7 = (char *)program->v_length;\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar12 = (int *)piVar12[5];\n    psVar5[iVar3].x.cmd_txt.text = pcVar7;\n    (*(code *)puVar2)(pcVar11);\n  } while( true );\n}\n\n" (function_definition "void check_final_program(vector *program)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t s;\n  void *pvVar4;\n  sed_cmd *psVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  undefined *puVar8;\n  undefined4 uVar9;\n  buffer *b;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  \n  puVar2 = PTR_dcgettext_0003f4b4;\n  puVar1 = PTR___progname_0003f168;\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);\n  if (iVar3 != 0) {\n    uVar9 = *(undefined4 *)(iVar3 + 0xc);\n    puVar8 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar6 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar9;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar6;\n    pcVar11 = (char *)(*(code *)puVar2)(0,puVar8,5);\n                    /* WARNING: Subroutine does not return */\n    bad_prog(pcVar11);\n  }\n  b = *(buffer **)(PTR___progname_0003f168 + -0xa50);\n  if (b != (buffer *)0x0) {\n    puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    s = size_buffer(b);\n    puVar13[1] = s;\n    if (s != 0) {\n      pcVar11 = get_buffer(b);\n      pvVar4 = xmemdup(pcVar11,s);\n      b = *(buffer **)(puVar1 + -0xa50);\n      *puVar13 = pvVar4;\n    }\n    free_buffer(b);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }\n  puVar1 = PTR___progname_0003f168;\n  piVar12 = *(int **)(PTR___progname_0003f168 + -0xa48);\n  puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa4c);\n  do {\n    if (piVar12 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (puVar13 != (undefined4 *)0x0) {\n        puVar10 = (undefined4 *)puVar13[5];\n        (*(code *)PTR_free_0003f4d8)(puVar13[1]);\n        puVar13 = puVar10;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar11 = (char *)piVar12[1];\n    for (puVar10 = puVar13; puVar10 != (undefined4 *)0x0; puVar10 = (undefined4 *)puVar10[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(puVar10[1],pcVar11);\n      if (iVar3 == 0) {\n        iVar3 = *piVar12;\n        psVar5 = program->v;\n        pcVar7 = (char *)*puVar10;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar11 != '\0') {\n      pcVar11 = (char *)(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar11,piVar12[1]);\n    }\n    iVar3 = *piVar12;\n    psVar5 = program->v;\n    pcVar7 = (char *)program->v_length;\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar12 = (int *)piVar12[5];\n    psVar5[iVar3].x.cmd_txt.text = pcVar7;\n    (*(code *)puVar2)(pcVar11);\n  } while( true );\n}" primitive_type (function_declarator "check_final_program(vector *program)" identifier (parameter_list "(vector *program)" ( (parameter_declaration "vector *program" type_identifier (pointer_declarator "*program" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  size_t s;\n  void *pvVar4;\n  sed_cmd *psVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  undefined *puVar8;\n  undefined4 uVar9;\n  buffer *b;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  \n  puVar2 = PTR_dcgettext_0003f4b4;\n  puVar1 = PTR___progname_0003f168;\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);\n  if (iVar3 != 0) {\n    uVar9 = *(undefined4 *)(iVar3 + 0xc);\n    puVar8 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar6 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar9;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar6;\n    pcVar11 = (char *)(*(code *)puVar2)(0,puVar8,5);\n                    /* WARNING: Subroutine does not return */\n    bad_prog(pcVar11);\n  }\n  b = *(buffer **)(PTR___progname_0003f168 + -0xa50);\n  if (b != (buffer *)0x0) {\n    puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    s = size_buffer(b);\n    puVar13[1] = s;\n    if (s != 0) {\n      pcVar11 = get_buffer(b);\n      pvVar4 = xmemdup(pcVar11,s);\n      b = *(buffer **)(puVar1 + -0xa50);\n      *puVar13 = pvVar4;\n    }\n    free_buffer(b);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }\n  puVar1 = PTR___progname_0003f168;\n  piVar12 = *(int **)(PTR___progname_0003f168 + -0xa48);\n  puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa4c);\n  do {\n    if (piVar12 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (puVar13 != (undefined4 *)0x0) {\n        puVar10 = (undefined4 *)puVar13[5];\n        (*(code *)PTR_free_0003f4d8)(puVar13[1]);\n        puVar13 = puVar10;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar11 = (char *)piVar12[1];\n    for (puVar10 = puVar13; puVar10 != (undefined4 *)0x0; puVar10 = (undefined4 *)puVar10[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(puVar10[1],pcVar11);\n      if (iVar3 == 0) {\n        iVar3 = *piVar12;\n        psVar5 = program->v;\n        pcVar7 = (char *)*puVar10;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar11 != '\0') {\n      pcVar11 = (char *)(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar11,piVar12[1]);\n    }\n    iVar3 = *piVar12;\n    psVar5 = program->v;\n    pcVar7 = (char *)program->v_length;\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar12 = (int *)piVar12[5];\n    psVar5[iVar3].x.cmd_txt.text = pcVar7;\n    (*(code *)puVar2)(pcVar11);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t s;" primitive_type identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "sed_cmd *psVar5;" type_identifier (pointer_declarator "*psVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "buffer *b;" type_identifier (pointer_declarator "*b" * identifier) ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (expression_statement "puVar2 = PTR_dcgettext_0003f4b4;" (assignment_expression "puVar2 = PTR_dcgettext_0003f4b4" identifier = identifier) ;) (expression_statement "puVar1 = PTR___progname_0003f168;" (assignment_expression "puVar1 = PTR___progname_0003f168" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);" (assignment_expression "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58)" identifier = (pointer_expression "*(int *)(PTR___progname_0003f168 + -0xa58)" * (cast_expression "(int *)(PTR___progname_0003f168 + -0xa58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa58)" ( (binary_expression "PTR___progname_0003f168 + -0xa58" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    uVar9 = *(undefined4 *)(iVar3 + 0xc);\n    puVar8 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar6 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar9;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar6;\n    pcVar11 = (char *)(*(code *)puVar2)(0,puVar8,5);\n                    /* WARNING: Subroutine does not return */\n    bad_prog(pcVar11);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar9 = *(undefined4 *)(iVar3 + 0xc);\n    puVar8 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar6 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar9;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar6;\n    pcVar11 = (char *)(*(code *)puVar2)(0,puVar8,5);\n                    /* WARNING: Subroutine does not return */\n    bad_prog(pcVar11);\n  }" { (expression_statement "uVar9 = *(undefined4 *)(iVar3 + 0xc);" (assignment_expression "uVar9 = *(undefined4 *)(iVar3 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "puVar8 = PTR_DAT_0003f178 + -0x3ec8;" (assignment_expression "puVar8 = PTR_DAT_0003f178 + -0x3ec8" identifier = (binary_expression "PTR_DAT_0003f178 + -0x3ec8" identifier + number_literal)) ;) (expression_statement "uVar6 = *(undefined4 *)(iVar3 + 0x10);" (assignment_expression "uVar6 = *(undefined4 *)(iVar3 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);" (assignment_expression "*(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8)" (pointer_expression "*(undefined4 *)(PTR___progname_0003f168 + -0xa44)" * (cast_expression "(undefined4 *)(PTR___progname_0003f168 + -0xa44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa44)" ( (binary_expression "PTR___progname_0003f168 + -0xa44" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xa40) = uVar9;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa40) = uVar9" (pointer_expression "*(undefined4 *)(puVar1 + -0xa40)" * (cast_expression "(undefined4 *)(puVar1 + -0xa40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa40)" ( (binary_expression "puVar1 + -0xa40" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xa3c) = uVar6;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa3c) = uVar6" (pointer_expression "*(undefined4 *)(puVar1 + -0xa3c)" * (cast_expression "(undefined4 *)(puVar1 + -0xa3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa3c)" ( (binary_expression "puVar1 + -0xa3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar11 = (char *)(*(code *)puVar2)(0,puVar8,5);" (assignment_expression "pcVar11 = (char *)(*(code *)puVar2)(0,puVar8,5)" identifier = (cast_expression "(char *)(*(code *)puVar2)(0,puVar8,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar2)(0,puVar8,5)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar8,5)" ( number_literal , identifier , number_literal ))))) ;) comment (expression_statement "bad_prog(pcVar11);" (call_expression "bad_prog(pcVar11)" identifier (argument_list "(pcVar11)" ( identifier ))) ;) })) (expression_statement "b = *(buffer **)(PTR___progname_0003f168 + -0xa50);" (assignment_expression "b = *(buffer **)(PTR___progname_0003f168 + -0xa50)" identifier = (pointer_expression "*(buffer **)(PTR___progname_0003f168 + -0xa50)" * (cast_expression "(buffer **)(PTR___progname_0003f168 + -0xa50)" ( (type_descriptor "buffer **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa50)" ( (binary_expression "PTR___progname_0003f168 + -0xa50" identifier + number_literal) ))))) ;) (if_statement "if (b != (buffer *)0x0) {\n    puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    s = size_buffer(b);\n    puVar13[1] = s;\n    if (s != 0) {\n      pcVar11 = get_buffer(b);\n      pvVar4 = xmemdup(pcVar11,s);\n      b = *(buffer **)(puVar1 + -0xa50);\n      *puVar13 = pvVar4;\n    }\n    free_buffer(b);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }" if (parenthesized_expression "(b != (buffer *)0x0)" ( (binary_expression "b != (buffer *)0x0" identifier != (cast_expression "(buffer *)0x0" ( (type_descriptor "buffer *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    s = size_buffer(b);\n    puVar13[1] = s;\n    if (s != 0) {\n      pcVar11 = get_buffer(b);\n      pvVar4 = xmemdup(pcVar11,s);\n      b = *(buffer **)(puVar1 + -0xa50);\n      *puVar13 = pvVar4;\n    }\n    free_buffer(b);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }" { (expression_statement "puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);" (assignment_expression "puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54)" identifier = (pointer_expression "*(undefined4 **)(PTR___progname_0003f168 + -0xa54)" * (cast_expression "(undefined4 **)(PTR___progname_0003f168 + -0xa54)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa54)" ( (binary_expression "PTR___progname_0003f168 + -0xa54" identifier + number_literal) ))))) ;) (expression_statement "s = size_buffer(b);" (assignment_expression "s = size_buffer(b)" identifier = (call_expression "size_buffer(b)" identifier (argument_list "(b)" ( identifier )))) ;) (expression_statement "puVar13[1] = s;" (assignment_expression "puVar13[1] = s" (subscript_expression "puVar13[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (s != 0) {\n      pcVar11 = get_buffer(b);\n      pvVar4 = xmemdup(pcVar11,s);\n      b = *(buffer **)(puVar1 + -0xa50);\n      *puVar13 = pvVar4;\n    }" if (parenthesized_expression "(s != 0)" ( (binary_expression "s != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar11 = get_buffer(b);\n      pvVar4 = xmemdup(pcVar11,s);\n      b = *(buffer **)(puVar1 + -0xa50);\n      *puVar13 = pvVar4;\n    }" { (expression_statement "pcVar11 = get_buffer(b);" (assignment_expression "pcVar11 = get_buffer(b)" identifier = (call_expression "get_buffer(b)" identifier (argument_list "(b)" ( identifier )))) ;) (expression_statement "pvVar4 = xmemdup(pcVar11,s);" (assignment_expression "pvVar4 = xmemdup(pcVar11,s)" identifier = (call_expression "xmemdup(pcVar11,s)" identifier (argument_list "(pcVar11,s)" ( identifier , identifier )))) ;) (expression_statement "b = *(buffer **)(puVar1 + -0xa50);" (assignment_expression "b = *(buffer **)(puVar1 + -0xa50)" identifier = (pointer_expression "*(buffer **)(puVar1 + -0xa50)" * (cast_expression "(buffer **)(puVar1 + -0xa50)" ( (type_descriptor "buffer **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + -0xa50)" ( (binary_expression "puVar1 + -0xa50" identifier + number_literal) ))))) ;) (expression_statement "*puVar13 = pvVar4;" (assignment_expression "*puVar13 = pvVar4" (pointer_expression "*puVar13" * identifier) = identifier) ;) })) (expression_statement "free_buffer(b);" (call_expression "free_buffer(b)" identifier (argument_list "(b)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xa50) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa50) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa50)" * (cast_expression "(undefined4 *)(puVar1 + -0xa50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa50)" ( (binary_expression "puVar1 + -0xa50" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar1 = PTR___progname_0003f168;" (assignment_expression "puVar1 = PTR___progname_0003f168" identifier = identifier) ;) (expression_statement "piVar12 = *(int **)(PTR___progname_0003f168 + -0xa48);" (assignment_expression "piVar12 = *(int **)(PTR___progname_0003f168 + -0xa48)" identifier = (pointer_expression "*(int **)(PTR___progname_0003f168 + -0xa48)" * (cast_expression "(int **)(PTR___progname_0003f168 + -0xa48)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa48)" ( (binary_expression "PTR___progname_0003f168 + -0xa48" identifier + number_literal) ))))) ;) (expression_statement "puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa4c);" (assignment_expression "puVar13 = *(undefined4 **)(PTR___progname_0003f168 + -0xa4c)" identifier = (pointer_expression "*(undefined4 **)(PTR___progname_0003f168 + -0xa4c)" * (cast_expression "(undefined4 **)(PTR___progname_0003f168 + -0xa4c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa4c)" ( (binary_expression "PTR___progname_0003f168 + -0xa4c" identifier + number_literal) ))))) ;) (do_statement "do {\n    if (piVar12 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (puVar13 != (undefined4 *)0x0) {\n        puVar10 = (undefined4 *)puVar13[5];\n        (*(code *)PTR_free_0003f4d8)(puVar13[1]);\n        puVar13 = puVar10;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar11 = (char *)piVar12[1];\n    for (puVar10 = puVar13; puVar10 != (undefined4 *)0x0; puVar10 = (undefined4 *)puVar10[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(puVar10[1],pcVar11);\n      if (iVar3 == 0) {\n        iVar3 = *piVar12;\n        psVar5 = program->v;\n        pcVar7 = (char *)*puVar10;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar11 != '\0') {\n      pcVar11 = (char *)(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar11,piVar12[1]);\n    }\n    iVar3 = *piVar12;\n    psVar5 = program->v;\n    pcVar7 = (char *)program->v_length;\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar12 = (int *)piVar12[5];\n    psVar5[iVar3].x.cmd_txt.text = pcVar7;\n    (*(code *)puVar2)(pcVar11);\n  } while( true );" do (compound_statement "{\n    if (piVar12 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (puVar13 != (undefined4 *)0x0) {\n        puVar10 = (undefined4 *)puVar13[5];\n        (*(code *)PTR_free_0003f4d8)(puVar13[1]);\n        puVar13 = puVar10;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar11 = (char *)piVar12[1];\n    for (puVar10 = puVar13; puVar10 != (undefined4 *)0x0; puVar10 = (undefined4 *)puVar10[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(puVar10[1],pcVar11);\n      if (iVar3 == 0) {\n        iVar3 = *piVar12;\n        psVar5 = program->v;\n        pcVar7 = (char *)*puVar10;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar11 != '\0') {\n      pcVar11 = (char *)(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar11,piVar12[1]);\n    }\n    iVar3 = *piVar12;\n    psVar5 = program->v;\n    pcVar7 = (char *)program->v_length;\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar12 = (int *)piVar12[5];\n    psVar5[iVar3].x.cmd_txt.text = pcVar7;\n    (*(code *)puVar2)(pcVar11);\n  }" { (if_statement "if (piVar12 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (puVar13 != (undefined4 *)0x0) {\n        puVar10 = (undefined4 *)puVar13[5];\n        (*(code *)PTR_free_0003f4d8)(puVar13[1]);\n        puVar13 = puVar10;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }" if (parenthesized_expression "(piVar12 == (int *)0x0)" ( (binary_expression "piVar12 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (puVar13 != (undefined4 *)0x0) {\n        puVar10 = (undefined4 *)puVar13[5];\n        (*(code *)PTR_free_0003f4d8)(puVar13[1]);\n        puVar13 = puVar10;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }" { (expression_statement "*(undefined4 *)(puVar1 + -0xa48) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa48) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa48)" * (cast_expression "(undefined4 *)(puVar1 + -0xa48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa48)" ( (binary_expression "puVar1 + -0xa48" identifier + number_literal) )))) = number_literal) ;) (while_statement "while (puVar13 != (undefined4 *)0x0) {\n        puVar10 = (undefined4 *)puVar13[5];\n        (*(code *)PTR_free_0003f4d8)(puVar13[1]);\n        puVar13 = puVar10;\n      }" while (parenthesized_expression "(puVar13 != (undefined4 *)0x0)" ( (binary_expression "puVar13 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar10 = (undefined4 *)puVar13[5];\n        (*(code *)PTR_free_0003f4d8)(puVar13[1]);\n        puVar13 = puVar10;\n      }" { (expression_statement "puVar10 = (undefined4 *)puVar13[5];" (assignment_expression "puVar10 = (undefined4 *)puVar13[5]" identifier = (cast_expression "(undefined4 *)puVar13[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar13[5]" identifier [ number_literal ]))) ;) (expression_statement "(*(code *)PTR_free_0003f4d8)(puVar13[1]);" (call_expression "(*(code *)PTR_free_0003f4d8)(puVar13[1])" (parenthesized_expression "(*(code *)PTR_free_0003f4d8)" ( (pointer_expression "*(code *)PTR_free_0003f4d8" * (cast_expression "(code *)PTR_free_0003f4d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar13[1])" ( (subscript_expression "puVar13[1]" identifier [ number_literal ]) ))) ;) (expression_statement "puVar13 = puVar10;" (assignment_expression "puVar13 = puVar10" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)(puVar1 + -0xa4c) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa4c) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa4c)" * (cast_expression "(undefined4 *)(puVar1 + -0xa4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa4c)" ( (binary_expression "puVar1 + -0xa4c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar11 = (char *)piVar12[1];" (assignment_expression "pcVar11 = (char *)piVar12[1]" identifier = (cast_expression "(char *)piVar12[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[1]" identifier [ number_literal ]))) ;) (for_statement "for (puVar10 = puVar13; puVar10 != (undefined4 *)0x0; puVar10 = (undefined4 *)puVar10[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(puVar10[1],pcVar11);\n      if (iVar3 == 0) {\n        iVar3 = *piVar12;\n        psVar5 = program->v;\n        pcVar7 = (char *)*puVar10;\n        goto LAB_000165c4;\n      }\n    }" for ( (assignment_expression "puVar10 = puVar13" identifier = identifier) ; (binary_expression "puVar10 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar10 = (undefined4 *)puVar10[5]" identifier = (cast_expression "(undefined4 *)puVar10[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar10[5]" identifier [ number_literal ]))) ) (compound_statement "{\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(puVar10[1],pcVar11);\n      if (iVar3 == 0) {\n        iVar3 = *piVar12;\n        psVar5 = program->v;\n        pcVar7 = (char *)*puVar10;\n        goto LAB_000165c4;\n      }\n    }" { (expression_statement "iVar3 = (*(code *)PTR_strcmp_0003f4f4)(puVar10[1],pcVar11);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_0003f4f4)(puVar10[1],pcVar11)" identifier = (call_expression "(*(code *)PTR_strcmp_0003f4f4)(puVar10[1],pcVar11)" (parenthesized_expression "(*(code *)PTR_strcmp_0003f4f4)" ( (pointer_expression "*(code *)PTR_strcmp_0003f4f4" * (cast_expression "(code *)PTR_strcmp_0003f4f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10[1],pcVar11)" ( (subscript_expression "puVar10[1]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n        iVar3 = *piVar12;\n        psVar5 = program->v;\n        pcVar7 = (char *)*puVar10;\n        goto LAB_000165c4;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar3 = *piVar12;\n        psVar5 = program->v;\n        pcVar7 = (char *)*puVar10;\n        goto LAB_000165c4;\n      }" { (expression_statement "iVar3 = *piVar12;" (assignment_expression "iVar3 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (expression_statement "psVar5 = program->v;" (assignment_expression "psVar5 = program->v" identifier = (field_expression "program->v" identifier -> field_identifier)) ;) (expression_statement "pcVar7 = (char *)*puVar10;" (assignment_expression "pcVar7 = (char *)*puVar10" identifier = (cast_expression "(char *)*puVar10" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (goto_statement "goto LAB_000165c4;" goto statement_identifier ;) })) })) (if_statement "if (*pcVar11 != '\0') {\n      pcVar11 = (char *)(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar11,piVar12[1]);\n    }" if (parenthesized_expression "(*pcVar11 != '\0')" ( (binary_expression "*pcVar11 != '\0'" (pointer_expression "*pcVar11" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar11 = (char *)(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar11,piVar12[1]);\n    }" { (expression_statement "pcVar11 = (char *)(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);" (assignment_expression "pcVar11 = (char *)(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0003f4b4)" ( (pointer_expression "*(code *)PTR_dcgettext_0003f4b4" * (cast_expression "(code *)PTR_dcgettext_0003f4b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0003f178 + -0x48c0,5)" ( number_literal , (binary_expression "PTR_DAT_0003f178 + -0x48c0" identifier + number_literal) , number_literal ))))) ;) comment (expression_statement "panic(pcVar11,piVar12[1]);" (call_expression "panic(pcVar11,piVar12[1])" identifier (argument_list "(pcVar11,piVar12[1])" ( identifier , (subscript_expression "piVar12[1]" identifier [ number_literal ]) ))) ;) })) (expression_statement "iVar3 = *piVar12;" (assignment_expression "iVar3 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (expression_statement "psVar5 = program->v;" (assignment_expression "psVar5 = program->v" identifier = (field_expression "program->v" identifier -> field_identifier)) ;) (expression_statement "pcVar7 = (char *)program->v_length;" (assignment_expression "pcVar7 = (char *)program->v_length" identifier = (cast_expression "(char *)program->v_length" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "program->v_length" identifier -> field_identifier))) ;) (labeled_statement "LAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;" statement_identifier : (expression_statement "puVar2 = PTR_free_0003f4d8;" (assignment_expression "puVar2 = PTR_free_0003f4d8" identifier = identifier) ;)) (expression_statement "piVar12 = (int *)piVar12[5];" (assignment_expression "piVar12 = (int *)piVar12[5]" identifier = (cast_expression "(int *)piVar12[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[5]" identifier [ number_literal ]))) ;) (expression_statement "psVar5[iVar3].x.cmd_txt.text = pcVar7;" (assignment_expression "psVar5[iVar3].x.cmd_txt.text = pcVar7" (field_expression "psVar5[iVar3].x.cmd_txt.text" (field_expression "psVar5[iVar3].x.cmd_txt" (field_expression "psVar5[iVar3].x" (subscript_expression "psVar5[iVar3]" identifier [ identifier ]) . field_identifier) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(*(code *)puVar2)(pcVar11);" (call_expression "(*(code *)puVar2)(pcVar11)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11)" ( identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void check_final_program(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  undefined4 *puVar12;\n  int *piVar13;\n  \n  puVar2 = PTR_dcgettext_0003f4b4;\n  puVar1 = PTR___progname_0003f168;\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);\n  if (iVar3 != 0) {\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    \n    bad_prog(uVar5);\n  }\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);\n  if (iVar3 != 0) {\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }\n  puVar1 = PTR___progname_0003f168;\n  piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);\n  piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);\n  do {\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  } while( true );\n}\n\n" (function_definition "void check_final_program(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  undefined4 *puVar12;\n  int *piVar13;\n  \n  puVar2 = PTR_dcgettext_0003f4b4;\n  puVar1 = PTR___progname_0003f168;\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);\n  if (iVar3 != 0) {\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    \n    bad_prog(uVar5);\n  }\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);\n  if (iVar3 != 0) {\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }\n  puVar1 = PTR___progname_0003f168;\n  piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);\n  piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);\n  do {\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  } while( true );\n}" primitive_type (function_declarator "check_final_program(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  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  undefined4 *puVar12;\n  int *piVar13;\n  \n  puVar2 = PTR_dcgettext_0003f4b4;\n  puVar1 = PTR___progname_0003f168;\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);\n  if (iVar3 != 0) {\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    \n    bad_prog(uVar5);\n  }\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);\n  if (iVar3 != 0) {\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }\n  puVar1 = PTR___progname_0003f168;\n  piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);\n  piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);\n  do {\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (expression_statement "puVar2 = PTR_dcgettext_0003f4b4;" (assignment_expression "puVar2 = PTR_dcgettext_0003f4b4" identifier = identifier) ;) (expression_statement "puVar1 = PTR___progname_0003f168;" (assignment_expression "puVar1 = PTR___progname_0003f168" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);" (assignment_expression "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58)" identifier = (pointer_expression "*(int *)(PTR___progname_0003f168 + -0xa58)" * (cast_expression "(int *)(PTR___progname_0003f168 + -0xa58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa58)" ( (binary_expression "PTR___progname_0003f168 + -0xa58" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    \n    bad_prog(uVar5);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    \n    bad_prog(uVar5);\n  }" { (expression_statement "uVar8 = *(undefined4 *)(iVar3 + 0xc);" (assignment_expression "uVar8 = *(undefined4 *)(iVar3 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = PTR_DAT_0003f178 + -0x3ec8;" (assignment_expression "puVar7 = PTR_DAT_0003f178 + -0x3ec8" identifier = (binary_expression "PTR_DAT_0003f178 + -0x3ec8" identifier + number_literal)) ;) (expression_statement "uVar5 = *(undefined4 *)(iVar3 + 0x10);" (assignment_expression "uVar5 = *(undefined4 *)(iVar3 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);" (assignment_expression "*(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8)" (pointer_expression "*(undefined4 *)(PTR___progname_0003f168 + -0xa44)" * (cast_expression "(undefined4 *)(PTR___progname_0003f168 + -0xa44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa44)" ( (binary_expression "PTR___progname_0003f168 + -0xa44" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xa40) = uVar8;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa40) = uVar8" (pointer_expression "*(undefined4 *)(puVar1 + -0xa40)" * (cast_expression "(undefined4 *)(puVar1 + -0xa40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa40)" ( (binary_expression "puVar1 + -0xa40" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xa3c) = uVar5;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa3c) = uVar5" (pointer_expression "*(undefined4 *)(puVar1 + -0xa3c)" * (cast_expression "(undefined4 *)(puVar1 + -0xa3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa3c)" ( (binary_expression "puVar1 + -0xa3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = (*(code *)puVar2)(0,puVar7,5);" (assignment_expression "uVar5 = (*(code *)puVar2)(0,puVar7,5)" identifier = (call_expression "(*(code *)puVar2)(0,puVar7,5)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar7,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "bad_prog(uVar5);" (call_expression "bad_prog(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) })) (expression_statement "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);" (assignment_expression "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50)" identifier = (pointer_expression "*(int *)(PTR___progname_0003f168 + -0xa50)" * (cast_expression "(int *)(PTR___progname_0003f168 + -0xa50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa50)" ( (binary_expression "PTR___progname_0003f168 + -0xa50" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }" { (expression_statement "puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);" (assignment_expression "puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54)" identifier = (pointer_expression "*(undefined4 **)(PTR___progname_0003f168 + -0xa54)" * (cast_expression "(undefined4 **)(PTR___progname_0003f168 + -0xa54)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa54)" ( (binary_expression "PTR___progname_0003f168 + -0xa54" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = size_buffer(iVar3);" (assignment_expression "iVar4 = size_buffer(iVar3)" identifier = (call_expression "size_buffer(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "puVar12[1] = iVar4;" (assignment_expression "puVar12[1] = iVar4" (subscript_expression "puVar12[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }" { (expression_statement "uVar5 = get_buffer(iVar3);" (assignment_expression "uVar5 = get_buffer(iVar3)" identifier = (call_expression "get_buffer(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "uVar5 = xmemdup(uVar5,iVar4);" (assignment_expression "uVar5 = xmemdup(uVar5,iVar4)" identifier = (call_expression "xmemdup(uVar5,iVar4)" identifier (argument_list "(uVar5,iVar4)" ( identifier , identifier )))) ;) (expression_statement "iVar3 = *(int *)(puVar1 + -0xa50);" (assignment_expression "iVar3 = *(int *)(puVar1 + -0xa50)" identifier = (pointer_expression "*(int *)(puVar1 + -0xa50)" * (cast_expression "(int *)(puVar1 + -0xa50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa50)" ( (binary_expression "puVar1 + -0xa50" identifier + number_literal) ))))) ;) (expression_statement "*puVar12 = uVar5;" (assignment_expression "*puVar12 = uVar5" (pointer_expression "*puVar12" * identifier) = identifier) ;) })) (expression_statement "free_buffer(iVar3);" (call_expression "free_buffer(iVar3)" identifier (argument_list "(iVar3)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(puVar1 + -0xa50) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa50) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa50)" * (cast_expression "(undefined4 *)(puVar1 + -0xa50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa50)" ( (binary_expression "puVar1 + -0xa50" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar1 = PTR___progname_0003f168;" (assignment_expression "puVar1 = PTR___progname_0003f168" identifier = identifier) ;) (expression_statement "piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);" (assignment_expression "piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48)" identifier = (pointer_expression "*(int **)(PTR___progname_0003f168 + -0xa48)" * (cast_expression "(int **)(PTR___progname_0003f168 + -0xa48)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa48)" ( (binary_expression "PTR___progname_0003f168 + -0xa48" identifier + number_literal) ))))) ;) (expression_statement "piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);" (assignment_expression "piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c)" identifier = (pointer_expression "*(int **)(PTR___progname_0003f168 + -0xa4c)" * (cast_expression "(int **)(PTR___progname_0003f168 + -0xa4c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR___progname_0003f168 + -0xa4c)" ( (binary_expression "PTR___progname_0003f168 + -0xa4c" identifier + number_literal) ))))) ;) (do_statement "do {\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  } while( true );" do (compound_statement "{\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  }" { (if_statement "if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }" if (parenthesized_expression "(piVar11 == (int *)0x0)" ( (binary_expression "piVar11 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }" { (expression_statement "*(undefined4 *)(puVar1 + -0xa48) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa48) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa48)" * (cast_expression "(undefined4 *)(puVar1 + -0xa48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa48)" ( (binary_expression "puVar1 + -0xa48" identifier + number_literal) )))) = number_literal) ;) (while_statement "while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }" while (parenthesized_expression "(piVar13 != (int *)0x0)" ( (binary_expression "piVar13 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }" { (expression_statement "piVar11 = (int *)piVar13[5];" (assignment_expression "piVar11 = (int *)piVar13[5]" identifier = (cast_expression "(int *)piVar13[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar13[5]" identifier [ number_literal ]))) ;) (expression_statement "(*(code *)PTR_free_0003f4d8)(piVar13[1]);" (call_expression "(*(code *)PTR_free_0003f4d8)(piVar13[1])" (parenthesized_expression "(*(code *)PTR_free_0003f4d8)" ( (pointer_expression "*(code *)PTR_free_0003f4d8" * (cast_expression "(code *)PTR_free_0003f4d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar13[1])" ( (subscript_expression "piVar13[1]" identifier [ number_literal ]) ))) ;) (expression_statement "piVar13 = piVar11;" (assignment_expression "piVar13 = piVar11" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)(puVar1 + -0xa4c) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa4c) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa4c)" * (cast_expression "(undefined4 *)(puVar1 + -0xa4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0xa4c)" ( (binary_expression "puVar1 + -0xa4c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar10 = (char *)piVar11[1];" (assignment_expression "pcVar10 = (char *)piVar11[1]" identifier = (cast_expression "(char *)piVar11[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[1]" identifier [ number_literal ]))) ;) (for_statement "for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }" for ( (assignment_expression "piVar9 = piVar13" identifier = identifier) ; (binary_expression "piVar9 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "piVar9 = (int *)piVar9[5]" identifier = (cast_expression "(int *)piVar9[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[5]" identifier [ number_literal ]))) ) (compound_statement "{\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }" { (expression_statement "iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10)" identifier = (call_expression "(*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10)" (parenthesized_expression "(*(code *)PTR_strcmp_0003f4f4)" ( (pointer_expression "*(code *)PTR_strcmp_0003f4f4" * (cast_expression "(code *)PTR_strcmp_0003f4f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar9[1],pcVar10)" ( (subscript_expression "piVar9[1]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }" { (expression_statement "iVar4 = *piVar11;" (assignment_expression "iVar4 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (goto_statement "goto LAB_000165c4;" goto statement_identifier ;) })) })) (if_statement "if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }" if (parenthesized_expression "(*pcVar10 != '\0')" ( (binary_expression "*pcVar10 != '\0'" (pointer_expression "*pcVar10" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }" { (expression_statement "uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0003f4b4)" ( (pointer_expression "*(code *)PTR_dcgettext_0003f4b4" * (cast_expression "(code *)PTR_dcgettext_0003f4b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0003f178 + -0x48c0,5)" ( number_literal , (binary_expression "PTR_DAT_0003f178 + -0x48c0" identifier + number_literal) , number_literal )))) ;) (expression_statement "panic(uVar5,piVar11[1]);" (call_expression "panic(uVar5,piVar11[1])" identifier (argument_list "(uVar5,piVar11[1])" ( identifier , (subscript_expression "piVar11[1]" identifier [ number_literal ]) ))) ;) })) (expression_statement "iVar4 = *piVar11;" (assignment_expression "iVar4 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (labeled_statement "LAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;" statement_identifier : (expression_statement "puVar2 = PTR_free_0003f4d8;" (assignment_expression "puVar2 = PTR_free_0003f4d8" identifier = identifier) ;)) (expression_statement "piVar11 = (int *)piVar11[5];" (assignment_expression "piVar11 = (int *)piVar11[5]" identifier = (cast_expression "(int *)piVar11[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[5]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;" (assignment_expression "*(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6" (pointer_expression "*(int *)(iVar3 + iVar4 * 0x18 + 0x10)" * (cast_expression "(int *)(iVar3 + iVar4 * 0x18 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + iVar4 * 0x18 + 0x10)" ( (binary_expression "iVar3 + iVar4 * 0x18 + 0x10" (binary_expression "iVar3 + iVar4 * 0x18" identifier + (binary_expression "iVar4 * 0x18" identifier * number_literal)) + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar2)(pcVar10);" (call_expression "(*(code *)puVar2)(pcVar10)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar10)" ( identifier ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (for_statement for ( (assignment_expression IDENT = IDENT) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void check_final_program(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  undefined4 *puVar12;\n  int *piVar13;\n  \n  puVar2 = PTR_dcgettext_0003f4b4;\n  puVar1 = PTR___progname_0003f168;\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);\n  if (iVar3 != 0) {\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    \n    bad_prog(uVar5);\n  }\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);\n  if (iVar3 != 0) {\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }\n  puVar1 = PTR___progname_0003f168;\n  piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);\n  piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);\n  do {\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  } while( true );\n}" (primitive_type "void") (function_declarator "check_final_program(int *param_1)" (identifier "check_final_program") (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  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  int *piVar9;\n  char *pcVar10;\n  int *piVar11;\n  undefined4 *puVar12;\n  int *piVar13;\n  \n  puVar2 = PTR_dcgettext_0003f4b4;\n  puVar1 = PTR___progname_0003f168;\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);\n  if (iVar3 != 0) {\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    \n    bad_prog(uVar5);\n  }\n  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);\n  if (iVar3 != 0) {\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }\n  puVar1 = PTR___progname_0003f168;\n  piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);\n  piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);\n  do {\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  } while( true );\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "undefined4 *puVar12;" (type_identifier "undefined4") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "int *piVar13;" (primitive_type "int") (pointer_declarator "*piVar13" (* "*") (identifier "piVar13")) (; ";")) (expression_statement "puVar2 = PTR_dcgettext_0003f4b4;" (assignment_expression "puVar2 = PTR_dcgettext_0003f4b4" (identifier "puVar2") (= "=") (identifier "PTR_dcgettext_0003f4b4")) (; ";")) (expression_statement "puVar1 = PTR___progname_0003f168;" (assignment_expression "puVar1 = PTR___progname_0003f168" (identifier "puVar1") (= "=") (identifier "PTR___progname_0003f168")) (; ";")) (expression_statement "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);" (assignment_expression "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(PTR___progname_0003f168 + -0xa58)" (* "*") (cast_expression "(int *)(PTR___progname_0003f168 + -0xa58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___progname_0003f168 + -0xa58)" (( "(") (binary_expression "PTR___progname_0003f168 + -0xa58" (identifier "PTR___progname_0003f168") (+ "+") (number_literal "-0xa58")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    \n    bad_prog(uVar5);\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar8 = *(undefined4 *)(iVar3 + 0xc);\n    puVar7 = PTR_DAT_0003f178 + -0x3ec8;\n    uVar5 = *(undefined4 *)(iVar3 + 0x10);\n    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)(puVar1 + -0xa40) = uVar8;\n    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;\n    uVar5 = (*(code *)puVar2)(0,puVar7,5);\n                    \n    bad_prog(uVar5);\n  }" ({ "{") (expression_statement "uVar8 = *(undefined4 *)(iVar3 + 0xc);" (assignment_expression "uVar8 = *(undefined4 *)(iVar3 + 0xc)" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "puVar7 = PTR_DAT_0003f178 + -0x3ec8;" (assignment_expression "puVar7 = PTR_DAT_0003f178 + -0x3ec8" (identifier "puVar7") (= "=") (binary_expression "PTR_DAT_0003f178 + -0x3ec8" (identifier "PTR_DAT_0003f178") (+ "+") (number_literal "-0x3ec8"))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(iVar3 + 0x10);" (assignment_expression "uVar5 = *(undefined4 *)(iVar3 + 0x10)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);" (assignment_expression "*(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8)" (pointer_expression "*(undefined4 *)(PTR___progname_0003f168 + -0xa44)" (* "*") (cast_expression "(undefined4 *)(PTR___progname_0003f168 + -0xa44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___progname_0003f168 + -0xa44)" (( "(") (binary_expression "PTR___progname_0003f168 + -0xa44" (identifier "PTR___progname_0003f168") (+ "+") (number_literal "-0xa44")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0xa40) = uVar8;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa40) = uVar8" (pointer_expression "*(undefined4 *)(puVar1 + -0xa40)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0xa40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0xa40)" (( "(") (binary_expression "puVar1 + -0xa40" (identifier "puVar1") (+ "+") (number_literal "-0xa40")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0xa3c) = uVar5;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa3c) = uVar5" (pointer_expression "*(undefined4 *)(puVar1 + -0xa3c)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0xa3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0xa3c)" (( "(") (binary_expression "puVar1 + -0xa3c" (identifier "puVar1") (+ "+") (number_literal "-0xa3c")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "uVar5 = (*(code *)puVar2)(0,puVar7,5);" (assignment_expression "uVar5 = (*(code *)puVar2)(0,puVar7,5)" (identifier "uVar5") (= "=") (call_expression "(*(code *)puVar2)(0,puVar7,5)" (parenthesized_expression "(*(code *)puVar2)" (( "(") (pointer_expression "*(code *)puVar2" (* "*") (cast_expression "(code *)puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")")) (argument_list "(0,puVar7,5)" (( "(") (number_literal "0") (, ",") (identifier "puVar7") (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "bad_prog(uVar5);" (call_expression "bad_prog(uVar5)" (identifier "bad_prog") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);" (assignment_expression "iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(PTR___progname_0003f168 + -0xa50)" (* "*") (cast_expression "(int *)(PTR___progname_0003f168 + -0xa50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR___progname_0003f168 + -0xa50)" (( "(") (binary_expression "PTR___progname_0003f168 + -0xa50" (identifier "PTR___progname_0003f168") (+ "+") (number_literal "-0xa50")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);\n    iVar4 = size_buffer(iVar3);\n    puVar12[1] = iVar4;\n    if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }\n    free_buffer(iVar3);\n    *(undefined4 *)(puVar1 + -0xa50) = 0;\n  }" ({ "{") (expression_statement "puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);" (assignment_expression "puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54)" (identifier "puVar12") (= "=") (pointer_expression "*(undefined4 **)(PTR___progname_0003f168 + -0xa54)" (* "*") (cast_expression "(undefined4 **)(PTR___progname_0003f168 + -0xa54)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR___progname_0003f168 + -0xa54)" (( "(") (binary_expression "PTR___progname_0003f168 + -0xa54" (identifier "PTR___progname_0003f168") (+ "+") (number_literal "-0xa54")) () ")"))))) (; ";")) (expression_statement "iVar4 = size_buffer(iVar3);" (assignment_expression "iVar4 = size_buffer(iVar3)" (identifier "iVar4") (= "=") (call_expression "size_buffer(iVar3)" (identifier "size_buffer") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "puVar12[1] = iVar4;" (assignment_expression "puVar12[1] = iVar4" (subscript_expression "puVar12[1]" (identifier "puVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar4 != 0) {\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar5 = get_buffer(iVar3);\n      uVar5 = xmemdup(uVar5,iVar4);\n      iVar3 = *(int *)(puVar1 + -0xa50);\n      *puVar12 = uVar5;\n    }" ({ "{") (expression_statement "uVar5 = get_buffer(iVar3);" (assignment_expression "uVar5 = get_buffer(iVar3)" (identifier "uVar5") (= "=") (call_expression "get_buffer(iVar3)" (identifier "get_buffer") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "uVar5 = xmemdup(uVar5,iVar4);" (assignment_expression "uVar5 = xmemdup(uVar5,iVar4)" (identifier "uVar5") (= "=") (call_expression "xmemdup(uVar5,iVar4)" (identifier "xmemdup") (argument_list "(uVar5,iVar4)" (( "(") (identifier "uVar5") (, ",") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "iVar3 = *(int *)(puVar1 + -0xa50);" (assignment_expression "iVar3 = *(int *)(puVar1 + -0xa50)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puVar1 + -0xa50)" (* "*") (cast_expression "(int *)(puVar1 + -0xa50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0xa50)" (( "(") (binary_expression "puVar1 + -0xa50" (identifier "puVar1") (+ "+") (number_literal "-0xa50")) () ")"))))) (; ";")) (expression_statement "*puVar12 = uVar5;" (assignment_expression "*puVar12 = uVar5" (pointer_expression "*puVar12" (* "*") (identifier "puVar12")) (= "=") (identifier "uVar5")) (; ";")) (} "}"))) (expression_statement "free_buffer(iVar3);" (call_expression "free_buffer(iVar3)" (identifier "free_buffer") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0xa50) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa50) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa50)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0xa50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0xa50)" (( "(") (binary_expression "puVar1 + -0xa50" (identifier "puVar1") (+ "+") (number_literal "-0xa50")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR___progname_0003f168;" (assignment_expression "puVar1 = PTR___progname_0003f168" (identifier "puVar1") (= "=") (identifier "PTR___progname_0003f168")) (; ";")) (expression_statement "piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);" (assignment_expression "piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48)" (identifier "piVar11") (= "=") (pointer_expression "*(int **)(PTR___progname_0003f168 + -0xa48)" (* "*") (cast_expression "(int **)(PTR___progname_0003f168 + -0xa48)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR___progname_0003f168 + -0xa48)" (( "(") (binary_expression "PTR___progname_0003f168 + -0xa48" (identifier "PTR___progname_0003f168") (+ "+") (number_literal "-0xa48")) () ")"))))) (; ";")) (expression_statement "piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);" (assignment_expression "piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c)" (identifier "piVar13") (= "=") (pointer_expression "*(int **)(PTR___progname_0003f168 + -0xa4c)" (* "*") (cast_expression "(int **)(PTR___progname_0003f168 + -0xa4c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR___progname_0003f168 + -0xa4c)" (( "(") (binary_expression "PTR___progname_0003f168 + -0xa4c" (identifier "PTR___progname_0003f168") (+ "+") (number_literal "-0xa4c")) () ")"))))) (; ";")) (do_statement "do {\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  } while( true );" (do "do") (compound_statement "{\n    if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }\n    pcVar10 = (char *)piVar11[1];\n    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }\n    if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }\n    iVar4 = *piVar11;\n    iVar3 = *param_1;\n    iVar6 = param_1[2];\nLAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;\n    piVar11 = (int *)piVar11[5];\n    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;\n    (*(code *)puVar2)(pcVar10);\n  }" ({ "{") (if_statement "if (piVar11 == (int *)0x0) {\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }" (if "if") (parenthesized_expression "(piVar11 == (int *)0x0)" (( "(") (binary_expression "piVar11 == (int *)0x0" (identifier "piVar11") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *(undefined4 *)(puVar1 + -0xa48) = 0;\n      while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }\n      *(undefined4 *)(puVar1 + -0xa4c) = 0;\n      return;\n    }" ({ "{") (expression_statement "*(undefined4 *)(puVar1 + -0xa48) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa48) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa48)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0xa48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0xa48)" (( "(") (binary_expression "puVar1 + -0xa48" (identifier "puVar1") (+ "+") (number_literal "-0xa48")) () ")")))) (= "=") (number_literal "0")) (; ";")) (while_statement "while (piVar13 != (int *)0x0) {\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }" (while "while") (parenthesized_expression "(piVar13 != (int *)0x0)" (( "(") (binary_expression "piVar13 != (int *)0x0" (identifier "piVar13") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        piVar11 = (int *)piVar13[5];\n        (*(code *)PTR_free_0003f4d8)(piVar13[1]);\n        piVar13 = piVar11;\n      }" ({ "{") (expression_statement "piVar11 = (int *)piVar13[5];" (assignment_expression "piVar11 = (int *)piVar13[5]" (identifier "piVar11") (= "=") (cast_expression "(int *)piVar13[5]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar13[5]" (identifier "piVar13") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "(*(code *)PTR_free_0003f4d8)(piVar13[1]);" (call_expression "(*(code *)PTR_free_0003f4d8)(piVar13[1])" (parenthesized_expression "(*(code *)PTR_free_0003f4d8)" (( "(") (pointer_expression "*(code *)PTR_free_0003f4d8" (* "*") (cast_expression "(code *)PTR_free_0003f4d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0003f4d8"))) () ")")) (argument_list "(piVar13[1])" (( "(") (subscript_expression "piVar13[1]" (identifier "piVar13") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (expression_statement "piVar13 = piVar11;" (assignment_expression "piVar13 = piVar11" (identifier "piVar13") (= "=") (identifier "piVar11")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(puVar1 + -0xa4c) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0xa4c) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0xa4c)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0xa4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0xa4c)" (( "(") (binary_expression "puVar1 + -0xa4c" (identifier "puVar1") (+ "+") (number_literal "-0xa4c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pcVar10 = (char *)piVar11[1];" (assignment_expression "pcVar10 = (char *)piVar11[1]" (identifier "pcVar10") (= "=") (cast_expression "(char *)piVar11[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[1]" (identifier "piVar11") ([ "[") (number_literal "1") (] "]")))) (; ";")) (for_statement "for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }" (for "for") (( "(") (assignment_expression "piVar9 = piVar13" (identifier "piVar9") (= "=") (identifier "piVar13")) (; ";") (binary_expression "piVar9 != (int *)0x0" (identifier "piVar9") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "piVar9 = (int *)piVar9[5]" (identifier "piVar9") (= "=") (cast_expression "(int *)piVar9[5]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[5]" (identifier "piVar9") ([ "[") (number_literal "5") (] "]")))) () ")") (compound_statement "{\n      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);\n      if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }\n    }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10)" (parenthesized_expression "(*(code *)PTR_strcmp_0003f4f4)" (( "(") (pointer_expression "*(code *)PTR_strcmp_0003f4f4" (* "*") (cast_expression "(code *)PTR_strcmp_0003f4f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_0003f4f4"))) () ")")) (argument_list "(piVar9[1],pcVar10)" (( "(") (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "pcVar10") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar4 = *piVar11;\n        iVar3 = *param_1;\n        iVar6 = *piVar9;\n        goto LAB_000165c4;\n      }" ({ "{") (expression_statement "iVar4 = *piVar11;" (assignment_expression "iVar4 = *piVar11" (identifier "iVar4") (= "=") (pointer_expression "*piVar11" (* "*") (identifier "piVar11"))) (; ";")) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar6 = *piVar9;" (assignment_expression "iVar6 = *piVar9" (identifier "iVar6") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (goto_statement "goto LAB_000165c4;" (goto "goto") (statement_identifier "LAB_000165c4") (; ";")) (} "}"))) (} "}"))) (if_statement "if (*pcVar10 != '\0') {\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }" (if "if") (parenthesized_expression "(*pcVar10 != '\0')" (( "(") (binary_expression "*pcVar10 != '\0'" (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);\n                    \n      panic(uVar5,piVar11[1]);\n    }" ({ "{") (expression_statement "uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);" (assignment_expression "uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0003f4b4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0003f4b4" (* "*") (cast_expression "(code *)PTR_dcgettext_0003f4b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0003f4b4"))) () ")")) (argument_list "(0,PTR_DAT_0003f178 + -0x48c0,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0003f178 + -0x48c0" (identifier "PTR_DAT_0003f178") (+ "+") (number_literal "-0x48c0")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "panic(uVar5,piVar11[1]);" (call_expression "panic(uVar5,piVar11[1])" (identifier "panic") (argument_list "(uVar5,piVar11[1])" (( "(") (identifier "uVar5") (, ",") (subscript_expression "piVar11[1]" (identifier "piVar11") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = *piVar11;" (assignment_expression "iVar4 = *piVar11" (identifier "iVar4") (= "=") (pointer_expression "*piVar11" (* "*") (identifier "piVar11"))) (; ";")) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" (identifier "iVar6") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (labeled_statement "LAB_000165c4:\n    puVar2 = PTR_free_0003f4d8;" (statement_identifier "LAB_000165c4") (: ":") (expression_statement "puVar2 = PTR_free_0003f4d8;" (assignment_expression "puVar2 = PTR_free_0003f4d8" (identifier "puVar2") (= "=") (identifier "PTR_free_0003f4d8")) (; ";"))) (expression_statement "piVar11 = (int *)piVar11[5];" (assignment_expression "piVar11 = (int *)piVar11[5]" (identifier "piVar11") (= "=") (cast_expression "(int *)piVar11[5]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[5]" (identifier "piVar11") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "*(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;" (assignment_expression "*(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6" (pointer_expression "*(int *)(iVar3 + iVar4 * 0x18 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + iVar4 * 0x18 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + iVar4 * 0x18 + 0x10)" (( "(") (binary_expression "iVar3 + iVar4 * 0x18 + 0x10" (binary_expression "iVar3 + iVar4 * 0x18" (identifier "iVar3") (+ "+") (binary_expression "iVar4 * 0x18" (identifier "iVar4") (* "*") (number_literal "0x18"))) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "(*(code *)puVar2)(pcVar10);" (call_expression "(*(code *)puVar2)(pcVar10)" (parenthesized_expression "(*(code *)puVar2)" (( "(") (pointer_expression "*(code *)puVar2" (* "*") (cast_expression "(code *)puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")")) (argument_list "(pcVar10)" (( "(") (identifier "pcVar10") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (identifier) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) 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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (for_statement initializer: (assignment_expression left: (identifier) right: (identifier)) condition: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))) update: (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)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (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))))) condition: (parenthesized_expression (true))))))

void MASKED(int *param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  undefined *puVar7;
  undefined4 uVar8;
  int *piVar9;
  char *pcVar10;
  int *piVar11;
  undefined4 *puVar12;
  int *piVar13;
  
  puVar2 = PTR_dcgettext_0003f4b4;
  puVar1 = PTR___progname_0003f168;
  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa58);
  if (iVar3 != 0) {
    uVar8 = *(undefined4 *)(iVar3 + 0xc);
    puVar7 = PTR_DAT_0003f178 + -0x3ec8;
    uVar5 = *(undefined4 *)(iVar3 + 0x10);
    *(undefined4 *)(PTR___progname_0003f168 + -0xa44) = *(undefined4 *)(iVar3 + 8);
    *(undefined4 *)(puVar1 + -0xa40) = uVar8;
    *(undefined4 *)(puVar1 + -0xa3c) = uVar5;
    uVar5 = (*(code *)puVar2)(0,puVar7,5);
                    /* WARNING: Subroutine does not return */
    bad_prog(uVar5);
  }
  iVar3 = *(int *)(PTR___progname_0003f168 + -0xa50);
  if (iVar3 != 0) {
    puVar12 = *(undefined4 **)(PTR___progname_0003f168 + -0xa54);
    iVar4 = size_buffer(iVar3);
    puVar12[1] = iVar4;
    if (iVar4 != 0) {
      uVar5 = get_buffer(iVar3);
      uVar5 = xmemdup(uVar5,iVar4);
      iVar3 = *(int *)(puVar1 + -0xa50);
      *puVar12 = uVar5;
    }
    free_buffer(iVar3);
    *(undefined4 *)(puVar1 + -0xa50) = 0;
  }
  puVar1 = PTR___progname_0003f168;
  piVar11 = *(int **)(PTR___progname_0003f168 + -0xa48);
  piVar13 = *(int **)(PTR___progname_0003f168 + -0xa4c);
  do {
    if (piVar11 == (int *)0x0) {
      *(undefined4 *)(puVar1 + -0xa48) = 0;
      while (piVar13 != (int *)0x0) {
        piVar11 = (int *)piVar13[5];
        (*(code *)PTR_free_0003f4d8)(piVar13[1]);
        piVar13 = piVar11;
      }
      *(undefined4 *)(puVar1 + -0xa4c) = 0;
      return;
    }
    pcVar10 = (char *)piVar11[1];
    for (piVar9 = piVar13; piVar9 != (int *)0x0; piVar9 = (int *)piVar9[5]) {
      iVar3 = (*(code *)PTR_strcmp_0003f4f4)(piVar9[1],pcVar10);
      if (iVar3 == 0) {
        iVar4 = *piVar11;
        iVar3 = *param_1;
        iVar6 = *piVar9;
        goto LAB_000165c4;
      }
    }
    if (*pcVar10 != '\0') {
      uVar5 = (*(code *)PTR_dcgettext_0003f4b4)(0,PTR_DAT_0003f178 + -0x48c0,5);
                    /* WARNING: Subroutine does not return */
      panic(uVar5,piVar11[1]);
    }
    iVar4 = *piVar11;
    iVar3 = *param_1;
    iVar6 = param_1[2];
LAB_000165c4:
    puVar2 = PTR_free_0003f4d8;
    piVar11 = (int *)piVar11[5];
    *(int *)(iVar3 + iVar4 * 0x18 + 0x10) = iVar6;
    (*(code *)puVar2)(pcVar10);
  } while( true );
}

