
YY_BUFFER_STATE yy_scan_buffer(char *base,yy_size_t size)

{
  YY_BUFFER_STATE new_buffer;
  yy_size_t yVar1;
  
  yVar1 = size - 2;
  if (size < 2) {
    new_buffer = (YY_BUFFER_STATE)0x0;
  }
  else if (base[yVar1] == '\0') {
    if (base[size - 1] == '\0') {
      new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30);
      if (new_buffer == (YY_BUFFER_STATE)0x0) {
                    /* WARNING: Subroutine does not return */
        yy_fatal_error(PTR_LAB_00046868 + 0x1938);
      }
      new_buffer->yy_buf_size = yVar1;
      new_buffer->yy_ch_buf = base;
      new_buffer->yy_buf_pos = base;
      new_buffer->yy_is_our_buffer = 0;
      new_buffer->yy_input_file = (FILE *)0x0;
      new_buffer->yy_n_chars = yVar1;
      new_buffer->yy_is_interactive = 0;
      new_buffer->yy_at_bol = 1;
      new_buffer->yy_fill_buffer = 0;
      new_buffer->yy_buffer_status = 0;
      yy_switch_to_buffer(new_buffer);
    }
    else {
      new_buffer = (YY_BUFFER_STATE)0x0;
    }
  }
  else {
    new_buffer = (YY_BUFFER_STATE)0x0;
  }
  return new_buffer;
}



undefined4 * yy_scan_buffer(int param_1,uint param_2)

{
  undefined4 *puVar1;
  int iVar2;
  
  iVar2 = param_2 - 2;
  if (1 < param_2) {
    if (*(char *)(param_1 + iVar2) != '\0') {
      return (undefined4 *)0x0;
    }
    if (*(char *)(param_1 + param_2 + -1) != '\0') {
      return (undefined4 *)0x0;
    }
    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);
    if (puVar1 != (undefined4 *)0x0) {
      puVar1[3] = iVar2;
      puVar1[1] = param_1;
      puVar1[2] = param_1;
      puVar1[5] = 0;
      *puVar1 = 0;
      puVar1[4] = iVar2;
      puVar1[6] = 0;
      puVar1[7] = 1;
      puVar1[10] = 0;
      puVar1[0xb] = 0;
      yy_switch_to_buffer(puVar1);
      return puVar1;
    }
    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);
  }
  return (undefined4 *)0x0;
}


lui gp,0x4
addiu gp,gp,-0x6174
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
sltiu v0,a1,0x2
bne v0,zero,0x00014a80
_addiu s2,a1,-0x2
addu v0,a0,s2
lb v0,0x0(v0)
bne v0,zero,0x00014a88
_addu a1,a0,a1
lb v0,-0x1(a1)
bne v0,zero,0x00014a90
_or s1,a0,zero
li a0,0x30
lw t9,-0x7b7c(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x00014a68
_or s0,v0,zero
sw s2,0xc(v0)
sw s1,0x4(v0)
sw s1,0x8(v0)
sw zero,0x14(v0)
sw zero,0x0(v0)
sw s2,0x10(v0)
sw zero,0x18(v0)
li v0,0x1
sw v0,0x1c(s0)
sw zero,0x28(s0)
sw zero,0x2c(s0)
or a0,s0,zero
lw t9,-0x7fac(gp)
bal 0x00013e38
_nop
lw gp,0x10(sp)
or v0,s0,zero
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw a0,-0x7fc8(gp)
addiu a0,a0,0x1938
lw t9,-0x7fcc(gp)
addiu t9,t9,0x3cc4
bal 0x00013cc4
_nop
b 0x00014a4c
_or s0,zero,zero
b 0x00014a4c
_or s0,zero,zero
b 0x00014a4c
_or s0,zero,zero
(translation_unit "undefined4 * yy_scan_buffer(int param_1,uint param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = param_2 - 2;\n  if (1 < param_2) {\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }\n  return (undefined4 *)0x0;\n}\n\n" (function_definition "undefined4 * yy_scan_buffer(int param_1,uint param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = param_2 - 2;\n  if (1 < param_2) {\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }\n  return (undefined4 *)0x0;\n}" type_identifier (pointer_declarator "* yy_scan_buffer(int param_1,uint param_2)" * (function_declarator "yy_scan_buffer(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = param_2 - 2;\n  if (1 < param_2) {\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = param_2 - 2;" (assignment_expression "iVar2 = param_2 - 2" identifier = (binary_expression "param_2 - 2" identifier - number_literal)) ;) (if_statement "if (1 < param_2) {\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }" if (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) (compound_statement "{\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }" { (if_statement "if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }" if (parenthesized_expression "(*(char *)(param_1 + iVar2) != '\0')" ( (binary_expression "*(char *)(param_1 + iVar2) != '\0'" (pointer_expression "*(char *)(param_1 + iVar2)" * (cast_expression "(char *)(param_1 + iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2)" ( (binary_expression "param_1 + iVar2" identifier + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return (undefined4 *)0x0;\n    }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }" if (parenthesized_expression "(*(char *)(param_1 + param_2 + -1) != '\0')" ( (binary_expression "*(char *)(param_1 + param_2 + -1) != '\0'" (pointer_expression "*(char *)(param_1 + param_2 + -1)" * (cast_expression "(char *)(param_1 + param_2 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 + -1)" ( (binary_expression "param_1 + param_2 + -1" (binary_expression "param_1 + param_2" identifier + identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return (undefined4 *)0x0;\n    }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_00046cb4)(0x30)" (parenthesized_expression "(*(code *)PTR_malloc_00046cb4)" ( (pointer_expression "*(code *)PTR_malloc_00046cb4" * (cast_expression "(code *)PTR_malloc_00046cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x30)" ( number_literal ))))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }" { (expression_statement "puVar1[3] = iVar2;" (assignment_expression "puVar1[3] = iVar2" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = param_1;" (assignment_expression "puVar1[2] = param_1" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[5] = 0;" (assignment_expression "puVar1[5] = 0" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[4] = iVar2;" (assignment_expression "puVar1[4] = iVar2" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[6] = 0;" (assignment_expression "puVar1[6] = 0" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[7] = 1;" (assignment_expression "puVar1[7] = 1" (subscript_expression "puVar1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[10] = 0;" (assignment_expression "puVar1[10] = 0" (subscript_expression "puVar1[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "yy_switch_to_buffer(puVar1);" (call_expression "yy_switch_to_buffer(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (return_statement "return puVar1;" return identifier ;) })) (expression_statement "FUN_00013cc4(PTR_LAB_00046868 + 0x1938);" (call_expression "FUN_00013cc4(PTR_LAB_00046868 + 0x1938)" identifier (argument_list "(PTR_LAB_00046868 + 0x1938)" ( (binary_expression "PTR_LAB_00046868 + 0x1938" identifier + number_literal) ))) ;) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "YY_BUFFER_STATE yy_scan_buffer(char *base,yy_size_t size)\n\n{\n  YY_BUFFER_STATE new_buffer;\n  yy_size_t yVar1;\n  \n  yVar1 = size - 2;\n  if (size < 2) {\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }\n  else if (base[yVar1] == '\0') {\n    if (base[size - 1] == '\0') {\n      new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30);\n      if (new_buffer == (YY_BUFFER_STATE)0x0) {\n                    /* WARNING: Subroutine does not return */\n        yy_fatal_error(PTR_LAB_00046868 + 0x1938);\n      }\n      new_buffer->yy_buf_size = yVar1;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_is_our_buffer = 0;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = yVar1;\n      new_buffer->yy_is_interactive = 0;\n      new_buffer->yy_at_bol = 1;\n      new_buffer->yy_fill_buffer = 0;\n      new_buffer->yy_buffer_status = 0;\n      yy_switch_to_buffer(new_buffer);\n    }\n    else {\n      new_buffer = (YY_BUFFER_STATE)0x0;\n    }\n  }\n  else {\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }\n  return new_buffer;\n}\n\n" (function_definition "YY_BUFFER_STATE yy_scan_buffer(char *base,yy_size_t size)\n\n{\n  YY_BUFFER_STATE new_buffer;\n  yy_size_t yVar1;\n  \n  yVar1 = size - 2;\n  if (size < 2) {\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }\n  else if (base[yVar1] == '\0') {\n    if (base[size - 1] == '\0') {\n      new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30);\n      if (new_buffer == (YY_BUFFER_STATE)0x0) {\n                    /* WARNING: Subroutine does not return */\n        yy_fatal_error(PTR_LAB_00046868 + 0x1938);\n      }\n      new_buffer->yy_buf_size = yVar1;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_is_our_buffer = 0;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = yVar1;\n      new_buffer->yy_is_interactive = 0;\n      new_buffer->yy_at_bol = 1;\n      new_buffer->yy_fill_buffer = 0;\n      new_buffer->yy_buffer_status = 0;\n      yy_switch_to_buffer(new_buffer);\n    }\n    else {\n      new_buffer = (YY_BUFFER_STATE)0x0;\n    }\n  }\n  else {\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }\n  return new_buffer;\n}" type_identifier (function_declarator "yy_scan_buffer(char *base,yy_size_t size)" identifier (parameter_list "(char *base,yy_size_t size)" ( (parameter_declaration "char *base" primitive_type (pointer_declarator "*base" * identifier)) , (parameter_declaration "yy_size_t size" type_identifier identifier) ))) (compound_statement "{\n  YY_BUFFER_STATE new_buffer;\n  yy_size_t yVar1;\n  \n  yVar1 = size - 2;\n  if (size < 2) {\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }\n  else if (base[yVar1] == '\0') {\n    if (base[size - 1] == '\0') {\n      new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30);\n      if (new_buffer == (YY_BUFFER_STATE)0x0) {\n                    /* WARNING: Subroutine does not return */\n        yy_fatal_error(PTR_LAB_00046868 + 0x1938);\n      }\n      new_buffer->yy_buf_size = yVar1;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_is_our_buffer = 0;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = yVar1;\n      new_buffer->yy_is_interactive = 0;\n      new_buffer->yy_at_bol = 1;\n      new_buffer->yy_fill_buffer = 0;\n      new_buffer->yy_buffer_status = 0;\n      yy_switch_to_buffer(new_buffer);\n    }\n    else {\n      new_buffer = (YY_BUFFER_STATE)0x0;\n    }\n  }\n  else {\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }\n  return new_buffer;\n}" { (declaration "YY_BUFFER_STATE new_buffer;" type_identifier identifier ;) (declaration "yy_size_t yVar1;" type_identifier identifier ;) (expression_statement "yVar1 = size - 2;" (assignment_expression "yVar1 = size - 2" identifier = (binary_expression "size - 2" identifier - number_literal)) ;) (if_statement "if (size < 2) {\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }\n  else if (base[yVar1] == '\0') {\n    if (base[size - 1] == '\0') {\n      new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30);\n      if (new_buffer == (YY_BUFFER_STATE)0x0) {\n                    /* WARNING: Subroutine does not return */\n        yy_fatal_error(PTR_LAB_00046868 + 0x1938);\n      }\n      new_buffer->yy_buf_size = yVar1;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_is_our_buffer = 0;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = yVar1;\n      new_buffer->yy_is_interactive = 0;\n      new_buffer->yy_at_bol = 1;\n      new_buffer->yy_fill_buffer = 0;\n      new_buffer->yy_buffer_status = 0;\n      yy_switch_to_buffer(new_buffer);\n    }\n    else {\n      new_buffer = (YY_BUFFER_STATE)0x0;\n    }\n  }\n  else {\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }" if (parenthesized_expression "(size < 2)" ( (binary_expression "size < 2" identifier < number_literal) )) (compound_statement "{\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }" { (expression_statement "new_buffer = (YY_BUFFER_STATE)0x0;" (assignment_expression "new_buffer = (YY_BUFFER_STATE)0x0" identifier = (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) ;) }) (else_clause "else if (base[yVar1] == '\0') {\n    if (base[size - 1] == '\0') {\n      new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30);\n      if (new_buffer == (YY_BUFFER_STATE)0x0) {\n                    /* WARNING: Subroutine does not return */\n        yy_fatal_error(PTR_LAB_00046868 + 0x1938);\n      }\n      new_buffer->yy_buf_size = yVar1;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_is_our_buffer = 0;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = yVar1;\n      new_buffer->yy_is_interactive = 0;\n      new_buffer->yy_at_bol = 1;\n      new_buffer->yy_fill_buffer = 0;\n      new_buffer->yy_buffer_status = 0;\n      yy_switch_to_buffer(new_buffer);\n    }\n    else {\n      new_buffer = (YY_BUFFER_STATE)0x0;\n    }\n  }\n  else {\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }" else (if_statement "if (base[yVar1] == '\0') {\n    if (base[size - 1] == '\0') {\n      new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30);\n      if (new_buffer == (YY_BUFFER_STATE)0x0) {\n                    /* WARNING: Subroutine does not return */\n        yy_fatal_error(PTR_LAB_00046868 + 0x1938);\n      }\n      new_buffer->yy_buf_size = yVar1;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_is_our_buffer = 0;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = yVar1;\n      new_buffer->yy_is_interactive = 0;\n      new_buffer->yy_at_bol = 1;\n      new_buffer->yy_fill_buffer = 0;\n      new_buffer->yy_buffer_status = 0;\n      yy_switch_to_buffer(new_buffer);\n    }\n    else {\n      new_buffer = (YY_BUFFER_STATE)0x0;\n    }\n  }\n  else {\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }" if (parenthesized_expression "(base[yVar1] == '\0')" ( (binary_expression "base[yVar1] == '\0'" (subscript_expression "base[yVar1]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (base[size - 1] == '\0') {\n      new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30);\n      if (new_buffer == (YY_BUFFER_STATE)0x0) {\n                    /* WARNING: Subroutine does not return */\n        yy_fatal_error(PTR_LAB_00046868 + 0x1938);\n      }\n      new_buffer->yy_buf_size = yVar1;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_is_our_buffer = 0;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = yVar1;\n      new_buffer->yy_is_interactive = 0;\n      new_buffer->yy_at_bol = 1;\n      new_buffer->yy_fill_buffer = 0;\n      new_buffer->yy_buffer_status = 0;\n      yy_switch_to_buffer(new_buffer);\n    }\n    else {\n      new_buffer = (YY_BUFFER_STATE)0x0;\n    }\n  }" { (if_statement "if (base[size - 1] == '\0') {\n      new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30);\n      if (new_buffer == (YY_BUFFER_STATE)0x0) {\n                    /* WARNING: Subroutine does not return */\n        yy_fatal_error(PTR_LAB_00046868 + 0x1938);\n      }\n      new_buffer->yy_buf_size = yVar1;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_is_our_buffer = 0;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = yVar1;\n      new_buffer->yy_is_interactive = 0;\n      new_buffer->yy_at_bol = 1;\n      new_buffer->yy_fill_buffer = 0;\n      new_buffer->yy_buffer_status = 0;\n      yy_switch_to_buffer(new_buffer);\n    }\n    else {\n      new_buffer = (YY_BUFFER_STATE)0x0;\n    }" if (parenthesized_expression "(base[size - 1] == '\0')" ( (binary_expression "base[size - 1] == '\0'" (subscript_expression "base[size - 1]" identifier [ (binary_expression "size - 1" identifier - number_literal) ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30);\n      if (new_buffer == (YY_BUFFER_STATE)0x0) {\n                    /* WARNING: Subroutine does not return */\n        yy_fatal_error(PTR_LAB_00046868 + 0x1938);\n      }\n      new_buffer->yy_buf_size = yVar1;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_is_our_buffer = 0;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = yVar1;\n      new_buffer->yy_is_interactive = 0;\n      new_buffer->yy_at_bol = 1;\n      new_buffer->yy_fill_buffer = 0;\n      new_buffer->yy_buffer_status = 0;\n      yy_switch_to_buffer(new_buffer);\n    }" { (expression_statement "new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30);" (assignment_expression "new_buffer = (YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30)" identifier = (call_expression "(YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)(0x30)" (call_expression "(YY_BUFFER_STATE)(*(code *)PTR_malloc_00046cb4)" (parenthesized_expression "(YY_BUFFER_STATE)" ( identifier )) (argument_list "(*(code *)PTR_malloc_00046cb4)" ( (pointer_expression "*(code *)PTR_malloc_00046cb4" * (cast_expression "(code *)PTR_malloc_00046cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) (argument_list "(0x30)" ( number_literal )))) ;) (if_statement "if (new_buffer == (YY_BUFFER_STATE)0x0) {\n                    /* WARNING: Subroutine does not return */\n        yy_fatal_error(PTR_LAB_00046868 + 0x1938);\n      }" if (parenthesized_expression "(new_buffer == (YY_BUFFER_STATE)0x0)" ( (binary_expression "new_buffer == (YY_BUFFER_STATE)0x0" identifier == (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        yy_fatal_error(PTR_LAB_00046868 + 0x1938);\n      }" { comment (expression_statement "yy_fatal_error(PTR_LAB_00046868 + 0x1938);" (call_expression "yy_fatal_error(PTR_LAB_00046868 + 0x1938)" identifier (argument_list "(PTR_LAB_00046868 + 0x1938)" ( (binary_expression "PTR_LAB_00046868 + 0x1938" identifier + number_literal) ))) ;) })) (expression_statement "new_buffer->yy_buf_size = yVar1;" (assignment_expression "new_buffer->yy_buf_size = yVar1" (field_expression "new_buffer->yy_buf_size" identifier -> field_identifier) = identifier) ;) (expression_statement "new_buffer->yy_ch_buf = base;" (assignment_expression "new_buffer->yy_ch_buf = base" (field_expression "new_buffer->yy_ch_buf" identifier -> field_identifier) = identifier) ;) (expression_statement "new_buffer->yy_buf_pos = base;" (assignment_expression "new_buffer->yy_buf_pos = base" (field_expression "new_buffer->yy_buf_pos" identifier -> field_identifier) = identifier) ;) (expression_statement "new_buffer->yy_is_our_buffer = 0;" (assignment_expression "new_buffer->yy_is_our_buffer = 0" (field_expression "new_buffer->yy_is_our_buffer" identifier -> field_identifier) = number_literal) ;) (expression_statement "new_buffer->yy_input_file = (FILE *)0x0;" (assignment_expression "new_buffer->yy_input_file = (FILE *)0x0" (field_expression "new_buffer->yy_input_file" identifier -> field_identifier) = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "new_buffer->yy_n_chars = yVar1;" (assignment_expression "new_buffer->yy_n_chars = yVar1" (field_expression "new_buffer->yy_n_chars" identifier -> field_identifier) = identifier) ;) (expression_statement "new_buffer->yy_is_interactive = 0;" (assignment_expression "new_buffer->yy_is_interactive = 0" (field_expression "new_buffer->yy_is_interactive" identifier -> field_identifier) = number_literal) ;) (expression_statement "new_buffer->yy_at_bol = 1;" (assignment_expression "new_buffer->yy_at_bol = 1" (field_expression "new_buffer->yy_at_bol" identifier -> field_identifier) = number_literal) ;) (expression_statement "new_buffer->yy_fill_buffer = 0;" (assignment_expression "new_buffer->yy_fill_buffer = 0" (field_expression "new_buffer->yy_fill_buffer" identifier -> field_identifier) = number_literal) ;) (expression_statement "new_buffer->yy_buffer_status = 0;" (assignment_expression "new_buffer->yy_buffer_status = 0" (field_expression "new_buffer->yy_buffer_status" identifier -> field_identifier) = number_literal) ;) (expression_statement "yy_switch_to_buffer(new_buffer);" (call_expression "yy_switch_to_buffer(new_buffer)" identifier (argument_list "(new_buffer)" ( identifier ))) ;) }) (else_clause "else {\n      new_buffer = (YY_BUFFER_STATE)0x0;\n    }" else (compound_statement "{\n      new_buffer = (YY_BUFFER_STATE)0x0;\n    }" { (expression_statement "new_buffer = (YY_BUFFER_STATE)0x0;" (assignment_expression "new_buffer = (YY_BUFFER_STATE)0x0" identifier = (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) ;) }))) }) (else_clause "else {\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }" else (compound_statement "{\n    new_buffer = (YY_BUFFER_STATE)0x0;\n  }" { (expression_statement "new_buffer = (YY_BUFFER_STATE)0x0;" (assignment_expression "new_buffer = (YY_BUFFER_STATE)0x0" identifier = (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) ;) }))))) (return_statement "return new_buffer;" return identifier ;) })))
(translation_unit "undefined4 * yy_scan_buffer(int param_1,uint param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = param_2 - 2;\n  if (1 < param_2) {\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }\n  return (undefined4 *)0x0;\n}\n\n" (function_definition "undefined4 * yy_scan_buffer(int param_1,uint param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = param_2 - 2;\n  if (1 < param_2) {\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }\n  return (undefined4 *)0x0;\n}" type_identifier (pointer_declarator "* yy_scan_buffer(int param_1,uint param_2)" * (function_declarator "yy_scan_buffer(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = param_2 - 2;\n  if (1 < param_2) {\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = param_2 - 2;" (assignment_expression "iVar2 = param_2 - 2" identifier = (binary_expression "param_2 - 2" identifier - number_literal)) ;) (if_statement "if (1 < param_2) {\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }" if (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) (compound_statement "{\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }" { (if_statement "if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }" if (parenthesized_expression "(*(char *)(param_1 + iVar2) != '\0')" ( (binary_expression "*(char *)(param_1 + iVar2) != '\0'" (pointer_expression "*(char *)(param_1 + iVar2)" * (cast_expression "(char *)(param_1 + iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2)" ( (binary_expression "param_1 + iVar2" identifier + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return (undefined4 *)0x0;\n    }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }" if (parenthesized_expression "(*(char *)(param_1 + param_2 + -1) != '\0')" ( (binary_expression "*(char *)(param_1 + param_2 + -1) != '\0'" (pointer_expression "*(char *)(param_1 + param_2 + -1)" * (cast_expression "(char *)(param_1 + param_2 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 + -1)" ( (binary_expression "param_1 + param_2 + -1" (binary_expression "param_1 + param_2" identifier + identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return (undefined4 *)0x0;\n    }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_00046cb4)(0x30)" (parenthesized_expression "(*(code *)PTR_malloc_00046cb4)" ( (pointer_expression "*(code *)PTR_malloc_00046cb4" * (cast_expression "(code *)PTR_malloc_00046cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x30)" ( number_literal ))))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }" { (expression_statement "puVar1[3] = iVar2;" (assignment_expression "puVar1[3] = iVar2" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = param_1;" (assignment_expression "puVar1[2] = param_1" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[5] = 0;" (assignment_expression "puVar1[5] = 0" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[4] = iVar2;" (assignment_expression "puVar1[4] = iVar2" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[6] = 0;" (assignment_expression "puVar1[6] = 0" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[7] = 1;" (assignment_expression "puVar1[7] = 1" (subscript_expression "puVar1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[10] = 0;" (assignment_expression "puVar1[10] = 0" (subscript_expression "puVar1[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "yy_switch_to_buffer(puVar1);" (call_expression "yy_switch_to_buffer(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (return_statement "return puVar1;" return identifier ;) })) (expression_statement "FUN_00013cc4(PTR_LAB_00046868 + 0x1938);" (call_expression "FUN_00013cc4(PTR_LAB_00046868 + 0x1938)" identifier (argument_list "(PTR_LAB_00046868 + 0x1938)" ( (binary_expression "PTR_LAB_00046868 + 0x1938" identifier + number_literal) ))) ;) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "undefined4 * yy_scan_buffer(int param_1,uint param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = param_2 - 2;\n  if (1 < param_2) {\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }\n  return (undefined4 *)0x0;\n}" (type_identifier "undefined4") (pointer_declarator "* yy_scan_buffer(int param_1,uint param_2)" (* "*") (function_declarator "yy_scan_buffer(int param_1,uint param_2)" (identifier "yy_scan_buffer") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  iVar2 = param_2 - 2;\n  if (1 < param_2) {\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }\n  return (undefined4 *)0x0;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar2 = param_2 - 2;" (assignment_expression "iVar2 = param_2 - 2" (identifier "iVar2") (= "=") (binary_expression "param_2 - 2" (identifier "param_2") (- "-") (number_literal "2"))) (; ";")) (if_statement "if (1 < param_2) {\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }" (if "if") (parenthesized_expression "(1 < param_2)" (( "(") (binary_expression "1 < param_2" (number_literal "1") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }\n    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);\n    if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }\n    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);\n  }" ({ "{") (if_statement "if (*(char *)(param_1 + iVar2) != '\0') {\n      return (undefined4 *)0x0;\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + iVar2) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + iVar2) != '\0'" (pointer_expression "*(char *)(param_1 + iVar2)" (* "*") (cast_expression "(char *)(param_1 + iVar2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar2)" (( "(") (binary_expression "param_1 + iVar2" (identifier "param_1") (+ "+") (identifier "iVar2")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return (undefined4 *)0x0;\n    }" ({ "{") (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (if_statement "if (*(char *)(param_1 + param_2 + -1) != '\0') {\n      return (undefined4 *)0x0;\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + param_2 + -1) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + param_2 + -1) != '\0'" (pointer_expression "*(char *)(param_1 + param_2 + -1)" (* "*") (cast_expression "(char *)(param_1 + param_2 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + param_2 + -1)" (( "(") (binary_expression "param_1 + param_2 + -1" (binary_expression "param_1 + param_2" (identifier "param_1") (+ "+") (identifier "param_2")) (+ "+") (number_literal "-1")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return (undefined4 *)0x0;\n    }" ({ "{") (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_malloc_00046cb4)(0x30)" (parenthesized_expression "(*(code *)PTR_malloc_00046cb4)" (( "(") (pointer_expression "*(code *)PTR_malloc_00046cb4" (* "*") (cast_expression "(code *)PTR_malloc_00046cb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_00046cb4"))) () ")")) (argument_list "(0x30)" (( "(") (number_literal "0x30") () ")"))))) (; ";")) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }" (if "if") (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar1[3] = iVar2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      puVar1[5] = 0;\n      *puVar1 = 0;\n      puVar1[4] = iVar2;\n      puVar1[6] = 0;\n      puVar1[7] = 1;\n      puVar1[10] = 0;\n      puVar1[0xb] = 0;\n      yy_switch_to_buffer(puVar1);\n      return puVar1;\n    }" ({ "{") (expression_statement "puVar1[3] = iVar2;" (assignment_expression "puVar1[3] = iVar2" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "puVar1[1] = param_1;" (assignment_expression "puVar1[1] = param_1" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar1[2] = param_1;" (assignment_expression "puVar1[2] = param_1" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar1[5] = 0;" (assignment_expression "puVar1[5] = 0" (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[4] = iVar2;" (assignment_expression "puVar1[4] = iVar2" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "puVar1[6] = 0;" (assignment_expression "puVar1[6] = 0" (subscript_expression "puVar1[6]" (identifier "puVar1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[7] = 1;" (assignment_expression "puVar1[7] = 1" (subscript_expression "puVar1[7]" (identifier "puVar1") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar1[10] = 0;" (assignment_expression "puVar1[10] = 0" (subscript_expression "puVar1[10]" (identifier "puVar1") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" (identifier "puVar1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "yy_switch_to_buffer(puVar1);" (call_expression "yy_switch_to_buffer(puVar1)" (identifier "yy_switch_to_buffer") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (expression_statement "FUN_00013cc4(PTR_LAB_00046868 + 0x1938);" (call_expression "FUN_00013cc4(PTR_LAB_00046868 + 0x1938)" (identifier "FUN_00013cc4") (argument_list "(PTR_LAB_00046868 + 0x1938)" (( "(") (binary_expression "PTR_LAB_00046868 + 0x1938" (identifier "PTR_LAB_00046868") (+ "+") (number_literal "0x1938")) () ")"))) (; ";")) (} "}"))) (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))

type_1 function_1(char *base,type_2 var_1)

{
  type_1 var_2;
  type_2 yVar1;
  
  yVar1 = var_1 - 2;
  if (var_1 < 2) {
    var_2 = (type_1)0x0;
  }
  else if (base[yVar1] == '\0') {
    if (base[var_1 - 1] == '\0') {
      var_2 = (type_1)(*(type_3 *)PTR_malloc_00046cb4)(0x30);
      if (var_2 == (type_1)0x0) {
                    /* WARNING: Subroutine does not return */
        var_3(var_4 + 0x1938);
      }
      var_2->yy_buf_size = yVar1;
      var_2->yy_ch_buf = base;
      var_2->yy_buf_pos = base;
      var_2->yy_is_our_buffer = 0;
      var_2->yy_input_file = (type_4 *)0x0;
      var_2->yy_n_chars = yVar1;
      var_2->yy_is_interactive = 0;
      var_2->yy_at_bol = 1;
      var_2->yy_fill_buffer = 0;
      var_2->yy_buffer_status = 0;
      var_5(var_2);
    }
    else {
      var_2 = (type_1)0x0;
    }
  }
  else {
    var_2 = (type_1)0x0;
  }
  return var_2;
}


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

undefined4 * MASKED(int param_1,uint param_2)

{
  undefined4 *puVar1;
  int iVar2;
  
  iVar2 = param_2 - 2;
  if (1 < param_2) {
    if (*(char *)(param_1 + iVar2) != '\0') {
      return (undefined4 *)0x0;
    }
    if (*(char *)(param_1 + param_2 + -1) != '\0') {
      return (undefined4 *)0x0;
    }
    puVar1 = (undefined4 *)(*(code *)PTR_malloc_00046cb4)(0x30);
    if (puVar1 != (undefined4 *)0x0) {
      puVar1[3] = iVar2;
      puVar1[1] = param_1;
      puVar1[2] = param_1;
      puVar1[5] = 0;
      *puVar1 = 0;
      puVar1[4] = iVar2;
      puVar1[6] = 0;
      puVar1[7] = 1;
      puVar1[10] = 0;
      puVar1[0xb] = 0;
      yy_switch_to_buffer(puVar1);
      return puVar1;
    }
    FUN_00013cc4(PTR_LAB_00046868 + 0x1938);
  }
  return (undefined4 *)0x0;
}

