
/* WARNING: Unknown calling convention */

int code_lex_destroy(void)

{
  undefined *puVar1;
  undefined *puVar2;
  YY_BUFFER_STATE b;
  undefined4 *puVar3;
  int iVar4;
  
  puVar1 = PTR_saved_sigactions_28__sa_resv_0__0008d618;
  iVar4 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b88);
  if (iVar4 != 0) {
    puVar3 = (undefined4 *)
             (iVar4 + *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4);
    b = (YY_BUFFER_STATE)*puVar3;
    while (b != (YY_BUFFER_STATE)0x0) {
      code__delete_buffer(b);
      *puVar3 = 0;
      code_pop_buffer_state();
      puVar3 = (undefined4 *)(iVar4 + *(int *)(puVar1 + -0x1b80) * 4);
      b = (YY_BUFFER_STATE)*puVar3;
    }
  }
  (*(code *)PTR_free_0008df9c)(iVar4);
  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;
  *(undefined4 *)(puVar1 + -0x1b88) = 0;
  *(undefined4 *)(puVar2 + -0x1b84) = 0;
  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;
  *(undefined4 *)(puVar1 + -0x1b80) = 0;
  *(undefined4 *)(puVar2 + -0x1b94) = 0;
  *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b98) = 0;
  *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b9c) = 0;
  *(undefined4 *)PTR_code_in_0008dc00 = 0;
  *(undefined4 *)PTR_code_out_0008dc1c = 0;
  return 0;
}



undefined4 code_lex_destroy(void)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  
  puVar1 = PTR_DAT_0008d618;
  iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);
  if (iVar5 != 0) {
    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);
    iVar3 = *piVar4;
    while (iVar3 != 0) {
      code__delete_buffer();
      *piVar4 = 0;
      code_pop_buffer_state();
      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);
      iVar3 = *piVar4;
    }
  }
  (*(code *)PTR_free_0008df9c)(iVar5);
  puVar2 = PTR_DAT_0008d618;
  *(undefined4 *)(puVar1 + -0x1b88) = 0;
  *(undefined4 *)(puVar2 + -0x1b84) = 0;
  puVar2 = PTR_DAT_0008d618;
  *(undefined4 *)(puVar1 + -0x1b80) = 0;
  *(undefined4 *)(puVar2 + -0x1b94) = 0;
  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;
  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;
  *(undefined4 *)PTR_code_in_0008dc00 = 0;
  *(undefined4 *)PTR_code_out_0008dc1c = 0;
  return 0;
}


lui gp,0x5
addiu gp,gp,-0x97c
addu gp,gp,t9
addiu sp,sp,-0x38
sw s3,0x28(sp)
sw s1,0x20(sp)
lw s3,-0x7fd8(gp)
sw gp,0x10(sp)
sw s2,0x24(sp)
sw ra,0x34(sp)
sw s5,0x30(sp)
sw s4,0x2c(sp)
sw s0,0x1c(sp)
lw s1,-0x1b88(s3)
beq s1,zero,0x00045ff8
_lw s2,-0x7fd8(gp)
lw s0,-0x1b80(s2)
sll s0,s0,0x2
addu s0,s1,s0
lw a0,0x0(s0)
beq a0,zero,0x00045ff8
_lw s5,-0x79e4(gp)
lw s4,-0x79bc(gp)
or t9,s5,zero
bal 0x00042e54
_nop
or t9,s4,zero
bal 0x00043314
_sw zero,0x0(s0)
lw s0,-0x1b80(s2)
sll s0,s0,0x2
addu s0,s1,s0
lw a0,0x0(s0)
bne a0,zero,0x00045fc8
_lw gp,0x10(sp)
lw t9,-0x7654(gp)
jalr t9
_or a0,s1,zero
or v0,zero,zero
lw gp,0x10(sp)
lw ra,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw v1,-0x7fd8(gp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
sw zero,-0x1b88(s3)
sw zero,-0x1b84(v1)
lw v1,-0x7fd8(gp)
lw s3,0x28(sp)
sw zero,-0x1b80(s2)
lw s2,0x24(sp)
sw zero,-0x1b94(v1)
lw v1,-0x7fd8(gp)
sw zero,-0x1b98(v1)
lw v1,-0x7fd8(gp)
sw zero,-0x1b9c(v1)
lw v1,-0x79f0(gp)
sw zero,0x0(v1)
lw v1,-0x79d4(gp)
sw zero,0x0(v1)
jr ra
_addiu sp,sp,0x38
(translation_unit "undefined4 code_lex_destroy(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);\n  if (iVar5 != 0) {\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }\n  (*(code *)PTR_free_0008df9c)(iVar5);\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b88) = 0;\n  *(undefined4 *)(puVar2 + -0x1b84) = 0;\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b80) = 0;\n  *(undefined4 *)(puVar2 + -0x1b94) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;\n  *(undefined4 *)PTR_code_in_0008dc00 = 0;\n  *(undefined4 *)PTR_code_out_0008dc1c = 0;\n  return 0;\n}\n\n" (function_definition "undefined4 code_lex_destroy(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);\n  if (iVar5 != 0) {\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }\n  (*(code *)PTR_free_0008df9c)(iVar5);\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b88) = 0;\n  *(undefined4 *)(puVar2 + -0x1b84) = 0;\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b80) = 0;\n  *(undefined4 *)(puVar2 + -0x1b94) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;\n  *(undefined4 *)PTR_code_in_0008dc00 = 0;\n  *(undefined4 *)PTR_code_out_0008dc1c = 0;\n  return 0;\n}" type_identifier (function_declarator "code_lex_destroy(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);\n  if (iVar5 != 0) {\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }\n  (*(code *)PTR_free_0008df9c)(iVar5);\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b88) = 0;\n  *(undefined4 *)(puVar2 + -0x1b84) = 0;\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b80) = 0;\n  *(undefined4 *)(puVar2 + -0x1b94) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;\n  *(undefined4 *)PTR_code_in_0008dc00 = 0;\n  *(undefined4 *)PTR_code_out_0008dc1c = 0;\n  return 0;\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 *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_0008d618;" (assignment_expression "puVar1 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);" (assignment_expression "iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88)" identifier = (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1b88)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1b88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b88)" ( (binary_expression "PTR_DAT_0008d618 + -0x1b88" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 != 0) {\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }" { (expression_statement "piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);" (assignment_expression "piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4)" identifier = (cast_expression "(int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4)" ( (binary_expression "iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4" identifier + (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1b80) * 4" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1b80)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1b80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b80)" ( (binary_expression "PTR_DAT_0008d618 + -0x1b80" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (while_statement "while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }" while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }" { (expression_statement "code__delete_buffer();" (call_expression "code__delete_buffer()" identifier (argument_list "()" ( ))) ;) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" * identifier) = number_literal) ;) (expression_statement "code_pop_buffer_state();" (call_expression "code_pop_buffer_state()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);" (assignment_expression "piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4)" identifier = (cast_expression "(int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(puVar1 + -0x1b80) * 4)" ( (binary_expression "iVar5 + *(int *)(puVar1 + -0x1b80) * 4" identifier + (binary_expression "*(int *)(puVar1 + -0x1b80) * 4" (pointer_expression "*(int *)(puVar1 + -0x1b80)" * (cast_expression "(int *)(puVar1 + -0x1b80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1b80)" ( (binary_expression "puVar1 + -0x1b80" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) })) })) (expression_statement "(*(code *)PTR_free_0008df9c)(iVar5);" (call_expression "(*(code *)PTR_free_0008df9c)(iVar5)" (parenthesized_expression "(*(code *)PTR_free_0008df9c)" ( (pointer_expression "*(code *)PTR_free_0008df9c" * (cast_expression "(code *)PTR_free_0008df9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x1b88) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x1b88) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x1b88)" * (cast_expression "(undefined4 *)(puVar1 + -0x1b88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1b88)" ( (binary_expression "puVar1 + -0x1b88" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x1b84) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x1b84) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x1b84)" * (cast_expression "(undefined4 *)(puVar2 + -0x1b84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x1b84)" ( (binary_expression "puVar2 + -0x1b84" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x1b80) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x1b80) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x1b80)" * (cast_expression "(undefined4 *)(puVar1 + -0x1b80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1b80)" ( (binary_expression "puVar1 + -0x1b80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x1b94) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x1b94) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x1b94)" * (cast_expression "(undefined4 *)(puVar2 + -0x1b94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x1b94)" ( (binary_expression "puVar2 + -0x1b94" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b98)" * (cast_expression "(undefined4 *)(PTR_DAT_0008d618 + -0x1b98)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b98)" ( (binary_expression "PTR_DAT_0008d618 + -0x1b98" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c)" * (cast_expression "(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b9c)" ( (binary_expression "PTR_DAT_0008d618 + -0x1b9c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)PTR_code_in_0008dc00 = 0;" (assignment_expression "*(undefined4 *)PTR_code_in_0008dc00 = 0" (pointer_expression "*(undefined4 *)PTR_code_in_0008dc00" * (cast_expression "(undefined4 *)PTR_code_in_0008dc00" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)PTR_code_out_0008dc1c = 0;" (assignment_expression "*(undefined4 *)PTR_code_out_0008dc1c = 0" (pointer_expression "*(undefined4 *)PTR_code_out_0008dc1c" * (cast_expression "(undefined4 *)PTR_code_out_0008dc1c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint code_lex_destroy(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  YY_BUFFER_STATE b;\n  undefined4 *puVar3;\n  int iVar4;\n  \n  puVar1 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  iVar4 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b88);\n  if (iVar4 != 0) {\n    puVar3 = (undefined4 *)\n             (iVar4 + *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4);\n    b = (YY_BUFFER_STATE)*puVar3;\n    while (b != (YY_BUFFER_STATE)0x0) {\n      code__delete_buffer(b);\n      *puVar3 = 0;\n      code_pop_buffer_state();\n      puVar3 = (undefined4 *)(iVar4 + *(int *)(puVar1 + -0x1b80) * 4);\n      b = (YY_BUFFER_STATE)*puVar3;\n    }\n  }\n  (*(code *)PTR_free_0008df9c)(iVar4);\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  *(undefined4 *)(puVar1 + -0x1b88) = 0;\n  *(undefined4 *)(puVar2 + -0x1b84) = 0;\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  *(undefined4 *)(puVar1 + -0x1b80) = 0;\n  *(undefined4 *)(puVar2 + -0x1b94) = 0;\n  *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b98) = 0;\n  *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b9c) = 0;\n  *(undefined4 *)PTR_code_in_0008dc00 = 0;\n  *(undefined4 *)PTR_code_out_0008dc1c = 0;\n  return 0;\n}\n\n" comment (function_definition "int code_lex_destroy(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  YY_BUFFER_STATE b;\n  undefined4 *puVar3;\n  int iVar4;\n  \n  puVar1 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  iVar4 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b88);\n  if (iVar4 != 0) {\n    puVar3 = (undefined4 *)\n             (iVar4 + *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4);\n    b = (YY_BUFFER_STATE)*puVar3;\n    while (b != (YY_BUFFER_STATE)0x0) {\n      code__delete_buffer(b);\n      *puVar3 = 0;\n      code_pop_buffer_state();\n      puVar3 = (undefined4 *)(iVar4 + *(int *)(puVar1 + -0x1b80) * 4);\n      b = (YY_BUFFER_STATE)*puVar3;\n    }\n  }\n  (*(code *)PTR_free_0008df9c)(iVar4);\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  *(undefined4 *)(puVar1 + -0x1b88) = 0;\n  *(undefined4 *)(puVar2 + -0x1b84) = 0;\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  *(undefined4 *)(puVar1 + -0x1b80) = 0;\n  *(undefined4 *)(puVar2 + -0x1b94) = 0;\n  *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b98) = 0;\n  *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b9c) = 0;\n  *(undefined4 *)PTR_code_in_0008dc00 = 0;\n  *(undefined4 *)PTR_code_out_0008dc1c = 0;\n  return 0;\n}" primitive_type (function_declarator "code_lex_destroy(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  YY_BUFFER_STATE b;\n  undefined4 *puVar3;\n  int iVar4;\n  \n  puVar1 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  iVar4 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b88);\n  if (iVar4 != 0) {\n    puVar3 = (undefined4 *)\n             (iVar4 + *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4);\n    b = (YY_BUFFER_STATE)*puVar3;\n    while (b != (YY_BUFFER_STATE)0x0) {\n      code__delete_buffer(b);\n      *puVar3 = 0;\n      code_pop_buffer_state();\n      puVar3 = (undefined4 *)(iVar4 + *(int *)(puVar1 + -0x1b80) * 4);\n      b = (YY_BUFFER_STATE)*puVar3;\n    }\n  }\n  (*(code *)PTR_free_0008df9c)(iVar4);\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  *(undefined4 *)(puVar1 + -0x1b88) = 0;\n  *(undefined4 *)(puVar2 + -0x1b84) = 0;\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  *(undefined4 *)(puVar1 + -0x1b80) = 0;\n  *(undefined4 *)(puVar2 + -0x1b94) = 0;\n  *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b98) = 0;\n  *(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b9c) = 0;\n  *(undefined4 *)PTR_code_in_0008dc00 = 0;\n  *(undefined4 *)PTR_code_out_0008dc1c = 0;\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "YY_BUFFER_STATE b;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" 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 "iVar4 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b88);" (assignment_expression "iVar4 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b88)" identifier = (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b88)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b88)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b88" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n    puVar3 = (undefined4 *)\n             (iVar4 + *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4);\n    b = (YY_BUFFER_STATE)*puVar3;\n    while (b != (YY_BUFFER_STATE)0x0) {\n      code__delete_buffer(b);\n      *puVar3 = 0;\n      code_pop_buffer_state();\n      puVar3 = (undefined4 *)(iVar4 + *(int *)(puVar1 + -0x1b80) * 4);\n      b = (YY_BUFFER_STATE)*puVar3;\n    }\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar3 = (undefined4 *)\n             (iVar4 + *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4);\n    b = (YY_BUFFER_STATE)*puVar3;\n    while (b != (YY_BUFFER_STATE)0x0) {\n      code__delete_buffer(b);\n      *puVar3 = 0;\n      code_pop_buffer_state();\n      puVar3 = (undefined4 *)(iVar4 + *(int *)(puVar1 + -0x1b80) * 4);\n      b = (YY_BUFFER_STATE)*puVar3;\n    }\n  }" { (expression_statement "puVar3 = (undefined4 *)\n             (iVar4 + *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4);" (assignment_expression "puVar3 = (undefined4 *)\n             (iVar4 + *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4)" identifier = (cast_expression "(undefined4 *)\n             (iVar4 + *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4)" ( (binary_expression "iVar4 + *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4" identifier + (binary_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80) * 4" (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b80" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "b = (YY_BUFFER_STATE)*puVar3;" (assignment_expression "b = (YY_BUFFER_STATE)*puVar3" identifier = (binary_expression "(YY_BUFFER_STATE)*puVar3" (parenthesized_expression "(YY_BUFFER_STATE)" ( identifier )) * identifier)) ;) (while_statement "while (b != (YY_BUFFER_STATE)0x0) {\n      code__delete_buffer(b);\n      *puVar3 = 0;\n      code_pop_buffer_state();\n      puVar3 = (undefined4 *)(iVar4 + *(int *)(puVar1 + -0x1b80) * 4);\n      b = (YY_BUFFER_STATE)*puVar3;\n    }" while (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      code__delete_buffer(b);\n      *puVar3 = 0;\n      code_pop_buffer_state();\n      puVar3 = (undefined4 *)(iVar4 + *(int *)(puVar1 + -0x1b80) * 4);\n      b = (YY_BUFFER_STATE)*puVar3;\n    }" { (expression_statement "code__delete_buffer(b);" (call_expression "code__delete_buffer(b)" identifier (argument_list "(b)" ( identifier ))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "code_pop_buffer_state();" (call_expression "code_pop_buffer_state()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar3 = (undefined4 *)(iVar4 + *(int *)(puVar1 + -0x1b80) * 4);" (assignment_expression "puVar3 = (undefined4 *)(iVar4 + *(int *)(puVar1 + -0x1b80) * 4)" identifier = (cast_expression "(undefined4 *)(iVar4 + *(int *)(puVar1 + -0x1b80) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + *(int *)(puVar1 + -0x1b80) * 4)" ( (binary_expression "iVar4 + *(int *)(puVar1 + -0x1b80) * 4" identifier + (binary_expression "*(int *)(puVar1 + -0x1b80) * 4" (pointer_expression "*(int *)(puVar1 + -0x1b80)" * (cast_expression "(int *)(puVar1 + -0x1b80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1b80)" ( (binary_expression "puVar1 + -0x1b80" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "b = (YY_BUFFER_STATE)*puVar3;" (assignment_expression "b = (YY_BUFFER_STATE)*puVar3" identifier = (binary_expression "(YY_BUFFER_STATE)*puVar3" (parenthesized_expression "(YY_BUFFER_STATE)" ( identifier )) * identifier)) ;) })) })) (expression_statement "(*(code *)PTR_free_0008df9c)(iVar4);" (call_expression "(*(code *)PTR_free_0008df9c)(iVar4)" (parenthesized_expression "(*(code *)PTR_free_0008df9c)" ( (pointer_expression "*(code *)PTR_free_0008df9c" * (cast_expression "(code *)PTR_free_0008df9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;" (assignment_expression "puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x1b88) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x1b88) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x1b88)" * (cast_expression "(undefined4 *)(puVar1 + -0x1b88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1b88)" ( (binary_expression "puVar1 + -0x1b88" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x1b84) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x1b84) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x1b84)" * (cast_expression "(undefined4 *)(puVar2 + -0x1b84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x1b84)" ( (binary_expression "puVar2 + -0x1b84" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;" (assignment_expression "puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x1b80) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x1b80) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x1b80)" * (cast_expression "(undefined4 *)(puVar1 + -0x1b80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1b80)" ( (binary_expression "puVar1 + -0x1b80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x1b94) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x1b94) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x1b94)" * (cast_expression "(undefined4 *)(puVar2 + -0x1b94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x1b94)" ( (binary_expression "puVar2 + -0x1b94" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b98) = 0;" (assignment_expression "*(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b98) = 0" (pointer_expression "*(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b98)" * (cast_expression "(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b98)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b98)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b98" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b9c) = 0;" (assignment_expression "*(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b9c) = 0" (pointer_expression "*(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b9c)" * (cast_expression "(undefined4 *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b9c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b9c)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1b9c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)PTR_code_in_0008dc00 = 0;" (assignment_expression "*(undefined4 *)PTR_code_in_0008dc00 = 0" (pointer_expression "*(undefined4 *)PTR_code_in_0008dc00" * (cast_expression "(undefined4 *)PTR_code_in_0008dc00" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)PTR_code_out_0008dc1c = 0;" (assignment_expression "*(undefined4 *)PTR_code_out_0008dc1c = 0" (pointer_expression "*(undefined4 *)PTR_code_out_0008dc1c" * (cast_expression "(undefined4 *)PTR_code_out_0008dc1c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 code_lex_destroy(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);\n  if (iVar5 != 0) {\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }\n  (*(code *)PTR_free_0008df9c)(iVar5);\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b88) = 0;\n  *(undefined4 *)(puVar2 + -0x1b84) = 0;\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b80) = 0;\n  *(undefined4 *)(puVar2 + -0x1b94) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;\n  *(undefined4 *)PTR_code_in_0008dc00 = 0;\n  *(undefined4 *)PTR_code_out_0008dc1c = 0;\n  return 0;\n}\n\n" (function_definition "undefined4 code_lex_destroy(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);\n  if (iVar5 != 0) {\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }\n  (*(code *)PTR_free_0008df9c)(iVar5);\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b88) = 0;\n  *(undefined4 *)(puVar2 + -0x1b84) = 0;\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b80) = 0;\n  *(undefined4 *)(puVar2 + -0x1b94) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;\n  *(undefined4 *)PTR_code_in_0008dc00 = 0;\n  *(undefined4 *)PTR_code_out_0008dc1c = 0;\n  return 0;\n}" type_identifier (function_declarator "code_lex_destroy(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);\n  if (iVar5 != 0) {\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }\n  (*(code *)PTR_free_0008df9c)(iVar5);\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b88) = 0;\n  *(undefined4 *)(puVar2 + -0x1b84) = 0;\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b80) = 0;\n  *(undefined4 *)(puVar2 + -0x1b94) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;\n  *(undefined4 *)PTR_code_in_0008dc00 = 0;\n  *(undefined4 *)PTR_code_out_0008dc1c = 0;\n  return 0;\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 *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_0008d618;" (assignment_expression "puVar1 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);" (assignment_expression "iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88)" identifier = (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1b88)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1b88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b88)" ( (binary_expression "PTR_DAT_0008d618 + -0x1b88" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 != 0) {\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }" { (expression_statement "piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);" (assignment_expression "piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4)" identifier = (cast_expression "(int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4)" ( (binary_expression "iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4" identifier + (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1b80) * 4" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1b80)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1b80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b80)" ( (binary_expression "PTR_DAT_0008d618 + -0x1b80" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (while_statement "while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }" while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }" { (expression_statement "code__delete_buffer();" (call_expression "code__delete_buffer()" identifier (argument_list "()" ( ))) ;) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" * identifier) = number_literal) ;) (expression_statement "code_pop_buffer_state();" (call_expression "code_pop_buffer_state()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);" (assignment_expression "piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4)" identifier = (cast_expression "(int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(puVar1 + -0x1b80) * 4)" ( (binary_expression "iVar5 + *(int *)(puVar1 + -0x1b80) * 4" identifier + (binary_expression "*(int *)(puVar1 + -0x1b80) * 4" (pointer_expression "*(int *)(puVar1 + -0x1b80)" * (cast_expression "(int *)(puVar1 + -0x1b80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1b80)" ( (binary_expression "puVar1 + -0x1b80" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) })) })) (expression_statement "(*(code *)PTR_free_0008df9c)(iVar5);" (call_expression "(*(code *)PTR_free_0008df9c)(iVar5)" (parenthesized_expression "(*(code *)PTR_free_0008df9c)" ( (pointer_expression "*(code *)PTR_free_0008df9c" * (cast_expression "(code *)PTR_free_0008df9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x1b88) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x1b88) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x1b88)" * (cast_expression "(undefined4 *)(puVar1 + -0x1b88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1b88)" ( (binary_expression "puVar1 + -0x1b88" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x1b84) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x1b84) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x1b84)" * (cast_expression "(undefined4 *)(puVar2 + -0x1b84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x1b84)" ( (binary_expression "puVar2 + -0x1b84" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar1 + -0x1b80) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x1b80) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x1b80)" * (cast_expression "(undefined4 *)(puVar1 + -0x1b80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1b80)" ( (binary_expression "puVar1 + -0x1b80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x1b94) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x1b94) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x1b94)" * (cast_expression "(undefined4 *)(puVar2 + -0x1b94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x1b94)" ( (binary_expression "puVar2 + -0x1b94" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b98)" * (cast_expression "(undefined4 *)(PTR_DAT_0008d618 + -0x1b98)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b98)" ( (binary_expression "PTR_DAT_0008d618 + -0x1b98" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c)" * (cast_expression "(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b9c)" ( (binary_expression "PTR_DAT_0008d618 + -0x1b9c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)PTR_code_in_0008dc00 = 0;" (assignment_expression "*(undefined4 *)PTR_code_in_0008dc00 = 0" (pointer_expression "*(undefined4 *)PTR_code_in_0008dc00" * (cast_expression "(undefined4 *)PTR_code_in_0008dc00" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)PTR_code_out_0008dc1c = 0;" (assignment_expression "*(undefined4 *)PTR_code_out_0008dc1c = 0" (pointer_expression "*(undefined4 *)PTR_code_out_0008dc1c" * (cast_expression "(undefined4 *)PTR_code_out_0008dc1c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(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 IDENT ;) (declaration TYPE (pointer_declarator * 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = 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 (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 code_lex_destroy(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);\n  if (iVar5 != 0) {\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }\n  (*(code *)PTR_free_0008df9c)(iVar5);\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b88) = 0;\n  *(undefined4 *)(puVar2 + -0x1b84) = 0;\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b80) = 0;\n  *(undefined4 *)(puVar2 + -0x1b94) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;\n  *(undefined4 *)PTR_code_in_0008dc00 = 0;\n  *(undefined4 *)PTR_code_out_0008dc1c = 0;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "code_lex_destroy(void)" (identifier "code_lex_destroy") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  puVar1 = PTR_DAT_0008d618;\n  iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);\n  if (iVar5 != 0) {\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }\n  (*(code *)PTR_free_0008df9c)(iVar5);\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b88) = 0;\n  *(undefined4 *)(puVar2 + -0x1b84) = 0;\n  puVar2 = PTR_DAT_0008d618;\n  *(undefined4 *)(puVar1 + -0x1b80) = 0;\n  *(undefined4 *)(puVar2 + -0x1b94) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;\n  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;\n  *(undefined4 *)PTR_code_in_0008dc00 = 0;\n  *(undefined4 *)PTR_code_out_0008dc1c = 0;\n  return 0;\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 *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "puVar1 = PTR_DAT_0008d618;" (assignment_expression "puVar1 = PTR_DAT_0008d618" (identifier "puVar1") (= "=") (identifier "PTR_DAT_0008d618")) (; ";")) (expression_statement "iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);" (assignment_expression "iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1b88)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1b88)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b88)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1b88" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1b88")) () ")"))))) (; ";")) (if_statement "if (iVar5 != 0) {\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);\n    iVar3 = *piVar4;\n    while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }\n  }" ({ "{") (expression_statement "piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);" (assignment_expression "piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4)" (identifier "piVar4") (= "=") (cast_expression "(int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1b80) * 4" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1b80)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1b80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b80)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1b80" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1b80")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" (identifier "iVar3") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (while_statement "while (iVar3 != 0) {\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }" (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      code__delete_buffer();\n      *piVar4 = 0;\n      code_pop_buffer_state();\n      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);\n      iVar3 = *piVar4;\n    }" ({ "{") (expression_statement "code__delete_buffer();" (call_expression "code__delete_buffer()" (identifier "code__delete_buffer") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "code_pop_buffer_state();" (call_expression "code_pop_buffer_state()" (identifier "code_pop_buffer_state") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);" (assignment_expression "piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4)" (identifier "piVar4") (= "=") (cast_expression "(int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(puVar1 + -0x1b80) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(puVar1 + -0x1b80) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(puVar1 + -0x1b80) * 4" (pointer_expression "*(int *)(puVar1 + -0x1b80)" (* "*") (cast_expression "(int *)(puVar1 + -0x1b80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x1b80)" (( "(") (binary_expression "puVar1 + -0x1b80" (identifier "puVar1") (+ "+") (number_literal "-0x1b80")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" (identifier "iVar3") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "(*(code *)PTR_free_0008df9c)(iVar5);" (call_expression "(*(code *)PTR_free_0008df9c)(iVar5)" (parenthesized_expression "(*(code *)PTR_free_0008df9c)" (( "(") (pointer_expression "*(code *)PTR_free_0008df9c" (* "*") (cast_expression "(code *)PTR_free_0008df9c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0008df9c"))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" (identifier "puVar2") (= "=") (identifier "PTR_DAT_0008d618")) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0x1b88) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x1b88) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x1b88)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x1b88)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x1b88)" (( "(") (binary_expression "puVar1 + -0x1b88" (identifier "puVar1") (+ "+") (number_literal "-0x1b88")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + -0x1b84) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x1b84) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x1b84)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0x1b84)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x1b84)" (( "(") (binary_expression "puVar2 + -0x1b84" (identifier "puVar2") (+ "+") (number_literal "-0x1b84")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" (identifier "puVar2") (= "=") (identifier "PTR_DAT_0008d618")) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + -0x1b80) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + -0x1b80) = 0" (pointer_expression "*(undefined4 *)(puVar1 + -0x1b80)" (* "*") (cast_expression "(undefined4 *)(puVar1 + -0x1b80)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x1b80)" (( "(") (binary_expression "puVar1 + -0x1b80" (identifier "puVar1") (+ "+") (number_literal "-0x1b80")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + -0x1b94) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0x1b94) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0x1b94)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0x1b94)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x1b94)" (( "(") (binary_expression "puVar2 + -0x1b94" (identifier "puVar2") (+ "+") (number_literal "-0x1b94")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b98)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0008d618 + -0x1b98)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b98)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1b98" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1b98")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1b9c)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1b9c" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1b9c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)PTR_code_in_0008dc00 = 0;" (assignment_expression "*(undefined4 *)PTR_code_in_0008dc00 = 0" (pointer_expression "*(undefined4 *)PTR_code_in_0008dc00" (* "*") (cast_expression "(undefined4 *)PTR_code_in_0008dc00" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_code_in_0008dc00"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)PTR_code_out_0008dc1c = 0;" (assignment_expression "*(undefined4 *)PTR_code_out_0008dc1c = 0" (pointer_expression "*(undefined4 *)PTR_code_out_0008dc1c" (* "*") (cast_expression "(undefined4 *)PTR_code_out_0008dc1c" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_code_out_0008dc1c"))) (= "=") (number_literal "0")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(void)

{
  type_1 *var_7;
  type_1 *var_8;
  type_2 var_4;
  type_3 *var_3;
  int var_2;
  
  var_7 = var_1;
  var_2 = *(int *)(var_1 + -0x1b88);
  if (var_2 != 0) {
    var_3 = (type_3 *)
             (var_2 + *(int *)(var_1 + -0x1b80) * 4);
    var_4 = (type_2)*var_3;
    while (var_4 != (type_2)0x0) {
      var_5(var_4);
      *var_3 = 0;
      var_6();
      var_3 = (type_3 *)(var_2 + *(int *)(var_7 + -0x1b80) * 4);
      var_4 = (type_2)*var_3;
    }
  }
  (*(type_4 *)PTR_free_0008df9c)(var_2);
  var_8 = var_1;
  *(type_3 *)(var_7 + -0x1b88) = 0;
  *(type_3 *)(var_8 + -0x1b84) = 0;
  var_8 = var_1;
  *(type_3 *)(var_7 + -0x1b80) = 0;
  *(type_3 *)(var_8 + -0x1b94) = 0;
  *(type_3 *)(var_1 + -0x1b98) = 0;
  *(type_3 *)(var_1 + -0x1b9c) = 0;
  *(type_3 *)PTR_code_in_0008dc00 = 0;
  *(type_3 *)PTR_code_out_0008dc1c = 0;
  return 0;
}


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

undefined4 MASKED(void)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  
  puVar1 = PTR_DAT_0008d618;
  iVar5 = *(int *)(PTR_DAT_0008d618 + -0x1b88);
  if (iVar5 != 0) {
    piVar4 = (int *)(iVar5 + *(int *)(PTR_DAT_0008d618 + -0x1b80) * 4);
    iVar3 = *piVar4;
    while (iVar3 != 0) {
      code__delete_buffer();
      *piVar4 = 0;
      code_pop_buffer_state();
      piVar4 = (int *)(iVar5 + *(int *)(puVar1 + -0x1b80) * 4);
      iVar3 = *piVar4;
    }
  }
  (*(code *)PTR_free_0008df9c)(iVar5);
  puVar2 = PTR_DAT_0008d618;
  *(undefined4 *)(puVar1 + -0x1b88) = 0;
  *(undefined4 *)(puVar2 + -0x1b84) = 0;
  puVar2 = PTR_DAT_0008d618;
  *(undefined4 *)(puVar1 + -0x1b80) = 0;
  *(undefined4 *)(puVar2 + -0x1b94) = 0;
  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b98) = 0;
  *(undefined4 *)(PTR_DAT_0008d618 + -0x1b9c) = 0;
  *(undefined4 *)PTR_code_in_0008dc00 = 0;
  *(undefined4 *)PTR_code_out_0008dc1c = 0;
  return 0;
}

