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

void dot_left(void)

{
  uint uVar1;
  uint *puVar2;
  
  undo_queue_commit();
  puVar2 = *(uint **)PTR_ptr_to_globals_0012a304;
  uVar1 = puVar2[2];
  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {
    puVar2[2] = uVar1 - 1;
  }
  return;
}



void FUN_000d8ba0(void)

{
  uint uVar1;
  uint *puVar2;
  
  FUN_000d8b3c();
  puVar2 = *(uint **)PTR_DAT_0012a304;
  uVar1 = puVar2[2];
  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {
    puVar2[2] = uVar1 - 1;
  }
  return;
}


lui gp,0x6
addiu gp,gp,-0x6a50
addu gp,gp,t9
lw t9,-0x756c(gp)
addiu sp,sp,-0x20
addiu t9,t9,-0x74c4
sw gp,0x10(sp)
sw ra,0x1c(sp)
bal 0x000d8b3c
_nop
lw gp,0x10(sp)
lw v0,-0x7e4c(gp)
lw v1,0x0(v0)
lw v0,0x8(v1)
lw a0,0x0(v1)
sltu a0,a0,v0
beq a0,zero,0x000d8bf8
_li a0,0xa
lbu a1,-0x1(v0)
beq a1,a0,0x000d8bf8
_addiu v0,v0,-0x1
sw v0,0x8(v1)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void FUN_000d8ba0(void)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  FUN_000d8b3c();\n  puVar2 = *(uint **)PTR_DAT_0012a304;\n  uVar1 = puVar2[2];\n  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000d8ba0(void)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  FUN_000d8b3c();\n  puVar2 = *(uint **)PTR_DAT_0012a304;\n  uVar1 = puVar2[2];\n  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000d8ba0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  \n  FUN_000d8b3c();\n  puVar2 = *(uint **)PTR_DAT_0012a304;\n  uVar1 = puVar2[2];\n  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "FUN_000d8b3c();" (call_expression "FUN_000d8b3c()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar2 = *(uint **)PTR_DAT_0012a304;" (assignment_expression "puVar2 = *(uint **)PTR_DAT_0012a304" identifier = (pointer_expression "*(uint **)PTR_DAT_0012a304" * (cast_expression "(uint **)PTR_DAT_0012a304" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar1 = puVar2[2];" (assignment_expression "uVar1 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (if_statement "if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }" if (parenthesized_expression "((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n'))" ( (binary_expression "(*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')" (parenthesized_expression "(*puVar2 < uVar1)" ( (binary_expression "*puVar2 < uVar1" (pointer_expression "*puVar2" * identifier) < identifier) )) && (parenthesized_expression "(*(char *)(uVar1 - 1) != '\n')" ( (binary_expression "*(char *)(uVar1 - 1) != '\n'" (pointer_expression "*(char *)(uVar1 - 1)" * (cast_expression "(char *)(uVar1 - 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar1 - 1)" ( (binary_expression "uVar1 - 1" identifier - number_literal) )))) != (char_literal "'\n'" ' escape_sequence ')) ))) )) (compound_statement "{\n    puVar2[2] = uVar1 - 1;\n  }" { (expression_statement "puVar2[2] = uVar1 - 1;" (assignment_expression "puVar2[2] = uVar1 - 1" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (binary_expression "uVar1 - 1" identifier - number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid dot_left(void)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  undo_queue_commit();\n  puVar2 = *(uint **)PTR_ptr_to_globals_0012a304;\n  uVar1 = puVar2[2];\n  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }\n  return;\n}\n\n" comment (function_definition "void dot_left(void)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  undo_queue_commit();\n  puVar2 = *(uint **)PTR_ptr_to_globals_0012a304;\n  uVar1 = puVar2[2];\n  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }\n  return;\n}" primitive_type (function_declarator "dot_left(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  \n  undo_queue_commit();\n  puVar2 = *(uint **)PTR_ptr_to_globals_0012a304;\n  uVar1 = puVar2[2];\n  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "undo_queue_commit();" (call_expression "undo_queue_commit()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar2 = *(uint **)PTR_ptr_to_globals_0012a304;" (assignment_expression "puVar2 = *(uint **)PTR_ptr_to_globals_0012a304" identifier = (pointer_expression "*(uint **)PTR_ptr_to_globals_0012a304" * (cast_expression "(uint **)PTR_ptr_to_globals_0012a304" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar1 = puVar2[2];" (assignment_expression "uVar1 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (if_statement "if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }" if (parenthesized_expression "((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n'))" ( (binary_expression "(*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')" (parenthesized_expression "(*puVar2 < uVar1)" ( (binary_expression "*puVar2 < uVar1" (pointer_expression "*puVar2" * identifier) < identifier) )) && (parenthesized_expression "(*(char *)(uVar1 - 1) != '\n')" ( (binary_expression "*(char *)(uVar1 - 1) != '\n'" (pointer_expression "*(char *)(uVar1 - 1)" * (cast_expression "(char *)(uVar1 - 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar1 - 1)" ( (binary_expression "uVar1 - 1" identifier - number_literal) )))) != (char_literal "'\n'" ' escape_sequence ')) ))) )) (compound_statement "{\n    puVar2[2] = uVar1 - 1;\n  }" { (expression_statement "puVar2[2] = uVar1 - 1;" (assignment_expression "puVar2[2] = uVar1 - 1" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (binary_expression "uVar1 - 1" identifier - number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000d8ba0(void)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  FUN_000d8b3c();\n  puVar2 = *(uint **)PTR_DAT_0012a304;\n  uVar1 = puVar2[2];\n  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000d8ba0(void)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  FUN_000d8b3c();\n  puVar2 = *(uint **)PTR_DAT_0012a304;\n  uVar1 = puVar2[2];\n  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000d8ba0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  \n  FUN_000d8b3c();\n  puVar2 = *(uint **)PTR_DAT_0012a304;\n  uVar1 = puVar2[2];\n  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "FUN_000d8b3c();" (call_expression "FUN_000d8b3c()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar2 = *(uint **)PTR_DAT_0012a304;" (assignment_expression "puVar2 = *(uint **)PTR_DAT_0012a304" identifier = (pointer_expression "*(uint **)PTR_DAT_0012a304" * (cast_expression "(uint **)PTR_DAT_0012a304" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar1 = puVar2[2];" (assignment_expression "uVar1 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (if_statement "if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }" if (parenthesized_expression "((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n'))" ( (binary_expression "(*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')" (parenthesized_expression "(*puVar2 < uVar1)" ( (binary_expression "*puVar2 < uVar1" (pointer_expression "*puVar2" * identifier) < identifier) )) && (parenthesized_expression "(*(char *)(uVar1 - 1) != '\n')" ( (binary_expression "*(char *)(uVar1 - 1) != '\n'" (pointer_expression "*(char *)(uVar1 - 1)" * (cast_expression "(char *)(uVar1 - 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar1 - 1)" ( (binary_expression "uVar1 - 1" identifier - number_literal) )))) != (char_literal "'\n'" ' escape_sequence ')) ))) )) (compound_statement "{\n    puVar2[2] = uVar1 - 1;\n  }" { (expression_statement "puVar2[2] = uVar1 - 1;" (assignment_expression "puVar2[2] = uVar1 - 1" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = (binary_expression "uVar1 - 1" identifier - number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000d8ba0(void)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  \n  FUN_000d8b3c();\n  puVar2 = *(uint **)PTR_DAT_0012a304;\n  uVar1 = puVar2[2];\n  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000d8ba0(void)" (identifier "FUN_000d8ba0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  \n  FUN_000d8b3c();\n  puVar2 = *(uint **)PTR_DAT_0012a304;\n  uVar1 = puVar2[2];\n  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "FUN_000d8b3c();" (call_expression "FUN_000d8b3c()" (identifier "FUN_000d8b3c") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar2 = *(uint **)PTR_DAT_0012a304;" (assignment_expression "puVar2 = *(uint **)PTR_DAT_0012a304" (identifier "puVar2") (= "=") (pointer_expression "*(uint **)PTR_DAT_0012a304" (* "*") (cast_expression "(uint **)PTR_DAT_0012a304" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_0012a304")))) (; ";")) (expression_statement "uVar1 = puVar2[2];" (assignment_expression "uVar1 = puVar2[2]" (identifier "uVar1") (= "=") (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {\n    puVar2[2] = uVar1 - 1;\n  }" (if "if") (parenthesized_expression "((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n'))" (( "(") (binary_expression "(*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')" (parenthesized_expression "(*puVar2 < uVar1)" (( "(") (binary_expression "*puVar2 < uVar1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (< "<") (identifier "uVar1")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(uVar1 - 1) != '\n')" (( "(") (binary_expression "*(char *)(uVar1 - 1) != '\n'" (pointer_expression "*(char *)(uVar1 - 1)" (* "*") (cast_expression "(char *)(uVar1 - 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar1 - 1)" (( "(") (binary_expression "uVar1 - 1" (identifier "uVar1") (- "-") (number_literal "1")) () ")")))) (!= "!=") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    puVar2[2] = uVar1 - 1;\n  }" ({ "{") (expression_statement "puVar2[2] = uVar1 - 1;" (assignment_expression "puVar2[2] = uVar1 - 1" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar1 - 1" (identifier "uVar1") (- "-") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  type_1 var_2;
  type_1 *puVar2;
  
  var_1();
  puVar2 = *(type_1 **)PTR_ptr_to_globals_0012a304;
  var_2 = puVar2[2];
  if ((*puVar2 < var_2) && (*(char *)(var_2 - 1) != '\n')) {
    puVar2[2] = var_2 - 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) 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: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

void MASKED(void)

{
  uint uVar1;
  uint *puVar2;
  
  FUN_000d8b3c();
  puVar2 = *(uint **)PTR_DAT_0012a304;
  uVar1 = puVar2[2];
  if ((*puVar2 < uVar1) && (*(char *)(uVar1 - 1) != '\n')) {
    puVar2[2] = uVar1 - 1;
  }
  return;
}

