
YY_BUFFER_STATE yy_scan_buffer(char *base,yy_size_t size)

{
  YY_BUFFER_STATE new_buffer;
  int iVar1;
  
  if (((1 < size) && (base[size - 2] == '\0')) && (base[size - 1] == '\0')) {
    new_buffer = (YY_BUFFER_STATE)malloc(0x40);
    if (new_buffer != (YY_BUFFER_STATE)0x0) {
      iVar1 = (int)size + -2;
      new_buffer->yy_ch_buf = base;
      new_buffer->yy_buf_pos = base;
      new_buffer->yy_buf_size = iVar1;
      new_buffer->yy_input_file = (FILE *)0x0;
      new_buffer->yy_n_chars = iVar1;
      new_buffer->yy_is_our_buffer = 0;
      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);
      return new_buffer;
    }
                    /* WARNING: Subroutine does not return */
    yy_fatal_error("out of dynamic memory in yy_scan_buffer()");
  }
  return (YY_BUFFER_STATE)0x0;
}



undefined8 * FUN_001132b0(long param_1,ulong param_2)

{
  undefined8 *puVar1;
  int iVar2;
  
  if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&
     (*(char *)(param_1 + -1 + param_2) == '\0')) {
    puVar1 = (undefined8 *)malloc(0x40);
    if (puVar1 != (undefined8 *)0x0) {
      iVar2 = (int)param_2 + -2;
      puVar1[1] = param_1;
      puVar1[2] = param_1;
      *(int *)(puVar1 + 3) = iVar2;
      *puVar1 = 0;
      *(int *)((long)puVar1 + 0x1c) = iVar2;
      puVar1[4] = 0;
      *(undefined4 *)(puVar1 + 5) = 1;
      *(undefined8 *)((long)puVar1 + 0x34) = 0;
      FUN_001113a0(puVar1);
      return puVar1;
    }
                    /* WARNING: Subroutine does not return */
    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");
  }
  return (undefined8 *)0x0;
}


PUSH R12
PUSH RBP
PUSH RBX
CMP RSI,0x1
JBE 0x00113320
CMP byte ptr [RDI + RSI*0x1 + -0x2],0x0
JNZ 0x00113320
CMP byte ptr [RDI + RSI*0x1 + -0x1],0x0
JNZ 0x00113320
MOV R12,RDI
MOV EDI,0x40
MOV RBP,RSI
CALL 0x0010d830
MOV RBX,RAX
TEST RAX,RAX
JZ 0x0011332a
LEA ESI,[RBP + -0x2]
MOV qword ptr [RAX + 0x8],R12
MOV RDI,RAX
MOV qword ptr [RAX + 0x10],R12
MOV dword ptr [RAX + 0x18],ESI
MOV qword ptr [RAX],0x0
MOV dword ptr [RAX + 0x1c],ESI
MOV qword ptr [RAX + 0x20],0x0
MOV dword ptr [RAX + 0x28],0x1
MOV qword ptr [RAX + 0x34],0x0
CALL 0x001113a0
MOV RAX,RBX
POP RBX
POP RBP
POP R12
RET
XOR EBX,EBX
MOV RAX,RBX
POP RBX
POP RBP
POP R12
RET
LEA RDI,[0x1621b8]
CALL 0x001112b0
(translation_unit "undefined8 * FUN_001132b0(long param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  int iVar2;\n  \n  if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')) {\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }\n  return (undefined8 *)0x0;\n}\n\n" (function_definition "undefined8 * FUN_001132b0(long param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  int iVar2;\n  \n  if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')) {\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }\n  return (undefined8 *)0x0;\n}" type_identifier (pointer_declarator "* FUN_001132b0(long param_1,ulong param_2)" * (function_declarator "FUN_001132b0(long param_1,ulong param_2)" identifier (parameter_list "(long param_1,ulong param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) )))) (compound_statement "{\n  undefined8 *puVar1;\n  int iVar2;\n  \n  if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')) {\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }\n  return (undefined8 *)0x0;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')) {\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }" if (parenthesized_expression "(((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0'))" ( (binary_expression "((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')" (parenthesized_expression "((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0'))" ( (binary_expression "(1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')" (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) && (parenthesized_expression "(*(char *)(param_1 + -2 + param_2) == '\0')" ( (binary_expression "*(char *)(param_1 + -2 + param_2) == '\0'" (pointer_expression "*(char *)(param_1 + -2 + param_2)" * (cast_expression "(char *)(param_1 + -2 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -2 + param_2)" ( (binary_expression "param_1 + -2 + param_2" (binary_expression "param_1 + -2" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(*(char *)(param_1 + -1 + param_2) == '\0')" ( (binary_expression "*(char *)(param_1 + -1 + param_2) == '\0'" (pointer_expression "*(char *)(param_1 + -1 + param_2)" * (cast_expression "(char *)(param_1 + -1 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -1 + param_2)" ( (binary_expression "param_1 + -1 + param_2" (binary_expression "param_1 + -1" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }" { (expression_statement "puVar1 = (undefined8 *)malloc(0x40);" (assignment_expression "puVar1 = (undefined8 *)malloc(0x40)" identifier = (cast_expression "(undefined8 *)malloc(0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (if_statement "if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }" if (parenthesized_expression "(puVar1 != (undefined8 *)0x0)" ( (binary_expression "puVar1 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }" { (expression_statement "iVar2 = (int)param_2 + -2;" (assignment_expression "iVar2 = (int)param_2 + -2" identifier = (binary_expression "(int)param_2 + -2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (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 "*(int *)(puVar1 + 3) = iVar2;" (assignment_expression "*(int *)(puVar1 + 3) = iVar2" (pointer_expression "*(int *)(puVar1 + 3)" * (cast_expression "(int *)(puVar1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 3)" ( (binary_expression "puVar1 + 3" identifier + number_literal) )))) = identifier) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "*(int *)((long)puVar1 + 0x1c) = iVar2;" (assignment_expression "*(int *)((long)puVar1 + 0x1c) = iVar2" (pointer_expression "*(int *)((long)puVar1 + 0x1c)" * (cast_expression "(int *)((long)puVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar1 + 0x1c)" ( (binary_expression "(long)puVar1 + 0x1c" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar1 + 5) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + 5) = 1" (pointer_expression "*(undefined4 *)(puVar1 + 5)" * (cast_expression "(undefined4 *)(puVar1 + 5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 5)" ( (binary_expression "puVar1 + 5" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)((long)puVar1 + 0x34) = 0;" (assignment_expression "*(undefined8 *)((long)puVar1 + 0x34) = 0" (pointer_expression "*(undefined8 *)((long)puVar1 + 0x34)" * (cast_expression "(undefined8 *)((long)puVar1 + 0x34)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar1 + 0x34)" ( (binary_expression "(long)puVar1 + 0x34" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_001113a0(puVar1);" (call_expression "FUN_001113a0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (return_statement "return puVar1;" return identifier ;) })) comment (expression_statement "FUN_001112b0("out of dynamic memory in yy_scan_buffer()");" (call_expression "FUN_001112b0("out of dynamic memory in yy_scan_buffer()")" identifier (argument_list "("out of dynamic memory in yy_scan_buffer()")" ( (string_literal ""out of dynamic memory in yy_scan_buffer()"" " string_content ") ))) ;) })) (return_statement "return (undefined8 *)0x0;" return (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" 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  int iVar1;\n  \n  if (((1 < size) && (base[size - 2] == '\0')) && (base[size - 1] == '\0')) {\n    new_buffer = (YY_BUFFER_STATE)malloc(0x40);\n    if (new_buffer != (YY_BUFFER_STATE)0x0) {\n      iVar1 = (int)size + -2;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_buf_size = iVar1;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = iVar1;\n      new_buffer->yy_is_our_buffer = 0;\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      return new_buffer;\n    }\n                    /* WARNING: Subroutine does not return */\n    yy_fatal_error("out of dynamic memory in yy_scan_buffer()");\n  }\n  return (YY_BUFFER_STATE)0x0;\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  int iVar1;\n  \n  if (((1 < size) && (base[size - 2] == '\0')) && (base[size - 1] == '\0')) {\n    new_buffer = (YY_BUFFER_STATE)malloc(0x40);\n    if (new_buffer != (YY_BUFFER_STATE)0x0) {\n      iVar1 = (int)size + -2;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_buf_size = iVar1;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = iVar1;\n      new_buffer->yy_is_our_buffer = 0;\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      return new_buffer;\n    }\n                    /* WARNING: Subroutine does not return */\n    yy_fatal_error("out of dynamic memory in yy_scan_buffer()");\n  }\n  return (YY_BUFFER_STATE)0x0;\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  int iVar1;\n  \n  if (((1 < size) && (base[size - 2] == '\0')) && (base[size - 1] == '\0')) {\n    new_buffer = (YY_BUFFER_STATE)malloc(0x40);\n    if (new_buffer != (YY_BUFFER_STATE)0x0) {\n      iVar1 = (int)size + -2;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_buf_size = iVar1;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = iVar1;\n      new_buffer->yy_is_our_buffer = 0;\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      return new_buffer;\n    }\n                    /* WARNING: Subroutine does not return */\n    yy_fatal_error("out of dynamic memory in yy_scan_buffer()");\n  }\n  return (YY_BUFFER_STATE)0x0;\n}" { (declaration "YY_BUFFER_STATE new_buffer;" type_identifier identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (((1 < size) && (base[size - 2] == '\0')) && (base[size - 1] == '\0')) {\n    new_buffer = (YY_BUFFER_STATE)malloc(0x40);\n    if (new_buffer != (YY_BUFFER_STATE)0x0) {\n      iVar1 = (int)size + -2;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_buf_size = iVar1;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = iVar1;\n      new_buffer->yy_is_our_buffer = 0;\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      return new_buffer;\n    }\n                    /* WARNING: Subroutine does not return */\n    yy_fatal_error("out of dynamic memory in yy_scan_buffer()");\n  }" if (parenthesized_expression "(((1 < size) && (base[size - 2] == '\0')) && (base[size - 1] == '\0'))" ( (binary_expression "((1 < size) && (base[size - 2] == '\0')) && (base[size - 1] == '\0')" (parenthesized_expression "((1 < size) && (base[size - 2] == '\0'))" ( (binary_expression "(1 < size) && (base[size - 2] == '\0')" (parenthesized_expression "(1 < size)" ( (binary_expression "1 < size" number_literal < identifier) )) && (parenthesized_expression "(base[size - 2] == '\0')" ( (binary_expression "base[size - 2] == '\0'" (subscript_expression "base[size - 2]" identifier [ (binary_expression "size - 2" identifier - number_literal) ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) && (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)malloc(0x40);\n    if (new_buffer != (YY_BUFFER_STATE)0x0) {\n      iVar1 = (int)size + -2;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_buf_size = iVar1;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = iVar1;\n      new_buffer->yy_is_our_buffer = 0;\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      return new_buffer;\n    }\n                    /* WARNING: Subroutine does not return */\n    yy_fatal_error("out of dynamic memory in yy_scan_buffer()");\n  }" { (expression_statement "new_buffer = (YY_BUFFER_STATE)malloc(0x40);" (assignment_expression "new_buffer = (YY_BUFFER_STATE)malloc(0x40)" identifier = (cast_expression "(YY_BUFFER_STATE)malloc(0x40)" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) (call_expression "malloc(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (if_statement "if (new_buffer != (YY_BUFFER_STATE)0x0) {\n      iVar1 = (int)size + -2;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_buf_size = iVar1;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = iVar1;\n      new_buffer->yy_is_our_buffer = 0;\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      return new_buffer;\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      iVar1 = (int)size + -2;\n      new_buffer->yy_ch_buf = base;\n      new_buffer->yy_buf_pos = base;\n      new_buffer->yy_buf_size = iVar1;\n      new_buffer->yy_input_file = (FILE *)0x0;\n      new_buffer->yy_n_chars = iVar1;\n      new_buffer->yy_is_our_buffer = 0;\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      return new_buffer;\n    }" { (expression_statement "iVar1 = (int)size + -2;" (assignment_expression "iVar1 = (int)size + -2" identifier = (binary_expression "(int)size + -2" (cast_expression "(int)size" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (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_buf_size = iVar1;" (assignment_expression "new_buffer->yy_buf_size = iVar1" (field_expression "new_buffer->yy_buf_size" identifier -> field_identifier) = identifier) ;) (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 = iVar1;" (assignment_expression "new_buffer->yy_n_chars = iVar1" (field_expression "new_buffer->yy_n_chars" 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_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 ))) ;) (return_statement "return new_buffer;" return identifier ;) })) comment (expression_statement "yy_fatal_error("out of dynamic memory in yy_scan_buffer()");" (call_expression "yy_fatal_error("out of dynamic memory in yy_scan_buffer()")" identifier (argument_list "("out of dynamic memory in yy_scan_buffer()")" ( (string_literal ""out of dynamic memory in yy_scan_buffer()"" " string_content ") ))) ;) })) (return_statement "return (YY_BUFFER_STATE)0x0;" return (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal) ;) })))
(translation_unit "undefined8 * FUN_001132b0(long param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  int iVar2;\n  \n  if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')) {\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    \n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }\n  return (undefined8 *)0x0;\n}\n\n" (function_definition "undefined8 * FUN_001132b0(long param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  int iVar2;\n  \n  if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')) {\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    \n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }\n  return (undefined8 *)0x0;\n}" type_identifier (pointer_declarator "* FUN_001132b0(long param_1,ulong param_2)" * (function_declarator "FUN_001132b0(long param_1,ulong param_2)" identifier (parameter_list "(long param_1,ulong param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) )))) (compound_statement "{\n  undefined8 *puVar1;\n  int iVar2;\n  \n  if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')) {\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    \n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }\n  return (undefined8 *)0x0;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')) {\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    \n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }" if (parenthesized_expression "(((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0'))" ( (binary_expression "((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')" (parenthesized_expression "((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0'))" ( (binary_expression "(1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')" (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) && (parenthesized_expression "(*(char *)(param_1 + -2 + param_2) == '\0')" ( (binary_expression "*(char *)(param_1 + -2 + param_2) == '\0'" (pointer_expression "*(char *)(param_1 + -2 + param_2)" * (cast_expression "(char *)(param_1 + -2 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -2 + param_2)" ( (binary_expression "param_1 + -2 + param_2" (binary_expression "param_1 + -2" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(*(char *)(param_1 + -1 + param_2) == '\0')" ( (binary_expression "*(char *)(param_1 + -1 + param_2) == '\0'" (pointer_expression "*(char *)(param_1 + -1 + param_2)" * (cast_expression "(char *)(param_1 + -1 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -1 + param_2)" ( (binary_expression "param_1 + -1 + param_2" (binary_expression "param_1 + -1" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    \n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }" { (expression_statement "puVar1 = (undefined8 *)malloc(0x40);" (assignment_expression "puVar1 = (undefined8 *)malloc(0x40)" identifier = (cast_expression "(undefined8 *)malloc(0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (if_statement "if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }" if (parenthesized_expression "(puVar1 != (undefined8 *)0x0)" ( (binary_expression "puVar1 != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }" { (expression_statement "iVar2 = (int)param_2 + -2;" (assignment_expression "iVar2 = (int)param_2 + -2" identifier = (binary_expression "(int)param_2 + -2" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (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 "*(int *)(puVar1 + 3) = iVar2;" (assignment_expression "*(int *)(puVar1 + 3) = iVar2" (pointer_expression "*(int *)(puVar1 + 3)" * (cast_expression "(int *)(puVar1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 3)" ( (binary_expression "puVar1 + 3" identifier + number_literal) )))) = identifier) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "*(int *)((long)puVar1 + 0x1c) = iVar2;" (assignment_expression "*(int *)((long)puVar1 + 0x1c) = iVar2" (pointer_expression "*(int *)((long)puVar1 + 0x1c)" * (cast_expression "(int *)((long)puVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar1 + 0x1c)" ( (binary_expression "(long)puVar1 + 0x1c" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar1 + 5) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + 5) = 1" (pointer_expression "*(undefined4 *)(puVar1 + 5)" * (cast_expression "(undefined4 *)(puVar1 + 5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 5)" ( (binary_expression "puVar1 + 5" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)((long)puVar1 + 0x34) = 0;" (assignment_expression "*(undefined8 *)((long)puVar1 + 0x34) = 0" (pointer_expression "*(undefined8 *)((long)puVar1 + 0x34)" * (cast_expression "(undefined8 *)((long)puVar1 + 0x34)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar1 + 0x34)" ( (binary_expression "(long)puVar1 + 0x34" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_001113a0(puVar1);" (call_expression "FUN_001113a0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (return_statement "return puVar1;" return identifier ;) })) (expression_statement "FUN_001112b0("out of dynamic memory in yy_scan_buffer()");" (call_expression "FUN_001112b0("out of dynamic memory in yy_scan_buffer()")" identifier (argument_list "("out of dynamic memory in yy_scan_buffer()")" ( (string_literal ""out of dynamic memory in yy_scan_buffer()"" " string_content ") ))) ;) })) (return_statement "return (undefined8 *)0x0;" return (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) == (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression 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 IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_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 (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "undefined8 * FUN_001132b0(long param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  int iVar2;\n  \n  if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')) {\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    \n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }\n  return (undefined8 *)0x0;\n}" (type_identifier "undefined8") (pointer_declarator "* FUN_001132b0(long param_1,ulong param_2)" (* "*") (function_declarator "FUN_001132b0(long param_1,ulong param_2)" (identifier "FUN_001132b0") (parameter_list "(long param_1,ulong param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) () ")")))) (compound_statement "{\n  undefined8 *puVar1;\n  int iVar2;\n  \n  if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')) {\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    \n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }\n  return (undefined8 *)0x0;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')) {\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    \n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }" (if "if") (parenthesized_expression "(((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0'))" (( "(") (binary_expression "((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&\n     (*(char *)(param_1 + -1 + param_2) == '\0')" (parenthesized_expression "((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0'))" (( "(") (binary_expression "(1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')" (parenthesized_expression "(1 < param_2)" (( "(") (binary_expression "1 < param_2" (number_literal "1") (< "<") (identifier "param_2")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(param_1 + -2 + param_2) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + -2 + param_2) == '\0'" (pointer_expression "*(char *)(param_1 + -2 + param_2)" (* "*") (cast_expression "(char *)(param_1 + -2 + param_2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -2 + param_2)" (( "(") (binary_expression "param_1 + -2 + param_2" (binary_expression "param_1 + -2" (identifier "param_1") (+ "+") (number_literal "-2")) (+ "+") (identifier "param_2")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(param_1 + -1 + param_2) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + -1 + param_2) == '\0'" (pointer_expression "*(char *)(param_1 + -1 + param_2)" (* "*") (cast_expression "(char *)(param_1 + -1 + param_2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -1 + param_2)" (( "(") (binary_expression "param_1 + -1 + param_2" (binary_expression "param_1 + -1" (identifier "param_1") (+ "+") (number_literal "-1")) (+ "+") (identifier "param_2")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    puVar1 = (undefined8 *)malloc(0x40);\n    if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }\n                    \n    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");\n  }" ({ "{") (expression_statement "puVar1 = (undefined8 *)malloc(0x40);" (assignment_expression "puVar1 = (undefined8 *)malloc(0x40)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)malloc(0x40)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "malloc(0x40)" (identifier "malloc") (argument_list "(0x40)" (( "(") (number_literal "0x40") () ")"))))) (; ";")) (if_statement "if (puVar1 != (undefined8 *)0x0) {\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }" (if "if") (parenthesized_expression "(puVar1 != (undefined8 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined8 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar2 = (int)param_2 + -2;\n      puVar1[1] = param_1;\n      puVar1[2] = param_1;\n      *(int *)(puVar1 + 3) = iVar2;\n      *puVar1 = 0;\n      *(int *)((long)puVar1 + 0x1c) = iVar2;\n      puVar1[4] = 0;\n      *(undefined4 *)(puVar1 + 5) = 1;\n      *(undefined8 *)((long)puVar1 + 0x34) = 0;\n      FUN_001113a0(puVar1);\n      return puVar1;\n    }" ({ "{") (expression_statement "iVar2 = (int)param_2 + -2;" (assignment_expression "iVar2 = (int)param_2 + -2" (identifier "iVar2") (= "=") (binary_expression "(int)param_2 + -2" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "-2"))) (; ";")) (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 "*(int *)(puVar1 + 3) = iVar2;" (assignment_expression "*(int *)(puVar1 + 3) = iVar2" (pointer_expression "*(int *)(puVar1 + 3)" (* "*") (cast_expression "(int *)(puVar1 + 3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 3)" (( "(") (binary_expression "puVar1 + 3" (identifier "puVar1") (+ "+") (number_literal "3")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)((long)puVar1 + 0x1c) = iVar2;" (assignment_expression "*(int *)((long)puVar1 + 0x1c) = iVar2" (pointer_expression "*(int *)((long)puVar1 + 0x1c)" (* "*") (cast_expression "(int *)((long)puVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar1 + 0x1c)" (( "(") (binary_expression "(long)puVar1 + 0x1c" (cast_expression "(long)puVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar1")) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + 5) = 1;" (assignment_expression "*(undefined4 *)(puVar1 + 5) = 1" (pointer_expression "*(undefined4 *)(puVar1 + 5)" (* "*") (cast_expression "(undefined4 *)(puVar1 + 5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 5)" (( "(") (binary_expression "puVar1 + 5" (identifier "puVar1") (+ "+") (number_literal "5")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined8 *)((long)puVar1 + 0x34) = 0;" (assignment_expression "*(undefined8 *)((long)puVar1 + 0x34) = 0" (pointer_expression "*(undefined8 *)((long)puVar1 + 0x34)" (* "*") (cast_expression "(undefined8 *)((long)puVar1 + 0x34)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar1 + 0x34)" (( "(") (binary_expression "(long)puVar1 + 0x34" (cast_expression "(long)puVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar1")) (+ "+") (number_literal "0x34")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_001113a0(puVar1);" (call_expression "FUN_001113a0(puVar1)" (identifier "FUN_001113a0") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (expression_statement "FUN_001112b0("out of dynamic memory in yy_scan_buffer()");" (call_expression "FUN_001112b0("out of dynamic memory in yy_scan_buffer()")" (identifier "FUN_001112b0") (argument_list "("out of dynamic memory in yy_scan_buffer()")" (( "(") (string_literal ""out of dynamic memory in yy_scan_buffer()"" (" """) (string_content "out of dynamic memory in yy_scan_buffer()") (" """)) () ")"))) (; ";")) (} "}"))) (return_statement "return (undefined8 *)0x0;" (return "return") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))

type_1 function_1(char *base,type_2 var_1)

{
  type_1 var_3;
  int iVar1;
  
  if (((1 < var_1) && (base[var_1 - 2] == '\0')) && (base[var_1 - 1] == '\0')) {
    var_3 = (type_1)var_2(0x40);
    if (var_3 != (type_1)0x0) {
      iVar1 = (int)var_1 + -2;
      var_3->yy_ch_buf = base;
      var_3->yy_buf_pos = base;
      var_3->yy_buf_size = iVar1;
      var_3->yy_input_file = (type_3 *)0x0;
      var_3->yy_n_chars = iVar1;
      var_3->yy_is_our_buffer = 0;
      var_3->yy_is_interactive = 0;
      var_3->yy_at_bol = 1;
      var_3->yy_fill_buffer = 0;
      var_3->yy_buffer_status = 0;
      var_4(var_3);
      return var_3;
    }
                    /* WARNING: Subroutine does not return */
    var_5("out of dynamic memory in yy_scan_buffer()");
  }
  return (type_1)0x0;
}


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

undefined8 * MASKED(long param_1,ulong param_2)

{
  undefined8 *puVar1;
  int iVar2;
  
  if (((1 < param_2) && (*(char *)(param_1 + -2 + param_2) == '\0')) &&
     (*(char *)(param_1 + -1 + param_2) == '\0')) {
    puVar1 = (undefined8 *)malloc(0x40);
    if (puVar1 != (undefined8 *)0x0) {
      iVar2 = (int)param_2 + -2;
      puVar1[1] = param_1;
      puVar1[2] = param_1;
      *(int *)(puVar1 + 3) = iVar2;
      *puVar1 = 0;
      *(int *)((long)puVar1 + 0x1c) = iVar2;
      puVar1[4] = 0;
      *(undefined4 *)(puVar1 + 5) = 1;
      *(undefined8 *)((long)puVar1 + 0x34) = 0;
      FUN_001113a0(puVar1);
      return puVar1;
    }
                    /* WARNING: Subroutine does not return */
    FUN_001112b0("out of dynamic memory in yy_scan_buffer()");
  }
  return (undefined8 *)0x0;
}

