
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void yyensure_buffer_stack(void)

{
  size_t sVar1;
  size_t __size;
  YY_BUFFER_STATE *ppyVar2;
  uint uVar3;
  
  if (yy_buffer_stack == (YY_BUFFER_STATE *)0x0) {
    yy_buffer_stack = (YY_BUFFER_STATE *)calloc(4,1);
    if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {
      yy_buffer_stack_max = 1;
      yy_buffer_stack_top = 0;
      return;
    }
  }
  else {
    if (yy_buffer_stack_top < yy_buffer_stack_max - 1) {
      return;
    }
    sVar1 = yy_buffer_stack_max + 8;
    __size = sVar1 * 4;
    ppyVar2 = (YY_BUFFER_STATE *)realloc(yy_buffer_stack,__size);
    yy_buffer_stack = ppyVar2;
    if (ppyVar2 != (YY_BUFFER_STATE *)0x0) {
      uVar3 = 0;
      do {
        *(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;
        uVar3 = uVar3 + 4;
      } while (uVar3 < 0x20);
      yy_buffer_stack_max = sVar1;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  yy_fatal_error("out of dynamic memory in yyensure_buffer_stack()");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_00015420(void)

{
  int iVar1;
  size_t __size;
  void *pvVar2;
  uint uVar3;
  
  if (DAT_000212cc == (void *)0x0) {
    DAT_000212cc = calloc(4,1);
    if (DAT_000212cc != (void *)0x0) {
      DAT_000212d0 = 1;
      DAT_000212d4 = 0;
      return;
    }
  }
  else {
    if (DAT_000212d4 < DAT_000212d0 - 1U) {
      return;
    }
    iVar1 = DAT_000212d0 + 8;
    __size = iVar1 * 4;
    pvVar2 = realloc(DAT_000212cc,__size);
    DAT_000212cc = pvVar2;
    if (pvVar2 != (void *)0x0) {
      uVar3 = 0;
      do {
        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;
        uVar3 = uVar3 + 4;
      } while (uVar3 < 0x20);
      DAT_000212d0 = iVar1;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_000153f0();
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013710
ADD EBX,0xbbd8
MOV EAX,dword ptr [EBX + 0x2cc]
TEST EAX,EAX
JZ 0x00015490
MOV EDX,dword ptr [EBX + 0x2d0]
LEA ECX,[EDX + -0x1]
CMP ECX,dword ptr [EBX + 0x2d4]
JBE 0x00015450
POP EBX
POP ESI
POP EDI
RET
LEA ESI,[EDX + 0x8]
SUB ESP,0x8
LEA EDI,[ESI*0x4 + 0x0]
PUSH EDI
PUSH EAX
CALL 0x000122d0
ADD ESP,0x10
MOV dword ptr [EBX + 0x2cc],EAX
TEST EAX,EAX
JZ 0x000154c1
LEA ECX,[EAX + EDI*0x1 + -0x20]
XOR EDX,EDX
XOR EAX,EAX
MOV dword ptr [ECX + EAX*0x1],EDX
ADD EAX,0x4
CMP EAX,0x20
JC 0x00015479
MOV dword ptr [EBX + 0x2d0],ESI
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x8
PUSH 0x1
PUSH 0x4
CALL 0x00012600
ADD ESP,0x10
MOV dword ptr [EBX + 0x2cc],EAX
TEST EAX,EAX
JZ 0x000154c1
MOV dword ptr [EBX + 0x2d0],0x1
MOV dword ptr [EBX + 0x2d4],0x0
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EBX + 0xffffa3f0]
CALL 0x000153f0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00015420(void)\n\n{\n  int iVar1;\n  size_t __size;\n  void *pvVar2;\n  uint uVar3;\n  \n  if (DAT_000212cc == (void *)0x0) {\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }\n  else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000153f0();\n}\n\n" comment (function_definition "void FUN_00015420(void)\n\n{\n  int iVar1;\n  size_t __size;\n  void *pvVar2;\n  uint uVar3;\n  \n  if (DAT_000212cc == (void *)0x0) {\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }\n  else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000153f0();\n}" primitive_type (function_declarator "FUN_00015420(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  size_t __size;\n  void *pvVar2;\n  uint uVar3;\n  \n  if (DAT_000212cc == (void *)0x0) {\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }\n  else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000153f0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t __size;" primitive_type identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (DAT_000212cc == (void *)0x0) {\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }\n  else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }" if (parenthesized_expression "(DAT_000212cc == (void *)0x0)" ( (binary_expression "DAT_000212cc == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }" { (expression_statement "DAT_000212cc = calloc(4,1);" (assignment_expression "DAT_000212cc = calloc(4,1)" identifier = (call_expression "calloc(4,1)" identifier (argument_list "(4,1)" ( number_literal , number_literal )))) ;) (if_statement "if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }" if (parenthesized_expression "(DAT_000212cc != (void *)0x0)" ( (binary_expression "DAT_000212cc != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }" { (expression_statement "DAT_000212d0 = 1;" (assignment_expression "DAT_000212d0 = 1" identifier = number_literal) ;) (expression_statement "DAT_000212d4 = 0;" (assignment_expression "DAT_000212d4 = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }" else (compound_statement "{\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }" { (if_statement "if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }" if (parenthesized_expression "(DAT_000212d4 < DAT_000212d0 - 1U)" ( (binary_expression "DAT_000212d4 < DAT_000212d0 - 1U" identifier < (binary_expression "DAT_000212d0 - 1U" identifier - number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar1 = DAT_000212d0 + 8;" (assignment_expression "iVar1 = DAT_000212d0 + 8" identifier = (binary_expression "DAT_000212d0 + 8" identifier + number_literal)) ;) (expression_statement "__size = iVar1 * 4;" (assignment_expression "__size = iVar1 * 4" identifier = (binary_expression "iVar1 * 4" identifier * number_literal)) ;) (expression_statement "pvVar2 = realloc(DAT_000212cc,__size);" (assignment_expression "pvVar2 = realloc(DAT_000212cc,__size)" identifier = (call_expression "realloc(DAT_000212cc,__size)" identifier (argument_list "(DAT_000212cc,__size)" ( identifier , identifier )))) ;) (expression_statement "DAT_000212cc = pvVar2;" (assignment_expression "DAT_000212cc = pvVar2" identifier = identifier) ;) (if_statement "if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }" if (parenthesized_expression "(pvVar2 != (void *)0x0)" ( (binary_expression "pvVar2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);" do (compound_statement "{\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      }" { (expression_statement "*(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0" (pointer_expression "*(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20))" * (cast_expression "(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar2 + uVar3 + (__size - 0x20))" ( (binary_expression "(int)pvVar2 + uVar3 + (__size - 0x20)" (binary_expression "(int)pvVar2 + uVar3" (cast_expression "(int)pvVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + (parenthesized_expression "(__size - 0x20)" ( (binary_expression "__size - 0x20" identifier - number_literal) ))) )))) = number_literal) ;) (expression_statement "uVar3 = uVar3 + 4;" (assignment_expression "uVar3 = uVar3 + 4" identifier = (binary_expression "uVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar3 < 0x20)" ( (binary_expression "uVar3 < 0x20" identifier < number_literal) )) ;) (expression_statement "DAT_000212d0 = iVar1;" (assignment_expression "DAT_000212d0 = iVar1" identifier = identifier) ;) (return_statement "return;" return ;) })) }))) comment (expression_statement "FUN_000153f0();" (call_expression "FUN_000153f0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid yyensure_buffer_stack(void)\n\n{\n  size_t sVar1;\n  size_t __size;\n  YY_BUFFER_STATE *ppyVar2;\n  uint uVar3;\n  \n  if (yy_buffer_stack == (YY_BUFFER_STATE *)0x0) {\n    yy_buffer_stack = (YY_BUFFER_STATE *)calloc(4,1);\n    if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n      yy_buffer_stack_max = 1;\n      yy_buffer_stack_top = 0;\n      return;\n    }\n  }\n  else {\n    if (yy_buffer_stack_top < yy_buffer_stack_max - 1) {\n      return;\n    }\n    sVar1 = yy_buffer_stack_max + 8;\n    __size = sVar1 * 4;\n    ppyVar2 = (YY_BUFFER_STATE *)realloc(yy_buffer_stack,__size);\n    yy_buffer_stack = ppyVar2;\n    if (ppyVar2 != (YY_BUFFER_STATE *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      yy_buffer_stack_max = sVar1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  yy_fatal_error("out of dynamic memory in yyensure_buffer_stack()");\n}\n\n" comment comment (function_definition "void yyensure_buffer_stack(void)\n\n{\n  size_t sVar1;\n  size_t __size;\n  YY_BUFFER_STATE *ppyVar2;\n  uint uVar3;\n  \n  if (yy_buffer_stack == (YY_BUFFER_STATE *)0x0) {\n    yy_buffer_stack = (YY_BUFFER_STATE *)calloc(4,1);\n    if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n      yy_buffer_stack_max = 1;\n      yy_buffer_stack_top = 0;\n      return;\n    }\n  }\n  else {\n    if (yy_buffer_stack_top < yy_buffer_stack_max - 1) {\n      return;\n    }\n    sVar1 = yy_buffer_stack_max + 8;\n    __size = sVar1 * 4;\n    ppyVar2 = (YY_BUFFER_STATE *)realloc(yy_buffer_stack,__size);\n    yy_buffer_stack = ppyVar2;\n    if (ppyVar2 != (YY_BUFFER_STATE *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      yy_buffer_stack_max = sVar1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  yy_fatal_error("out of dynamic memory in yyensure_buffer_stack()");\n}" primitive_type (function_declarator "yyensure_buffer_stack(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  size_t sVar1;\n  size_t __size;\n  YY_BUFFER_STATE *ppyVar2;\n  uint uVar3;\n  \n  if (yy_buffer_stack == (YY_BUFFER_STATE *)0x0) {\n    yy_buffer_stack = (YY_BUFFER_STATE *)calloc(4,1);\n    if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n      yy_buffer_stack_max = 1;\n      yy_buffer_stack_top = 0;\n      return;\n    }\n  }\n  else {\n    if (yy_buffer_stack_top < yy_buffer_stack_max - 1) {\n      return;\n    }\n    sVar1 = yy_buffer_stack_max + 8;\n    __size = sVar1 * 4;\n    ppyVar2 = (YY_BUFFER_STATE *)realloc(yy_buffer_stack,__size);\n    yy_buffer_stack = ppyVar2;\n    if (ppyVar2 != (YY_BUFFER_STATE *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      yy_buffer_stack_max = sVar1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  yy_fatal_error("out of dynamic memory in yyensure_buffer_stack()");\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "size_t __size;" primitive_type identifier ;) (declaration "YY_BUFFER_STATE *ppyVar2;" type_identifier (pointer_declarator "*ppyVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (yy_buffer_stack == (YY_BUFFER_STATE *)0x0) {\n    yy_buffer_stack = (YY_BUFFER_STATE *)calloc(4,1);\n    if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n      yy_buffer_stack_max = 1;\n      yy_buffer_stack_top = 0;\n      return;\n    }\n  }\n  else {\n    if (yy_buffer_stack_top < yy_buffer_stack_max - 1) {\n      return;\n    }\n    sVar1 = yy_buffer_stack_max + 8;\n    __size = sVar1 * 4;\n    ppyVar2 = (YY_BUFFER_STATE *)realloc(yy_buffer_stack,__size);\n    yy_buffer_stack = ppyVar2;\n    if (ppyVar2 != (YY_BUFFER_STATE *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      yy_buffer_stack_max = sVar1;\n      return;\n    }\n  }" if (parenthesized_expression "(yy_buffer_stack == (YY_BUFFER_STATE *)0x0)" ( (binary_expression "yy_buffer_stack == (YY_BUFFER_STATE *)0x0" identifier == (cast_expression "(YY_BUFFER_STATE *)0x0" ( (type_descriptor "YY_BUFFER_STATE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    yy_buffer_stack = (YY_BUFFER_STATE *)calloc(4,1);\n    if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n      yy_buffer_stack_max = 1;\n      yy_buffer_stack_top = 0;\n      return;\n    }\n  }" { (expression_statement "yy_buffer_stack = (YY_BUFFER_STATE *)calloc(4,1);" (assignment_expression "yy_buffer_stack = (YY_BUFFER_STATE *)calloc(4,1)" identifier = (cast_expression "(YY_BUFFER_STATE *)calloc(4,1)" ( (type_descriptor "YY_BUFFER_STATE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "calloc(4,1)" identifier (argument_list "(4,1)" ( number_literal , number_literal ))))) ;) (if_statement "if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n      yy_buffer_stack_max = 1;\n      yy_buffer_stack_top = 0;\n      return;\n    }" if (parenthesized_expression "(yy_buffer_stack != (YY_BUFFER_STATE *)0x0)" ( (binary_expression "yy_buffer_stack != (YY_BUFFER_STATE *)0x0" identifier != (cast_expression "(YY_BUFFER_STATE *)0x0" ( (type_descriptor "YY_BUFFER_STATE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      yy_buffer_stack_max = 1;\n      yy_buffer_stack_top = 0;\n      return;\n    }" { (expression_statement "yy_buffer_stack_max = 1;" (assignment_expression "yy_buffer_stack_max = 1" identifier = number_literal) ;) (expression_statement "yy_buffer_stack_top = 0;" (assignment_expression "yy_buffer_stack_top = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (yy_buffer_stack_top < yy_buffer_stack_max - 1) {\n      return;\n    }\n    sVar1 = yy_buffer_stack_max + 8;\n    __size = sVar1 * 4;\n    ppyVar2 = (YY_BUFFER_STATE *)realloc(yy_buffer_stack,__size);\n    yy_buffer_stack = ppyVar2;\n    if (ppyVar2 != (YY_BUFFER_STATE *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      yy_buffer_stack_max = sVar1;\n      return;\n    }\n  }" else (compound_statement "{\n    if (yy_buffer_stack_top < yy_buffer_stack_max - 1) {\n      return;\n    }\n    sVar1 = yy_buffer_stack_max + 8;\n    __size = sVar1 * 4;\n    ppyVar2 = (YY_BUFFER_STATE *)realloc(yy_buffer_stack,__size);\n    yy_buffer_stack = ppyVar2;\n    if (ppyVar2 != (YY_BUFFER_STATE *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      yy_buffer_stack_max = sVar1;\n      return;\n    }\n  }" { (if_statement "if (yy_buffer_stack_top < yy_buffer_stack_max - 1) {\n      return;\n    }" if (parenthesized_expression "(yy_buffer_stack_top < yy_buffer_stack_max - 1)" ( (binary_expression "yy_buffer_stack_top < yy_buffer_stack_max - 1" identifier < (binary_expression "yy_buffer_stack_max - 1" identifier - number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "sVar1 = yy_buffer_stack_max + 8;" (assignment_expression "sVar1 = yy_buffer_stack_max + 8" identifier = (binary_expression "yy_buffer_stack_max + 8" identifier + number_literal)) ;) (expression_statement "__size = sVar1 * 4;" (assignment_expression "__size = sVar1 * 4" identifier = (binary_expression "sVar1 * 4" identifier * number_literal)) ;) (expression_statement "ppyVar2 = (YY_BUFFER_STATE *)realloc(yy_buffer_stack,__size);" (assignment_expression "ppyVar2 = (YY_BUFFER_STATE *)realloc(yy_buffer_stack,__size)" identifier = (cast_expression "(YY_BUFFER_STATE *)realloc(yy_buffer_stack,__size)" ( (type_descriptor "YY_BUFFER_STATE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "realloc(yy_buffer_stack,__size)" identifier (argument_list "(yy_buffer_stack,__size)" ( identifier , identifier ))))) ;) (expression_statement "yy_buffer_stack = ppyVar2;" (assignment_expression "yy_buffer_stack = ppyVar2" identifier = identifier) ;) (if_statement "if (ppyVar2 != (YY_BUFFER_STATE *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      yy_buffer_stack_max = sVar1;\n      return;\n    }" if (parenthesized_expression "(ppyVar2 != (YY_BUFFER_STATE *)0x0)" ( (binary_expression "ppyVar2 != (YY_BUFFER_STATE *)0x0" identifier != (cast_expression "(YY_BUFFER_STATE *)0x0" ( (type_descriptor "YY_BUFFER_STATE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      yy_buffer_stack_max = sVar1;\n      return;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);" do (compound_statement "{\n        *(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      }" { (expression_statement "*(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0;" (assignment_expression "*(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20)) = 0" (pointer_expression "*(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20))" * (cast_expression "(undefined4 *)((int)ppyVar2 + uVar3 + (__size - 0x20))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppyVar2 + uVar3 + (__size - 0x20))" ( (binary_expression "(int)ppyVar2 + uVar3 + (__size - 0x20)" (binary_expression "(int)ppyVar2 + uVar3" (cast_expression "(int)ppyVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + (parenthesized_expression "(__size - 0x20)" ( (binary_expression "__size - 0x20" identifier - number_literal) ))) )))) = number_literal) ;) (expression_statement "uVar3 = uVar3 + 4;" (assignment_expression "uVar3 = uVar3 + 4" identifier = (binary_expression "uVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar3 < 0x20)" ( (binary_expression "uVar3 < 0x20" identifier < number_literal) )) ;) (expression_statement "yy_buffer_stack_max = sVar1;" (assignment_expression "yy_buffer_stack_max = sVar1" identifier = identifier) ;) (return_statement "return;" return ;) })) }))) comment (expression_statement "yy_fatal_error("out of dynamic memory in yyensure_buffer_stack()");" (call_expression "yy_fatal_error("out of dynamic memory in yyensure_buffer_stack()")" identifier (argument_list "("out of dynamic memory in yyensure_buffer_stack()")" ( (string_literal ""out of dynamic memory in yyensure_buffer_stack()"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00015420(void)\n\n{\n  int iVar1;\n  size_t __size;\n  void *pvVar2;\n  uint uVar3;\n  \n  if (DAT_000212cc == (void *)0x0) {\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }\n  else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }\n                    \n  FUN_000153f0();\n}\n\n" (function_definition "void FUN_00015420(void)\n\n{\n  int iVar1;\n  size_t __size;\n  void *pvVar2;\n  uint uVar3;\n  \n  if (DAT_000212cc == (void *)0x0) {\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }\n  else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }\n                    \n  FUN_000153f0();\n}" primitive_type (function_declarator "FUN_00015420(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  size_t __size;\n  void *pvVar2;\n  uint uVar3;\n  \n  if (DAT_000212cc == (void *)0x0) {\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }\n  else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }\n                    \n  FUN_000153f0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t __size;" primitive_type identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if (DAT_000212cc == (void *)0x0) {\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }\n  else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }" if (parenthesized_expression "(DAT_000212cc == (void *)0x0)" ( (binary_expression "DAT_000212cc == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }" { (expression_statement "DAT_000212cc = calloc(4,1);" (assignment_expression "DAT_000212cc = calloc(4,1)" identifier = (call_expression "calloc(4,1)" identifier (argument_list "(4,1)" ( number_literal , number_literal )))) ;) (if_statement "if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }" if (parenthesized_expression "(DAT_000212cc != (void *)0x0)" ( (binary_expression "DAT_000212cc != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }" { (expression_statement "DAT_000212d0 = 1;" (assignment_expression "DAT_000212d0 = 1" identifier = number_literal) ;) (expression_statement "DAT_000212d4 = 0;" (assignment_expression "DAT_000212d4 = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }" else (compound_statement "{\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }" { (if_statement "if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }" if (parenthesized_expression "(DAT_000212d4 < DAT_000212d0 - 1U)" ( (binary_expression "DAT_000212d4 < DAT_000212d0 - 1U" identifier < (binary_expression "DAT_000212d0 - 1U" identifier - number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar1 = DAT_000212d0 + 8;" (assignment_expression "iVar1 = DAT_000212d0 + 8" identifier = (binary_expression "DAT_000212d0 + 8" identifier + number_literal)) ;) (expression_statement "__size = iVar1 * 4;" (assignment_expression "__size = iVar1 * 4" identifier = (binary_expression "iVar1 * 4" identifier * number_literal)) ;) (expression_statement "pvVar2 = realloc(DAT_000212cc,__size);" (assignment_expression "pvVar2 = realloc(DAT_000212cc,__size)" identifier = (call_expression "realloc(DAT_000212cc,__size)" identifier (argument_list "(DAT_000212cc,__size)" ( identifier , identifier )))) ;) (expression_statement "DAT_000212cc = pvVar2;" (assignment_expression "DAT_000212cc = pvVar2" identifier = identifier) ;) (if_statement "if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }" if (parenthesized_expression "(pvVar2 != (void *)0x0)" ( (binary_expression "pvVar2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);" do (compound_statement "{\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      }" { (expression_statement "*(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0" (pointer_expression "*(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20))" * (cast_expression "(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar2 + uVar3 + (__size - 0x20))" ( (binary_expression "(int)pvVar2 + uVar3 + (__size - 0x20)" (binary_expression "(int)pvVar2 + uVar3" (cast_expression "(int)pvVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + (parenthesized_expression "(__size - 0x20)" ( (binary_expression "__size - 0x20" identifier - number_literal) ))) )))) = number_literal) ;) (expression_statement "uVar3 = uVar3 + 4;" (assignment_expression "uVar3 = uVar3 + 4" identifier = (binary_expression "uVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar3 < 0x20)" ( (binary_expression "uVar3 < 0x20" identifier < number_literal) )) ;) (expression_statement "DAT_000212d0 = iVar1;" (assignment_expression "DAT_000212d0 = iVar1" identifier = identifier) ;) (return_statement "return;" return ;) })) }))) (expression_statement "FUN_000153f0();" (call_expression "FUN_000153f0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT - LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < LIT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00015420(void)\n\n{\n  int iVar1;\n  size_t __size;\n  void *pvVar2;\n  uint uVar3;\n  \n  if (DAT_000212cc == (void *)0x0) {\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }\n  else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }\n                    \n  FUN_000153f0();\n}" (primitive_type "void") (function_declarator "FUN_00015420(void)" (identifier "FUN_00015420") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  size_t __size;\n  void *pvVar2;\n  uint uVar3;\n  \n  if (DAT_000212cc == (void *)0x0) {\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }\n  else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }\n                    \n  FUN_000153f0();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "size_t __size;" (primitive_type "size_t") (identifier "__size") (; ";")) (declaration "void *pvVar2;" (primitive_type "void") (pointer_declarator "*pvVar2" (* "*") (identifier "pvVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (if_statement "if (DAT_000212cc == (void *)0x0) {\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }\n  else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(DAT_000212cc == (void *)0x0)" (( "(") (binary_expression "DAT_000212cc == (void *)0x0" (identifier "DAT_000212cc") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    DAT_000212cc = calloc(4,1);\n    if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }\n  }" ({ "{") (expression_statement "DAT_000212cc = calloc(4,1);" (assignment_expression "DAT_000212cc = calloc(4,1)" (identifier "DAT_000212cc") (= "=") (call_expression "calloc(4,1)" (identifier "calloc") (argument_list "(4,1)" (( "(") (number_literal "4") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (DAT_000212cc != (void *)0x0) {\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }" (if "if") (parenthesized_expression "(DAT_000212cc != (void *)0x0)" (( "(") (binary_expression "DAT_000212cc != (void *)0x0" (identifier "DAT_000212cc") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      DAT_000212d0 = 1;\n      DAT_000212d4 = 0;\n      return;\n    }" ({ "{") (expression_statement "DAT_000212d0 = 1;" (assignment_expression "DAT_000212d0 = 1" (identifier "DAT_000212d0") (= "=") (number_literal "1")) (; ";")) (expression_statement "DAT_000212d4 = 0;" (assignment_expression "DAT_000212d4 = 0" (identifier "DAT_000212d4") (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }" (else "else") (compound_statement "{\n    if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }\n    iVar1 = DAT_000212d0 + 8;\n    __size = iVar1 * 4;\n    pvVar2 = realloc(DAT_000212cc,__size);\n    DAT_000212cc = pvVar2;\n    if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }\n  }" ({ "{") (if_statement "if (DAT_000212d4 < DAT_000212d0 - 1U) {\n      return;\n    }" (if "if") (parenthesized_expression "(DAT_000212d4 < DAT_000212d0 - 1U)" (( "(") (binary_expression "DAT_000212d4 < DAT_000212d0 - 1U" (identifier "DAT_000212d4") (< "<") (binary_expression "DAT_000212d0 - 1U" (identifier "DAT_000212d0") (- "-") (number_literal "1U"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar1 = DAT_000212d0 + 8;" (assignment_expression "iVar1 = DAT_000212d0 + 8" (identifier "iVar1") (= "=") (binary_expression "DAT_000212d0 + 8" (identifier "DAT_000212d0") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "__size = iVar1 * 4;" (assignment_expression "__size = iVar1 * 4" (identifier "__size") (= "=") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) (; ";")) (expression_statement "pvVar2 = realloc(DAT_000212cc,__size);" (assignment_expression "pvVar2 = realloc(DAT_000212cc,__size)" (identifier "pvVar2") (= "=") (call_expression "realloc(DAT_000212cc,__size)" (identifier "realloc") (argument_list "(DAT_000212cc,__size)" (( "(") (identifier "DAT_000212cc") (, ",") (identifier "__size") () ")")))) (; ";")) (expression_statement "DAT_000212cc = pvVar2;" (assignment_expression "DAT_000212cc = pvVar2" (identifier "DAT_000212cc") (= "=") (identifier "pvVar2")) (; ";")) (if_statement "if (pvVar2 != (void *)0x0) {\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }" (if "if") (parenthesized_expression "(pvVar2 != (void *)0x0)" (( "(") (binary_expression "pvVar2 != (void *)0x0" (identifier "pvVar2") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);\n      DAT_000212d0 = iVar1;\n      return;\n    }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x20);" (do "do") (compound_statement "{\n        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;\n        uVar3 = uVar3 + 4;\n      }" ({ "{") (expression_statement "*(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0" (pointer_expression "*(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20))" (* "*") (cast_expression "(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar2 + uVar3 + (__size - 0x20))" (( "(") (binary_expression "(int)pvVar2 + uVar3 + (__size - 0x20)" (binary_expression "(int)pvVar2 + uVar3" (cast_expression "(int)pvVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar2")) (+ "+") (identifier "uVar3")) (+ "+") (parenthesized_expression "(__size - 0x20)" (( "(") (binary_expression "__size - 0x20" (identifier "__size") (- "-") (number_literal "0x20")) () ")"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = uVar3 + 4;" (assignment_expression "uVar3 = uVar3 + 4" (identifier "uVar3") (= "=") (binary_expression "uVar3 + 4" (identifier "uVar3") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar3 < 0x20)" (( "(") (binary_expression "uVar3 < 0x20" (identifier "uVar3") (< "<") (number_literal "0x20")) () ")")) (; ";")) (expression_statement "DAT_000212d0 = iVar1;" (assignment_expression "DAT_000212d0 = iVar1" (identifier "DAT_000212d0") (= "=") (identifier "iVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (expression_statement "FUN_000153f0();" (call_expression "FUN_000153f0()" (identifier "FUN_000153f0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  size_t var_5;
  size_t var_9;
  type_1 *var_7;
  type_2 var_8;
  
  if (var_1 == (type_1 *)0x0) {
    var_1 = (type_1 *)var_2(4,1);
    if (var_1 != (type_1 *)0x0) {
      var_4 = 1;
      var_3 = 0;
      return;
    }
  }
  else {
    if (var_3 < var_4 - 1) {
      return;
    }
    var_5 = var_4 + 8;
    var_9 = var_5 * 4;
    var_7 = (type_1 *)var_6(var_1,var_9);
    var_1 = var_7;
    if (var_7 != (type_1 *)0x0) {
      var_8 = 0;
      do {
        *(type_3 *)((int)var_7 + var_8 + (var_9 - 0x20)) = 0;
        var_8 = var_8 + 4;
      } while (var_8 < 0x20);
      var_4 = var_5;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  var_10("out of dynamic memory in yyensure_buffer_stack()");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(void)

{
  int iVar1;
  size_t __size;
  void *pvVar2;
  uint uVar3;
  
  if (DAT_000212cc == (void *)0x0) {
    DAT_000212cc = calloc(4,1);
    if (DAT_000212cc != (void *)0x0) {
      DAT_000212d0 = 1;
      DAT_000212d4 = 0;
      return;
    }
  }
  else {
    if (DAT_000212d4 < DAT_000212d0 - 1U) {
      return;
    }
    iVar1 = DAT_000212d0 + 8;
    __size = iVar1 * 4;
    pvVar2 = realloc(DAT_000212cc,__size);
    DAT_000212cc = pvVar2;
    if (pvVar2 != (void *)0x0) {
      uVar3 = 0;
      do {
        *(undefined4 *)((int)pvVar2 + uVar3 + (__size - 0x20)) = 0;
        uVar3 = uVar3 + 4;
      } while (uVar3 < 0x20);
      DAT_000212d0 = iVar1;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_000153f0();
}

