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

void yypop_buffer_state(void)

{
  YY_BUFFER_STATE *ppyVar1;
  YY_BUFFER_STATE b;
  YY_BUFFER_STATE *ppyVar2;
  size_t sVar3;
  
  sVar3 = yy_buffer_stack_top;
  ppyVar2 = yy_buffer_stack;
  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {
    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;
    b = *ppyVar1;
    if (b != (YY_BUFFER_STATE)0x0) {
      yy_delete_buffer(b);
      *ppyVar1 = (YY_BUFFER_STATE)0x0;
      if (sVar3 != 0) {
        yy_buffer_stack_top = sVar3 - 1;
      }
      if (ppyVar2[yy_buffer_stack_top] != (YY_BUFFER_STATE)0x0) {
        yy_load_buffer_state();
        yy_did_buffer_switch_on_eof = 1;
      }
    }
  }
  return;
}



void FUN_00103ec0(void)

{
  long *plVar1;
  long lVar2;
  long lVar3;
  
  lVar3 = DAT_00122eb8;
  lVar2 = DAT_00122ea8;
  if (DAT_00122ea8 != 0) {
    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);
    if (*plVar1 != 0) {
      FUN_001038a1();
      *plVar1 = 0;
      if (lVar3 != 0) {
        DAT_00122eb8 = lVar3 + -1;
      }
      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {
        FUN_001036ca();
        DAT_00122e84 = 1;
      }
    }
  }
  return;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBX,qword ptr [0x00122ea8]
TEST RBX,RBX
JZ 0x00103f1e
MOV RBP,qword ptr [0x00122eb8]
LEA R12,[RBX + RBP*0x8]
MOV RDI,qword ptr [R12]
TEST RDI,RDI
JZ 0x00103f1e
CALL 0x001038a1
MOV qword ptr [R12],0x0
TEST RBP,RBP
JZ 0x00103f01
SUB RBP,0x1
MOV qword ptr [0x00122eb8],RBP
MOV RAX,qword ptr [0x00122eb8]
CMP qword ptr [RBX + RAX*0x8],0x0
JZ 0x00103f1e
CALL 0x001036ca
MOV dword ptr [0x00122e84],0x1
POP RBX
POP RBP
POP R12
RET
(translation_unit "void FUN_00103ec0(void)\n\n{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  \n  lVar3 = DAT_00122eb8;\n  lVar2 = DAT_00122ea8;\n  if (DAT_00122ea8 != 0) {\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00103ec0(void)\n\n{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  \n  lVar3 = DAT_00122eb8;\n  lVar2 = DAT_00122ea8;\n  if (DAT_00122ea8 != 0) {\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00103ec0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  \n  lVar3 = DAT_00122eb8;\n  lVar2 = DAT_00122ea8;\n  if (DAT_00122ea8 != 0) {\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar3 = DAT_00122eb8;" (assignment_expression "lVar3 = DAT_00122eb8" identifier = identifier) ;) (expression_statement "lVar2 = DAT_00122ea8;" (assignment_expression "lVar2 = DAT_00122ea8" identifier = identifier) ;) (if_statement "if (DAT_00122ea8 != 0) {\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }" if (parenthesized_expression "(DAT_00122ea8 != 0)" ( (binary_expression "DAT_00122ea8 != 0" identifier != number_literal) )) (compound_statement "{\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }" { (expression_statement "plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);" (assignment_expression "plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8)" identifier = (cast_expression "(long *)(DAT_00122ea8 + DAT_00122eb8 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00122ea8 + DAT_00122eb8 * 8)" ( (binary_expression "DAT_00122ea8 + DAT_00122eb8 * 8" identifier + (binary_expression "DAT_00122eb8 * 8" identifier * number_literal)) )))) ;) (if_statement "if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }" if (parenthesized_expression "(*plVar1 != 0)" ( (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" * identifier) != number_literal) )) (compound_statement "{\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }" { (expression_statement "FUN_001038a1();" (call_expression "FUN_001038a1()" identifier (argument_list "()" ( ))) ;) (expression_statement "*plVar1 = 0;" (assignment_expression "*plVar1 = 0" (pointer_expression "*plVar1" * identifier) = number_literal) ;) (if_statement "if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        DAT_00122eb8 = lVar3 + -1;\n      }" { (expression_statement "DAT_00122eb8 = lVar3 + -1;" (assignment_expression "DAT_00122eb8 = lVar3 + -1" identifier = (binary_expression "lVar3 + -1" identifier + number_literal)) ;) })) (if_statement "if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }" if (parenthesized_expression "(*(long *)(lVar2 + DAT_00122eb8 * 8) != 0)" ( (binary_expression "*(long *)(lVar2 + DAT_00122eb8 * 8) != 0" (pointer_expression "*(long *)(lVar2 + DAT_00122eb8 * 8)" * (cast_expression "(long *)(lVar2 + DAT_00122eb8 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + DAT_00122eb8 * 8)" ( (binary_expression "lVar2 + DAT_00122eb8 * 8" identifier + (binary_expression "DAT_00122eb8 * 8" identifier * number_literal)) )))) != number_literal) )) (compound_statement "{\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }" { (expression_statement "FUN_001036ca();" (call_expression "FUN_001036ca()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_00122e84 = 1;" (assignment_expression "DAT_00122e84 = 1" identifier = number_literal) ;) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid yypop_buffer_state(void)\n\n{\n  YY_BUFFER_STATE *ppyVar1;\n  YY_BUFFER_STATE b;\n  YY_BUFFER_STATE *ppyVar2;\n  size_t sVar3;\n  \n  sVar3 = yy_buffer_stack_top;\n  ppyVar2 = yy_buffer_stack;\n  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;\n    b = *ppyVar1;\n    if (b != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(b);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar3 != 0) {\n        yy_buffer_stack_top = sVar3 - 1;\n      }\n      if (ppyVar2[yy_buffer_stack_top] != (YY_BUFFER_STATE)0x0) {\n        yy_load_buffer_state();\n        yy_did_buffer_switch_on_eof = 1;\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void yypop_buffer_state(void)\n\n{\n  YY_BUFFER_STATE *ppyVar1;\n  YY_BUFFER_STATE b;\n  YY_BUFFER_STATE *ppyVar2;\n  size_t sVar3;\n  \n  sVar3 = yy_buffer_stack_top;\n  ppyVar2 = yy_buffer_stack;\n  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;\n    b = *ppyVar1;\n    if (b != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(b);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar3 != 0) {\n        yy_buffer_stack_top = sVar3 - 1;\n      }\n      if (ppyVar2[yy_buffer_stack_top] != (YY_BUFFER_STATE)0x0) {\n        yy_load_buffer_state();\n        yy_did_buffer_switch_on_eof = 1;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "yypop_buffer_state(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  YY_BUFFER_STATE *ppyVar1;\n  YY_BUFFER_STATE b;\n  YY_BUFFER_STATE *ppyVar2;\n  size_t sVar3;\n  \n  sVar3 = yy_buffer_stack_top;\n  ppyVar2 = yy_buffer_stack;\n  if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;\n    b = *ppyVar1;\n    if (b != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(b);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar3 != 0) {\n        yy_buffer_stack_top = sVar3 - 1;\n      }\n      if (ppyVar2[yy_buffer_stack_top] != (YY_BUFFER_STATE)0x0) {\n        yy_load_buffer_state();\n        yy_did_buffer_switch_on_eof = 1;\n      }\n    }\n  }\n  return;\n}" { (declaration "YY_BUFFER_STATE *ppyVar1;" type_identifier (pointer_declarator "*ppyVar1" * identifier) ;) (declaration "YY_BUFFER_STATE b;" type_identifier identifier ;) (declaration "YY_BUFFER_STATE *ppyVar2;" type_identifier (pointer_declarator "*ppyVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (expression_statement "sVar3 = yy_buffer_stack_top;" (assignment_expression "sVar3 = yy_buffer_stack_top" identifier = identifier) ;) (expression_statement "ppyVar2 = yy_buffer_stack;" (assignment_expression "ppyVar2 = yy_buffer_stack" identifier = identifier) ;) (if_statement "if (yy_buffer_stack != (YY_BUFFER_STATE *)0x0) {\n    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;\n    b = *ppyVar1;\n    if (b != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(b);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar3 != 0) {\n        yy_buffer_stack_top = sVar3 - 1;\n      }\n      if (ppyVar2[yy_buffer_stack_top] != (YY_BUFFER_STATE)0x0) {\n        yy_load_buffer_state();\n        yy_did_buffer_switch_on_eof = 1;\n      }\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    ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;\n    b = *ppyVar1;\n    if (b != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(b);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar3 != 0) {\n        yy_buffer_stack_top = sVar3 - 1;\n      }\n      if (ppyVar2[yy_buffer_stack_top] != (YY_BUFFER_STATE)0x0) {\n        yy_load_buffer_state();\n        yy_did_buffer_switch_on_eof = 1;\n      }\n    }\n  }" { (expression_statement "ppyVar1 = yy_buffer_stack + yy_buffer_stack_top;" (assignment_expression "ppyVar1 = yy_buffer_stack + yy_buffer_stack_top" identifier = (binary_expression "yy_buffer_stack + yy_buffer_stack_top" identifier + identifier)) ;) (expression_statement "b = *ppyVar1;" (assignment_expression "b = *ppyVar1" identifier = (pointer_expression "*ppyVar1" * identifier)) ;) (if_statement "if (b != (YY_BUFFER_STATE)0x0) {\n      yy_delete_buffer(b);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar3 != 0) {\n        yy_buffer_stack_top = sVar3 - 1;\n      }\n      if (ppyVar2[yy_buffer_stack_top] != (YY_BUFFER_STATE)0x0) {\n        yy_load_buffer_state();\n        yy_did_buffer_switch_on_eof = 1;\n      }\n    }" if (parenthesized_expression "(b != (YY_BUFFER_STATE)0x0)" ( (binary_expression "b != (YY_BUFFER_STATE)0x0" identifier != (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) )) (compound_statement "{\n      yy_delete_buffer(b);\n      *ppyVar1 = (YY_BUFFER_STATE)0x0;\n      if (sVar3 != 0) {\n        yy_buffer_stack_top = sVar3 - 1;\n      }\n      if (ppyVar2[yy_buffer_stack_top] != (YY_BUFFER_STATE)0x0) {\n        yy_load_buffer_state();\n        yy_did_buffer_switch_on_eof = 1;\n      }\n    }" { (expression_statement "yy_delete_buffer(b);" (call_expression "yy_delete_buffer(b)" identifier (argument_list "(b)" ( identifier ))) ;) (expression_statement "*ppyVar1 = (YY_BUFFER_STATE)0x0;" (assignment_expression "*ppyVar1 = (YY_BUFFER_STATE)0x0" (pointer_expression "*ppyVar1" * identifier) = (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) ;) (if_statement "if (sVar3 != 0) {\n        yy_buffer_stack_top = sVar3 - 1;\n      }" if (parenthesized_expression "(sVar3 != 0)" ( (binary_expression "sVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        yy_buffer_stack_top = sVar3 - 1;\n      }" { (expression_statement "yy_buffer_stack_top = sVar3 - 1;" (assignment_expression "yy_buffer_stack_top = sVar3 - 1" identifier = (binary_expression "sVar3 - 1" identifier - number_literal)) ;) })) (if_statement "if (ppyVar2[yy_buffer_stack_top] != (YY_BUFFER_STATE)0x0) {\n        yy_load_buffer_state();\n        yy_did_buffer_switch_on_eof = 1;\n      }" if (parenthesized_expression "(ppyVar2[yy_buffer_stack_top] != (YY_BUFFER_STATE)0x0)" ( (binary_expression "ppyVar2[yy_buffer_stack_top] != (YY_BUFFER_STATE)0x0" (subscript_expression "ppyVar2[yy_buffer_stack_top]" identifier [ identifier ]) != (cast_expression "(YY_BUFFER_STATE)0x0" ( (type_descriptor "YY_BUFFER_STATE" type_identifier) ) number_literal)) )) (compound_statement "{\n        yy_load_buffer_state();\n        yy_did_buffer_switch_on_eof = 1;\n      }" { (expression_statement "yy_load_buffer_state();" (call_expression "yy_load_buffer_state()" identifier (argument_list "()" ( ))) ;) (expression_statement "yy_did_buffer_switch_on_eof = 1;" (assignment_expression "yy_did_buffer_switch_on_eof = 1" identifier = number_literal) ;) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00103ec0(void)\n\n{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  \n  lVar3 = DAT_00122eb8;\n  lVar2 = DAT_00122ea8;\n  if (DAT_00122ea8 != 0) {\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00103ec0(void)\n\n{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  \n  lVar3 = DAT_00122eb8;\n  lVar2 = DAT_00122ea8;\n  if (DAT_00122ea8 != 0) {\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00103ec0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  \n  lVar3 = DAT_00122eb8;\n  lVar2 = DAT_00122ea8;\n  if (DAT_00122ea8 != 0) {\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar3 = DAT_00122eb8;" (assignment_expression "lVar3 = DAT_00122eb8" identifier = identifier) ;) (expression_statement "lVar2 = DAT_00122ea8;" (assignment_expression "lVar2 = DAT_00122ea8" identifier = identifier) ;) (if_statement "if (DAT_00122ea8 != 0) {\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }" if (parenthesized_expression "(DAT_00122ea8 != 0)" ( (binary_expression "DAT_00122ea8 != 0" identifier != number_literal) )) (compound_statement "{\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }" { (expression_statement "plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);" (assignment_expression "plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8)" identifier = (cast_expression "(long *)(DAT_00122ea8 + DAT_00122eb8 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00122ea8 + DAT_00122eb8 * 8)" ( (binary_expression "DAT_00122ea8 + DAT_00122eb8 * 8" identifier + (binary_expression "DAT_00122eb8 * 8" identifier * number_literal)) )))) ;) (if_statement "if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }" if (parenthesized_expression "(*plVar1 != 0)" ( (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" * identifier) != number_literal) )) (compound_statement "{\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }" { (expression_statement "FUN_001038a1();" (call_expression "FUN_001038a1()" identifier (argument_list "()" ( ))) ;) (expression_statement "*plVar1 = 0;" (assignment_expression "*plVar1 = 0" (pointer_expression "*plVar1" * identifier) = number_literal) ;) (if_statement "if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        DAT_00122eb8 = lVar3 + -1;\n      }" { (expression_statement "DAT_00122eb8 = lVar3 + -1;" (assignment_expression "DAT_00122eb8 = lVar3 + -1" identifier = (binary_expression "lVar3 + -1" identifier + number_literal)) ;) })) (if_statement "if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }" if (parenthesized_expression "(*(long *)(lVar2 + DAT_00122eb8 * 8) != 0)" ( (binary_expression "*(long *)(lVar2 + DAT_00122eb8 * 8) != 0" (pointer_expression "*(long *)(lVar2 + DAT_00122eb8 * 8)" * (cast_expression "(long *)(lVar2 + DAT_00122eb8 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + DAT_00122eb8 * 8)" ( (binary_expression "lVar2 + DAT_00122eb8 * 8" identifier + (binary_expression "DAT_00122eb8 * 8" identifier * number_literal)) )))) != number_literal) )) (compound_statement "{\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }" { (expression_statement "FUN_001036ca();" (call_expression "FUN_001036ca()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_00122e84 = 1;" (assignment_expression "DAT_00122e84 = 1" identifier = number_literal) ;) })) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) })) })) (return_statement return ;) })))
(function_definition "void FUN_00103ec0(void)\n\n{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  \n  lVar3 = DAT_00122eb8;\n  lVar2 = DAT_00122ea8;\n  if (DAT_00122ea8 != 0) {\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00103ec0(void)" (identifier "FUN_00103ec0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  \n  lVar3 = DAT_00122eb8;\n  lVar2 = DAT_00122ea8;\n  if (DAT_00122ea8 != 0) {\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (expression_statement "lVar3 = DAT_00122eb8;" (assignment_expression "lVar3 = DAT_00122eb8" (identifier "lVar3") (= "=") (identifier "DAT_00122eb8")) (; ";")) (expression_statement "lVar2 = DAT_00122ea8;" (assignment_expression "lVar2 = DAT_00122ea8" (identifier "lVar2") (= "=") (identifier "DAT_00122ea8")) (; ";")) (if_statement "if (DAT_00122ea8 != 0) {\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(DAT_00122ea8 != 0)" (( "(") (binary_expression "DAT_00122ea8 != 0" (identifier "DAT_00122ea8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);\n    if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }\n  }" ({ "{") (expression_statement "plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);" (assignment_expression "plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8)" (identifier "plVar1") (= "=") (cast_expression "(long *)(DAT_00122ea8 + DAT_00122eb8 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00122ea8 + DAT_00122eb8 * 8)" (( "(") (binary_expression "DAT_00122ea8 + DAT_00122eb8 * 8" (identifier "DAT_00122ea8") (+ "+") (binary_expression "DAT_00122eb8 * 8" (identifier "DAT_00122eb8") (* "*") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if (*plVar1 != 0) {\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }" (if "if") (parenthesized_expression "(*plVar1 != 0)" (( "(") (binary_expression "*plVar1 != 0" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_001038a1();\n      *plVar1 = 0;\n      if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }\n      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }\n    }" ({ "{") (expression_statement "FUN_001038a1();" (call_expression "FUN_001038a1()" (identifier "FUN_001038a1") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*plVar1 = 0;" (assignment_expression "*plVar1 = 0" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (lVar3 != 0) {\n        DAT_00122eb8 = lVar3 + -1;\n      }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        DAT_00122eb8 = lVar3 + -1;\n      }" ({ "{") (expression_statement "DAT_00122eb8 = lVar3 + -1;" (assignment_expression "DAT_00122eb8 = lVar3 + -1" (identifier "DAT_00122eb8") (= "=") (binary_expression "lVar3 + -1" (identifier "lVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (if_statement "if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }" (if "if") (parenthesized_expression "(*(long *)(lVar2 + DAT_00122eb8 * 8) != 0)" (( "(") (binary_expression "*(long *)(lVar2 + DAT_00122eb8 * 8) != 0" (pointer_expression "*(long *)(lVar2 + DAT_00122eb8 * 8)" (* "*") (cast_expression "(long *)(lVar2 + DAT_00122eb8 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + DAT_00122eb8 * 8)" (( "(") (binary_expression "lVar2 + DAT_00122eb8 * 8" (identifier "lVar2") (+ "+") (binary_expression "DAT_00122eb8 * 8" (identifier "DAT_00122eb8") (* "*") (number_literal "8"))) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_001036ca();\n        DAT_00122e84 = 1;\n      }" ({ "{") (expression_statement "FUN_001036ca();" (call_expression "FUN_001036ca()" (identifier "FUN_001036ca") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "DAT_00122e84 = 1;" (assignment_expression "DAT_00122e84 = 1" (identifier "DAT_00122e84") (= "=") (number_literal "1")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  type_1 *ppyVar1;
  type_1 var_3;
  type_1 *ppyVar2;
  size_t var_5;
  
  var_5 = var_2;
  ppyVar2 = var_1;
  if (var_1 != (type_1 *)0x0) {
    ppyVar1 = var_1 + var_2;
    var_3 = *ppyVar1;
    if (var_3 != (type_1)0x0) {
      var_4(var_3);
      *ppyVar1 = (type_1)0x0;
      if (var_5 != 0) {
        var_2 = var_5 - 1;
      }
      if (ppyVar2[var_2] != (type_1)0x0) {
        var_6();
        yy_did_buffer_switch_on_eof = 1;
      }
    }
  }
  return;
}


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

void MASKED(void)

{
  long *plVar1;
  long lVar2;
  long lVar3;
  
  lVar3 = DAT_00122eb8;
  lVar2 = DAT_00122ea8;
  if (DAT_00122ea8 != 0) {
    plVar1 = (long *)(DAT_00122ea8 + DAT_00122eb8 * 8);
    if (*plVar1 != 0) {
      FUN_001038a1();
      *plVar1 = 0;
      if (lVar3 != 0) {
        DAT_00122eb8 = lVar3 + -1;
      }
      if (*(long *)(lVar2 + DAT_00122eb8 * 8) != 0) {
        FUN_001036ca();
        DAT_00122e84 = 1;
      }
    }
  }
  return;
}

