
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void gram_pop_buffer_state(void)

{
  undefined *puVar1;
  undefined1 *puVar2;
  YY_BUFFER_STATE b;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  int iVar6;
  int iVar7;
  
  puVar1 = PTR_saved_sigactions_28__sa_resv_0__0008d618;
  iVar6 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0);
  if (iVar6 != 0) {
    iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8);
    puVar5 = (undefined4 *)(iVar6 + iVar7 * 4);
    b = (YY_BUFFER_STATE)*puVar5;
    if (b != (YY_BUFFER_STATE)0x0) {
      gram__delete_buffer(b);
      *puVar5 = 0;
      if (iVar7 != 0) {
        *(int *)(puVar1 + -0x1ad8) = iVar7 + -1;
        puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4);
        if (puVar5 != (undefined4 *)0x0) {
          puVar2 = (undefined1 *)puVar5[2];
          uVar4 = *puVar5;
          uVar3 = puVar5[4];
          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;
          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;
          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;
          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;
          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;
        }
      }
    }
  }
  return;
}



void gram_pop_buffer_state(void)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined1 *puVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  int *piVar6;
  int iVar7;
  int iVar8;
  
  puVar1 = PTR_DAT_0008d618;
  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);
  if (iVar7 != 0) {
    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);
    piVar6 = (int *)(iVar7 + iVar8 * 4);
    if (*piVar6 != 0) {
      gram__delete_buffer();
      *piVar6 = 0;
      if (iVar8 != 0) {
        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;
        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);
        if (puVar2 != (undefined4 *)0x0) {
          puVar3 = (undefined1 *)puVar2[2];
          uVar5 = *puVar2;
          uVar4 = puVar2[4];
          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;
          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;
          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;
          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;
          PTR_DAT_0008d618[-0x1ae4] = *puVar3;
        }
      }
    }
  }
  return;
}


lui gp,0x5
addiu gp,gp,-0x7508
addu gp,gp,t9
lw v0,-0x7fd8(gp)
addiu sp,sp,-0x30
sw s1,0x20(sp)
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s0,0x1c(sp)
lw s1,-0x1ae0(v0)
beq s1,zero,0x0004cbb0
_lw s3,-0x7fd8(gp)
lw s2,-0x1ad8(s3)
sll s0,s2,0x2
addu s0,s1,s0
lw a0,0x0(s0)
beq a0,zero,0x0004cbb0
_lw t9,-0x7990(gp)
bal 0x00046b7c
_nop
lw gp,0x10(sp)
beq s2,zero,0x0004cbb0
_sw zero,0x0(s0)
addiu s2,s2,-0x1
sll v0,s2,0x2
sw s2,-0x1ad8(s3)
addu s1,s1,v0
lw v0,0x0(s1)
beq v0,zero,0x0004cbb4
_lw ra,0x2c(sp)
lw v1,0x8(v0)
lw a1,0x0(v0)
lw a0,0x10(v0)
lw v0,-0x79b0(gp)
sw v1,0x0(v0)
lw v0,-0x7a30(gp)
sw a1,0x0(v0)
lw v0,-0x7fd8(gp)
sw a0,-0x1ae8(v0)
lw v0,-0x7fd8(gp)
sw v1,-0x1aec(v0)
lw v0,-0x7fd8(gp)
lbu v1,0x0(v1)
sb v1,-0x1ae4(v0)
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void gram_pop_buffer_state(void)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);\n  if (iVar7 != 0) {\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void gram_pop_buffer_state(void)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);\n  if (iVar7 != 0) {\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "gram_pop_buffer_state(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);\n  if (iVar7 != 0) {\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_0008d618;" (assignment_expression "puVar1 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);" (assignment_expression "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0)" identifier = (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ae0)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ae0)" ( (binary_expression "PTR_DAT_0008d618 + -0x1ae0" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 != 0) {\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }" { (expression_statement "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);" (assignment_expression "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8)" identifier = (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ad8)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ad8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ad8)" ( (binary_expression "PTR_DAT_0008d618 + -0x1ad8" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = (int *)(iVar7 + iVar8 * 4);" (assignment_expression "piVar6 = (int *)(iVar7 + iVar8 * 4)" identifier = (cast_expression "(int *)(iVar7 + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + iVar8 * 4)" ( (binary_expression "iVar7 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) ;) (if_statement "if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }" if (parenthesized_expression "(*piVar6 != 0)" ( (binary_expression "*piVar6 != 0" (pointer_expression "*piVar6" * identifier) != number_literal) )) (compound_statement "{\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }" { (expression_statement "gram__delete_buffer();" (call_expression "gram__delete_buffer()" identifier (argument_list "()" ( ))) ;) (expression_statement "*piVar6 = 0;" (assignment_expression "*piVar6 = 0" (pointer_expression "*piVar6" * identifier) = number_literal) ;) (if_statement "if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }" { (expression_statement "*(int *)(puVar1 + -0x1ad8) = iVar8 + -1;" (assignment_expression "*(int *)(puVar1 + -0x1ad8) = iVar8 + -1" (pointer_expression "*(int *)(puVar1 + -0x1ad8)" * (cast_expression "(int *)(puVar1 + -0x1ad8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1ad8)" ( (binary_expression "puVar1 + -0x1ad8" identifier + number_literal) )))) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);" (assignment_expression "puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar7 + (iVar8 + -1) * 4)" * (cast_expression "(undefined4 **)(iVar7 + (iVar8 + -1) * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + (iVar8 + -1) * 4)" ( (binary_expression "iVar7 + (iVar8 + -1) * 4" identifier + (binary_expression "(iVar8 + -1) * 4" (parenthesized_expression "(iVar8 + -1)" ( (binary_expression "iVar8 + -1" identifier + number_literal) )) * number_literal)) ))))) ;) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }" if (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }" { (expression_statement "puVar3 = (undefined1 *)puVar2[2];" (assignment_expression "puVar3 = (undefined1 *)puVar2[2]" identifier = (cast_expression "(undefined1 *)puVar2[2]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar4 = puVar2[4];" (assignment_expression "uVar4 = puVar2[4]" identifier = (subscript_expression "puVar2[4]" identifier [ number_literal ])) ;) (expression_statement "*(undefined1 **)PTR_gram_text_0008dc40 = puVar3;" (assignment_expression "*(undefined1 **)PTR_gram_text_0008dc40 = puVar3" (pointer_expression "*(undefined1 **)PTR_gram_text_0008dc40" * (cast_expression "(undefined1 **)PTR_gram_text_0008dc40" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;" (assignment_expression "*(undefined4 *)PTR_gram_in_0008dbc0 = uVar5" (pointer_expression "*(undefined4 *)PTR_gram_in_0008dbc0" * (cast_expression "(undefined4 *)PTR_gram_in_0008dbc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;" (assignment_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4" (pointer_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8)" * (cast_expression "(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ae8)" ( (binary_expression "PTR_DAT_0008d618 + -0x1ae8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;" (assignment_expression "*(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3" (pointer_expression "*(undefined1 **)(PTR_DAT_0008d618 + -0x1aec)" * (cast_expression "(undefined1 **)(PTR_DAT_0008d618 + -0x1aec)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1aec)" ( (binary_expression "PTR_DAT_0008d618 + -0x1aec" identifier + number_literal) )))) = identifier) ;) (expression_statement "PTR_DAT_0008d618[-0x1ae4] = *puVar3;" (assignment_expression "PTR_DAT_0008d618[-0x1ae4] = *puVar3" (subscript_expression "PTR_DAT_0008d618[-0x1ae4]" identifier [ number_literal ]) = (pointer_expression "*puVar3" * identifier)) ;) })) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid gram_pop_buffer_state(void)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  YY_BUFFER_STATE b;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  iVar6 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0);\n  if (iVar6 != 0) {\n    iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8);\n    puVar5 = (undefined4 *)(iVar6 + iVar7 * 4);\n    b = (YY_BUFFER_STATE)*puVar5;\n    if (b != (YY_BUFFER_STATE)0x0) {\n      gram__delete_buffer(b);\n      *puVar5 = 0;\n      if (iVar7 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar7 + -1;\n        puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4);\n        if (puVar5 != (undefined4 *)0x0) {\n          puVar2 = (undefined1 *)puVar5[2];\n          uVar4 = *puVar5;\n          uVar3 = puVar5[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;\n          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;\n          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;\n          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;\n        }\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void gram_pop_buffer_state(void)\n\n{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  YY_BUFFER_STATE b;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  iVar6 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0);\n  if (iVar6 != 0) {\n    iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8);\n    puVar5 = (undefined4 *)(iVar6 + iVar7 * 4);\n    b = (YY_BUFFER_STATE)*puVar5;\n    if (b != (YY_BUFFER_STATE)0x0) {\n      gram__delete_buffer(b);\n      *puVar5 = 0;\n      if (iVar7 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar7 + -1;\n        puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4);\n        if (puVar5 != (undefined4 *)0x0) {\n          puVar2 = (undefined1 *)puVar5[2];\n          uVar4 = *puVar5;\n          uVar3 = puVar5[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;\n          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;\n          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;\n          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;\n        }\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "gram_pop_buffer_state(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined1 *puVar2;\n  YY_BUFFER_STATE b;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  iVar6 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0);\n  if (iVar6 != 0) {\n    iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8);\n    puVar5 = (undefined4 *)(iVar6 + iVar7 * 4);\n    b = (YY_BUFFER_STATE)*puVar5;\n    if (b != (YY_BUFFER_STATE)0x0) {\n      gram__delete_buffer(b);\n      *puVar5 = 0;\n      if (iVar7 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar7 + -1;\n        puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4);\n        if (puVar5 != (undefined4 *)0x0) {\n          puVar2 = (undefined1 *)puVar5[2];\n          uVar4 = *puVar5;\n          uVar3 = puVar5[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;\n          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;\n          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;\n          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;\n        }\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "YY_BUFFER_STATE b;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_saved_sigactions_28__sa_resv_0__0008d618;" (assignment_expression "puVar1 = PTR_saved_sigactions_28__sa_resv_0__0008d618" identifier = identifier) ;) (expression_statement "iVar6 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0);" (assignment_expression "iVar6 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0)" identifier = (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 != 0) {\n    iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8);\n    puVar5 = (undefined4 *)(iVar6 + iVar7 * 4);\n    b = (YY_BUFFER_STATE)*puVar5;\n    if (b != (YY_BUFFER_STATE)0x0) {\n      gram__delete_buffer(b);\n      *puVar5 = 0;\n      if (iVar7 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar7 + -1;\n        puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4);\n        if (puVar5 != (undefined4 *)0x0) {\n          puVar2 = (undefined1 *)puVar5[2];\n          uVar4 = *puVar5;\n          uVar3 = puVar5[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;\n          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;\n          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;\n          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8);\n    puVar5 = (undefined4 *)(iVar6 + iVar7 * 4);\n    b = (YY_BUFFER_STATE)*puVar5;\n    if (b != (YY_BUFFER_STATE)0x0) {\n      gram__delete_buffer(b);\n      *puVar5 = 0;\n      if (iVar7 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar7 + -1;\n        puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4);\n        if (puVar5 != (undefined4 *)0x0) {\n          puVar2 = (undefined1 *)puVar5[2];\n          uVar4 = *puVar5;\n          uVar3 = puVar5[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;\n          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;\n          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;\n          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;\n        }\n      }\n    }\n  }" { (expression_statement "iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8);" (assignment_expression "iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8)" identifier = (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = (undefined4 *)(iVar6 + iVar7 * 4);" (assignment_expression "puVar5 = (undefined4 *)(iVar6 + iVar7 * 4)" identifier = (cast_expression "(undefined4 *)(iVar6 + iVar7 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar7 * 4)" ( (binary_expression "iVar6 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) ;) (expression_statement "b = (YY_BUFFER_STATE)*puVar5;" (assignment_expression "b = (YY_BUFFER_STATE)*puVar5" identifier = (binary_expression "(YY_BUFFER_STATE)*puVar5" (parenthesized_expression "(YY_BUFFER_STATE)" ( identifier )) * identifier)) ;) (if_statement "if (b != (YY_BUFFER_STATE)0x0) {\n      gram__delete_buffer(b);\n      *puVar5 = 0;\n      if (iVar7 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar7 + -1;\n        puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4);\n        if (puVar5 != (undefined4 *)0x0) {\n          puVar2 = (undefined1 *)puVar5[2];\n          uVar4 = *puVar5;\n          uVar3 = puVar5[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;\n          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;\n          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;\n          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;\n        }\n      }\n    }" if (parenthesized_expression "(b != (YY_BUFFER_STATE)0x0)" ( (binary_expression "b != (YY_BUFFER_STATE)0x0" identifier != (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) )) (compound_statement "{\n      gram__delete_buffer(b);\n      *puVar5 = 0;\n      if (iVar7 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar7 + -1;\n        puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4);\n        if (puVar5 != (undefined4 *)0x0) {\n          puVar2 = (undefined1 *)puVar5[2];\n          uVar4 = *puVar5;\n          uVar3 = puVar5[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;\n          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;\n          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;\n          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;\n        }\n      }\n    }" { (expression_statement "gram__delete_buffer(b);" (call_expression "gram__delete_buffer(b)" identifier (argument_list "(b)" ( identifier ))) ;) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (if_statement "if (iVar7 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar7 + -1;\n        puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4);\n        if (puVar5 != (undefined4 *)0x0) {\n          puVar2 = (undefined1 *)puVar5[2];\n          uVar4 = *puVar5;\n          uVar3 = puVar5[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;\n          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;\n          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;\n          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;\n        }\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        *(int *)(puVar1 + -0x1ad8) = iVar7 + -1;\n        puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4);\n        if (puVar5 != (undefined4 *)0x0) {\n          puVar2 = (undefined1 *)puVar5[2];\n          uVar4 = *puVar5;\n          uVar3 = puVar5[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;\n          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;\n          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;\n          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;\n        }\n      }" { (expression_statement "*(int *)(puVar1 + -0x1ad8) = iVar7 + -1;" (assignment_expression "*(int *)(puVar1 + -0x1ad8) = iVar7 + -1" (pointer_expression "*(int *)(puVar1 + -0x1ad8)" * (cast_expression "(int *)(puVar1 + -0x1ad8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1ad8)" ( (binary_expression "puVar1 + -0x1ad8" identifier + number_literal) )))) = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4);" (assignment_expression "puVar5 = *(undefined4 **)(iVar6 + (iVar7 + -1) * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar6 + (iVar7 + -1) * 4)" * (cast_expression "(undefined4 **)(iVar6 + (iVar7 + -1) * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + (iVar7 + -1) * 4)" ( (binary_expression "iVar6 + (iVar7 + -1) * 4" identifier + (binary_expression "(iVar7 + -1) * 4" (parenthesized_expression "(iVar7 + -1)" ( (binary_expression "iVar7 + -1" identifier + number_literal) )) * number_literal)) ))))) ;) (if_statement "if (puVar5 != (undefined4 *)0x0) {\n          puVar2 = (undefined1 *)puVar5[2];\n          uVar4 = *puVar5;\n          uVar3 = puVar5[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;\n          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;\n          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;\n          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;\n        }" if (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar2 = (undefined1 *)puVar5[2];\n          uVar4 = *puVar5;\n          uVar3 = puVar5[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar2;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;\n          *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;\n          *(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;\n          PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;\n        }" { (expression_statement "puVar2 = (undefined1 *)puVar5[2];" (assignment_expression "puVar2 = (undefined1 *)puVar5[2]" identifier = (cast_expression "(undefined1 *)puVar5[2]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar4 = *puVar5;" (assignment_expression "uVar4 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar3 = puVar5[4];" (assignment_expression "uVar3 = puVar5[4]" identifier = (subscript_expression "puVar5[4]" identifier [ number_literal ])) ;) (expression_statement "*(undefined1 **)PTR_gram_text_0008dc40 = puVar2;" (assignment_expression "*(undefined1 **)PTR_gram_text_0008dc40 = puVar2" (pointer_expression "*(undefined1 **)PTR_gram_text_0008dc40" * (cast_expression "(undefined1 **)PTR_gram_text_0008dc40" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)PTR_gram_in_0008dbc0 = uVar4;" (assignment_expression "*(undefined4 *)PTR_gram_in_0008dbc0 = uVar4" (pointer_expression "*(undefined4 *)PTR_gram_in_0008dbc0" * (cast_expression "(undefined4 *)PTR_gram_in_0008dbc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3;" (assignment_expression "*(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8) = uVar3" (pointer_expression "*(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8)" * (cast_expression "(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2;" (assignment_expression "*(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec) = puVar2" (pointer_expression "*(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)" * (cast_expression "(undefined1 **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec" identifier + number_literal) )))) = identifier) ;) (expression_statement "PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2;" (assignment_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4] = *puVar2" (subscript_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1ae4]" identifier [ number_literal ]) = (pointer_expression "*puVar2" * identifier)) ;) })) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "void gram_pop_buffer_state(void)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);\n  if (iVar7 != 0) {\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void gram_pop_buffer_state(void)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);\n  if (iVar7 != 0) {\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "gram_pop_buffer_state(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);\n  if (iVar7 != 0) {\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_0008d618;" (assignment_expression "puVar1 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);" (assignment_expression "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0)" identifier = (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ae0)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ae0)" ( (binary_expression "PTR_DAT_0008d618 + -0x1ae0" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 != 0) {\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }" { (expression_statement "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);" (assignment_expression "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8)" identifier = (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ad8)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ad8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ad8)" ( (binary_expression "PTR_DAT_0008d618 + -0x1ad8" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = (int *)(iVar7 + iVar8 * 4);" (assignment_expression "piVar6 = (int *)(iVar7 + iVar8 * 4)" identifier = (cast_expression "(int *)(iVar7 + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + iVar8 * 4)" ( (binary_expression "iVar7 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) ;) (if_statement "if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }" if (parenthesized_expression "(*piVar6 != 0)" ( (binary_expression "*piVar6 != 0" (pointer_expression "*piVar6" * identifier) != number_literal) )) (compound_statement "{\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }" { (expression_statement "gram__delete_buffer();" (call_expression "gram__delete_buffer()" identifier (argument_list "()" ( ))) ;) (expression_statement "*piVar6 = 0;" (assignment_expression "*piVar6 = 0" (pointer_expression "*piVar6" * identifier) = number_literal) ;) (if_statement "if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }" { (expression_statement "*(int *)(puVar1 + -0x1ad8) = iVar8 + -1;" (assignment_expression "*(int *)(puVar1 + -0x1ad8) = iVar8 + -1" (pointer_expression "*(int *)(puVar1 + -0x1ad8)" * (cast_expression "(int *)(puVar1 + -0x1ad8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1ad8)" ( (binary_expression "puVar1 + -0x1ad8" identifier + number_literal) )))) = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);" (assignment_expression "puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar7 + (iVar8 + -1) * 4)" * (cast_expression "(undefined4 **)(iVar7 + (iVar8 + -1) * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + (iVar8 + -1) * 4)" ( (binary_expression "iVar7 + (iVar8 + -1) * 4" identifier + (binary_expression "(iVar8 + -1) * 4" (parenthesized_expression "(iVar8 + -1)" ( (binary_expression "iVar8 + -1" identifier + number_literal) )) * number_literal)) ))))) ;) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }" if (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }" { (expression_statement "puVar3 = (undefined1 *)puVar2[2];" (assignment_expression "puVar3 = (undefined1 *)puVar2[2]" identifier = (cast_expression "(undefined1 *)puVar2[2]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar4 = puVar2[4];" (assignment_expression "uVar4 = puVar2[4]" identifier = (subscript_expression "puVar2[4]" identifier [ number_literal ])) ;) (expression_statement "*(undefined1 **)PTR_gram_text_0008dc40 = puVar3;" (assignment_expression "*(undefined1 **)PTR_gram_text_0008dc40 = puVar3" (pointer_expression "*(undefined1 **)PTR_gram_text_0008dc40" * (cast_expression "(undefined1 **)PTR_gram_text_0008dc40" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;" (assignment_expression "*(undefined4 *)PTR_gram_in_0008dbc0 = uVar5" (pointer_expression "*(undefined4 *)PTR_gram_in_0008dbc0" * (cast_expression "(undefined4 *)PTR_gram_in_0008dbc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;" (assignment_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4" (pointer_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8)" * (cast_expression "(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ae8)" ( (binary_expression "PTR_DAT_0008d618 + -0x1ae8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;" (assignment_expression "*(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3" (pointer_expression "*(undefined1 **)(PTR_DAT_0008d618 + -0x1aec)" * (cast_expression "(undefined1 **)(PTR_DAT_0008d618 + -0x1aec)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1aec)" ( (binary_expression "PTR_DAT_0008d618 + -0x1aec" identifier + number_literal) )))) = identifier) ;) (expression_statement "PTR_DAT_0008d618[-0x1ae4] = *puVar3;" (assignment_expression "PTR_DAT_0008d618[-0x1ae4] = *puVar3" (subscript_expression "PTR_DAT_0008d618[-0x1ae4]" identifier [ number_literal ]) = (pointer_expression "*puVar3" * identifier)) ;) })) })) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (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 + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) ))))) ;) (if_statement if (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 (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) })) })) })) })) (return_statement return ;) })))
(function_definition "void gram_pop_buffer_state(void)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);\n  if (iVar7 != 0) {\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "gram_pop_buffer_state(void)" (identifier "gram_pop_buffer_state") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);\n  if (iVar7 != 0) {\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (expression_statement "puVar1 = PTR_DAT_0008d618;" (assignment_expression "puVar1 = PTR_DAT_0008d618" (identifier "puVar1") (= "=") (identifier "PTR_DAT_0008d618")) (; ";")) (expression_statement "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);" (assignment_expression "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ae0)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ae0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ae0)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1ae0" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1ae0")) () ")"))))) (; ";")) (if_statement "if (iVar7 != 0) {\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);\n    piVar6 = (int *)(iVar7 + iVar8 * 4);\n    if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);" (assignment_expression "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ad8)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ad8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ad8)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1ad8" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1ad8")) () ")"))))) (; ";")) (expression_statement "piVar6 = (int *)(iVar7 + iVar8 * 4);" (assignment_expression "piVar6 = (int *)(iVar7 + iVar8 * 4)" (identifier "piVar6") (= "=") (cast_expression "(int *)(iVar7 + iVar8 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + iVar8 * 4)" (( "(") (binary_expression "iVar7 + iVar8 * 4" (identifier "iVar7") (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (*piVar6 != 0) {\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(*piVar6 != 0)" (( "(") (binary_expression "*piVar6 != 0" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      gram__delete_buffer();\n      *piVar6 = 0;\n      if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }\n    }" ({ "{") (expression_statement "gram__delete_buffer();" (call_expression "gram__delete_buffer()" (identifier "gram__delete_buffer") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*piVar6 = 0;" (assignment_expression "*piVar6 = 0" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar8 != 0) {\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;\n        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);\n        if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }\n      }" ({ "{") (expression_statement "*(int *)(puVar1 + -0x1ad8) = iVar8 + -1;" (assignment_expression "*(int *)(puVar1 + -0x1ad8) = iVar8 + -1" (pointer_expression "*(int *)(puVar1 + -0x1ad8)" (* "*") (cast_expression "(int *)(puVar1 + -0x1ad8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x1ad8)" (( "(") (binary_expression "puVar1 + -0x1ad8" (identifier "puVar1") (+ "+") (number_literal "-0x1ad8")) () ")")))) (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);" (assignment_expression "puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(iVar7 + (iVar8 + -1) * 4)" (* "*") (cast_expression "(undefined4 **)(iVar7 + (iVar8 + -1) * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar7 + (iVar8 + -1) * 4)" (( "(") (binary_expression "iVar7 + (iVar8 + -1) * 4" (identifier "iVar7") (+ "+") (binary_expression "(iVar8 + -1) * 4" (parenthesized_expression "(iVar8 + -1)" (( "(") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1")) () ")")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }" (if "if") (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined4 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          puVar3 = (undefined1 *)puVar2[2];\n          uVar5 = *puVar2;\n          uVar4 = puVar2[4];\n          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;\n          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;\n          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;\n          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;\n          PTR_DAT_0008d618[-0x1ae4] = *puVar3;\n        }" ({ "{") (expression_statement "puVar3 = (undefined1 *)puVar2[2];" (assignment_expression "puVar3 = (undefined1 *)puVar2[2]" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)puVar2[2]" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" (identifier "uVar5") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "uVar4 = puVar2[4];" (assignment_expression "uVar4 = puVar2[4]" (identifier "uVar4") (= "=") (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "*(undefined1 **)PTR_gram_text_0008dc40 = puVar3;" (assignment_expression "*(undefined1 **)PTR_gram_text_0008dc40 = puVar3" (pointer_expression "*(undefined1 **)PTR_gram_text_0008dc40" (* "*") (cast_expression "(undefined1 **)PTR_gram_text_0008dc40" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_gram_text_0008dc40"))) (= "=") (identifier "puVar3")) (; ";")) (expression_statement "*(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;" (assignment_expression "*(undefined4 *)PTR_gram_in_0008dbc0 = uVar5" (pointer_expression "*(undefined4 *)PTR_gram_in_0008dbc0" (* "*") (cast_expression "(undefined4 *)PTR_gram_in_0008dbc0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gram_in_0008dbc0"))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;" (assignment_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4" (pointer_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ae8)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1ae8" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1ae8")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "*(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;" (assignment_expression "*(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3" (pointer_expression "*(undefined1 **)(PTR_DAT_0008d618 + -0x1aec)" (* "*") (cast_expression "(undefined1 **)(PTR_DAT_0008d618 + -0x1aec)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1aec)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1aec" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1aec")) () ")")))) (= "=") (identifier "puVar3")) (; ";")) (expression_statement "PTR_DAT_0008d618[-0x1ae4] = *puVar3;" (assignment_expression "PTR_DAT_0008d618[-0x1ae4] = *puVar3" (subscript_expression "PTR_DAT_0008d618[-0x1ae4]" (identifier "PTR_DAT_0008d618") ([ "[") (number_literal "-0x1ae4") (] "]")) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 *var_7;
  type_2 *puVar2;
  type_3 var_5;
  type_4 uVar3;
  type_4 uVar4;
  type_4 *var_4;
  int var_2;
  int var_3;
  
  var_7 = var_1;
  var_2 = *(int *)(var_1 + -0x1ae0);
  if (var_2 != 0) {
    var_3 = *(int *)(var_1 + -0x1ad8);
    var_4 = (type_4 *)(var_2 + var_3 * 4);
    var_5 = (type_3)*var_4;
    if (var_5 != (type_3)0x0) {
      var_6(var_5);
      *var_4 = 0;
      if (var_3 != 0) {
        *(int *)(var_7 + -0x1ad8) = var_3 + -1;
        var_4 = *(type_4 **)(var_2 + (var_3 + -1) * 4);
        if (var_4 != (type_4 *)0x0) {
          puVar2 = (type_2 *)var_4[2];
          uVar4 = *var_4;
          uVar3 = var_4[4];
          *(type_2 **)PTR_gram_text_0008dc40 = puVar2;
          *(type_4 *)PTR_gram_in_0008dbc0 = uVar4;
          *(type_4 *)(var_1 + -0x1ae8) = uVar3;
          *(type_2 **)(var_1 + -0x1aec) = puVar2;
          var_1[-0x1ae4] = *puVar2;
        }
      }
    }
  }
  return;
}


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

void MASKED(void)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined1 *puVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  int *piVar6;
  int iVar7;
  int iVar8;
  
  puVar1 = PTR_DAT_0008d618;
  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x1ae0);
  if (iVar7 != 0) {
    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1ad8);
    piVar6 = (int *)(iVar7 + iVar8 * 4);
    if (*piVar6 != 0) {
      gram__delete_buffer();
      *piVar6 = 0;
      if (iVar8 != 0) {
        *(int *)(puVar1 + -0x1ad8) = iVar8 + -1;
        puVar2 = *(undefined4 **)(iVar7 + (iVar8 + -1) * 4);
        if (puVar2 != (undefined4 *)0x0) {
          puVar3 = (undefined1 *)puVar2[2];
          uVar5 = *puVar2;
          uVar4 = puVar2[4];
          *(undefined1 **)PTR_gram_text_0008dc40 = puVar3;
          *(undefined4 *)PTR_gram_in_0008dbc0 = uVar5;
          *(undefined4 *)(PTR_DAT_0008d618 + -0x1ae8) = uVar4;
          *(undefined1 **)(PTR_DAT_0008d618 + -0x1aec) = puVar3;
          PTR_DAT_0008d618[-0x1ae4] = *puVar3;
        }
      }
    }
  }
  return;
}

