
void console_prompt_text(FILE *outfp,char *data,int len)

{
  uint uVar1;
  char *pcVar2;
  
  if (len != 0) {
    pcVar2 = data + len;
    do {
      while( true ) {
        uVar1 = (uint)*data;
        data = data + 1;
        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;
        (*(code *)PTR_fputc_000b2db8)(uVar1,outfp);
        if (pcVar2 == data) goto LAB_0007f61c;
      }
    } while (pcVar2 != data);
  }
LAB_0007f61c:
                    /* WARNING: Could not recover jumptable at 0x0007f634. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_fflush_000b2f20)(outfp);
  return;
}



void FUN_0007f5a0(undefined4 param_1,char *param_2,int param_3)

{
  uint uVar1;
  char *pcVar2;
  
  if (param_3 != 0) {
    pcVar2 = param_2 + param_3;
    do {
      while( true ) {
        uVar1 = (uint)*param_2;
        param_2 = param_2 + 1;
        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;
        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);
        if (pcVar2 == param_2) goto LAB_0007f61c;
      }
    } while (pcVar2 != param_2);
  }
LAB_0007f61c:
                    /* WARNING: Could not recover jumptable at 0x0007f634. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_fflush_000b2f20)(param_1);
  return;
}


lui gp,0x4
addiu gp,gp,-0x5230
addu gp,gp,t9
addiu sp,sp,-0x30
sw gp,0x10(sp)
sw s2,0x24(sp)
or s2,a0,zero
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s1,0x20(sp)
beq a2,zero,0x0007f618
_sw s0,0x1c(sp)
or s0,a1,zero
addu s1,a1,a2
b 0x0007f5f0
_li s3,0xa
beq a0,s3,0x0007f608
_nop
beq s1,s0,0x0007f61c
_lw ra,0x2c(sp)
lb a0,0x0(s0)
or a1,s2,zero
addiu s0,s0,0x1
andi v0,a0,0x60
beq v0,zero,0x0007f5e0
_lw t9,-0x75b8(gp)
jalr t9
_nop
bne s1,s0,0x0007f5f0
_lw gp,0x10(sp)
lw ra,0x2c(sp)
or a0,s2,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7450(gp)
jr t9
_addiu sp,sp,0x30
(translation_unit "void FUN_0007f5a0(undefined4 param_1,char *param_2,int param_3)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  \n  if (param_3 != 0) {\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }\nLAB_0007f61c:\n                    /* WARNING: Could not recover jumptable at 0x0007f634. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_000b2f20)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0007f5a0(undefined4 param_1,char *param_2,int param_3)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  \n  if (param_3 != 0) {\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }\nLAB_0007f61c:\n                    /* WARNING: Could not recover jumptable at 0x0007f634. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_000b2f20)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0007f5a0(undefined4 param_1,char *param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,char *param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  char *pcVar2;\n  \n  if (param_3 != 0) {\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }\nLAB_0007f61c:\n                    /* WARNING: Could not recover jumptable at 0x0007f634. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_000b2f20)(param_1);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (if_statement "if (param_3 != 0) {\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }" { (expression_statement "pcVar2 = param_2 + param_3;" (assignment_expression "pcVar2 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (do_statement "do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);" do (compound_statement "{\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    }" { (while_statement "while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }" { (expression_statement "uVar1 = (uint)*param_2;" (assignment_expression "uVar1 = (uint)*param_2" identifier = (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (if_statement "if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;" if (parenthesized_expression "(((uVar1 & 0x60) == 0) && (uVar1 != 10))" ( (binary_expression "((uVar1 & 0x60) == 0) && (uVar1 != 10)" (parenthesized_expression "((uVar1 & 0x60) == 0)" ( (binary_expression "(uVar1 & 0x60) == 0" (parenthesized_expression "(uVar1 & 0x60)" ( (binary_expression "uVar1 & 0x60" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar1 != 10)" ( (binary_expression "uVar1 != 10" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "(*(code *)PTR_fputc_000b2db8)(uVar1,param_1);" (call_expression "(*(code *)PTR_fputc_000b2db8)(uVar1,param_1)" (parenthesized_expression "(*(code *)PTR_fputc_000b2db8)" ( (pointer_expression "*(code *)PTR_fputc_000b2db8" * (cast_expression "(code *)PTR_fputc_000b2db8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,param_1)" ( identifier , identifier ))) ;) (if_statement "if (pcVar2 == param_2) goto LAB_0007f61c;" if (parenthesized_expression "(pcVar2 == param_2)" ( (binary_expression "pcVar2 == param_2" identifier == identifier) )) (goto_statement "goto LAB_0007f61c;" goto statement_identifier ;)) })) }) while (parenthesized_expression "(pcVar2 != param_2)" ( (binary_expression "pcVar2 != param_2" identifier != identifier) )) ;) })) (labeled_statement "LAB_0007f61c:\n                    /* WARNING: Could not recover jumptable at 0x0007f634. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_000b2f20)(param_1);" statement_identifier : comment comment (expression_statement "(*(code *)PTR_fflush_000b2f20)(param_1);" (call_expression "(*(code *)PTR_fflush_000b2f20)(param_1)" (parenthesized_expression "(*(code *)PTR_fflush_000b2f20)" ( (pointer_expression "*(code *)PTR_fflush_000b2f20" * (cast_expression "(code *)PTR_fflush_000b2f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void console_prompt_text(FILE *outfp,char *data,int len)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  \n  if (len != 0) {\n    pcVar2 = data + len;\n    do {\n      while( true ) {\n        uVar1 = (uint)*data;\n        data = data + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,outfp);\n        if (pcVar2 == data) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != data);\n  }\nLAB_0007f61c:\n                    /* WARNING: Could not recover jumptable at 0x0007f634. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_000b2f20)(outfp);\n  return;\n}\n\n" (function_definition "void console_prompt_text(FILE *outfp,char *data,int len)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  \n  if (len != 0) {\n    pcVar2 = data + len;\n    do {\n      while( true ) {\n        uVar1 = (uint)*data;\n        data = data + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,outfp);\n        if (pcVar2 == data) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != data);\n  }\nLAB_0007f61c:\n                    /* WARNING: Could not recover jumptable at 0x0007f634. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_000b2f20)(outfp);\n  return;\n}" primitive_type (function_declarator "console_prompt_text(FILE *outfp,char *data,int len)" identifier (parameter_list "(FILE *outfp,char *data,int len)" ( (parameter_declaration "FILE *outfp" type_identifier (pointer_declarator "*outfp" * identifier)) , (parameter_declaration "char *data" primitive_type (pointer_declarator "*data" * identifier)) , (parameter_declaration "int len" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  char *pcVar2;\n  \n  if (len != 0) {\n    pcVar2 = data + len;\n    do {\n      while( true ) {\n        uVar1 = (uint)*data;\n        data = data + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,outfp);\n        if (pcVar2 == data) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != data);\n  }\nLAB_0007f61c:\n                    /* WARNING: Could not recover jumptable at 0x0007f634. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_000b2f20)(outfp);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (if_statement "if (len != 0) {\n    pcVar2 = data + len;\n    do {\n      while( true ) {\n        uVar1 = (uint)*data;\n        data = data + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,outfp);\n        if (pcVar2 == data) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != data);\n  }" if (parenthesized_expression "(len != 0)" ( (binary_expression "len != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar2 = data + len;\n    do {\n      while( true ) {\n        uVar1 = (uint)*data;\n        data = data + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,outfp);\n        if (pcVar2 == data) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != data);\n  }" { (expression_statement "pcVar2 = data + len;" (assignment_expression "pcVar2 = data + len" identifier = (binary_expression "data + len" identifier + identifier)) ;) (do_statement "do {\n      while( true ) {\n        uVar1 = (uint)*data;\n        data = data + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,outfp);\n        if (pcVar2 == data) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != data);" do (compound_statement "{\n      while( true ) {\n        uVar1 = (uint)*data;\n        data = data + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,outfp);\n        if (pcVar2 == data) goto LAB_0007f61c;\n      }\n    }" { (while_statement "while( true ) {\n        uVar1 = (uint)*data;\n        data = data + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,outfp);\n        if (pcVar2 == data) goto LAB_0007f61c;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar1 = (uint)*data;\n        data = data + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,outfp);\n        if (pcVar2 == data) goto LAB_0007f61c;\n      }" { (expression_statement "uVar1 = (uint)*data;" (assignment_expression "uVar1 = (uint)*data" identifier = (binary_expression "(uint)*data" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "data = data + 1;" (assignment_expression "data = data + 1" identifier = (binary_expression "data + 1" identifier + number_literal)) ;) (if_statement "if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;" if (parenthesized_expression "(((uVar1 & 0x60) == 0) && (uVar1 != 10))" ( (binary_expression "((uVar1 & 0x60) == 0) && (uVar1 != 10)" (parenthesized_expression "((uVar1 & 0x60) == 0)" ( (binary_expression "(uVar1 & 0x60) == 0" (parenthesized_expression "(uVar1 & 0x60)" ( (binary_expression "uVar1 & 0x60" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar1 != 10)" ( (binary_expression "uVar1 != 10" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "(*(code *)PTR_fputc_000b2db8)(uVar1,outfp);" (call_expression "(*(code *)PTR_fputc_000b2db8)(uVar1,outfp)" (parenthesized_expression "(*(code *)PTR_fputc_000b2db8)" ( (pointer_expression "*(code *)PTR_fputc_000b2db8" * (cast_expression "(code *)PTR_fputc_000b2db8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,outfp)" ( identifier , identifier ))) ;) (if_statement "if (pcVar2 == data) goto LAB_0007f61c;" if (parenthesized_expression "(pcVar2 == data)" ( (binary_expression "pcVar2 == data" identifier == identifier) )) (goto_statement "goto LAB_0007f61c;" goto statement_identifier ;)) })) }) while (parenthesized_expression "(pcVar2 != data)" ( (binary_expression "pcVar2 != data" identifier != identifier) )) ;) })) (labeled_statement "LAB_0007f61c:\n                    /* WARNING: Could not recover jumptable at 0x0007f634. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_000b2f20)(outfp);" statement_identifier : comment comment (expression_statement "(*(code *)PTR_fflush_000b2f20)(outfp);" (call_expression "(*(code *)PTR_fflush_000b2f20)(outfp)" (parenthesized_expression "(*(code *)PTR_fflush_000b2f20)" ( (pointer_expression "*(code *)PTR_fflush_000b2f20" * (cast_expression "(code *)PTR_fflush_000b2f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(outfp)" ( identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0007f5a0(undefined4 param_1,char *param_2,int param_3)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  \n  if (param_3 != 0) {\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }\nLAB_0007f61c:\n                    \n                    \n  (*(code *)PTR_fflush_000b2f20)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0007f5a0(undefined4 param_1,char *param_2,int param_3)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  \n  if (param_3 != 0) {\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }\nLAB_0007f61c:\n                    \n                    \n  (*(code *)PTR_fflush_000b2f20)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0007f5a0(undefined4 param_1,char *param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,char *param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  char *pcVar2;\n  \n  if (param_3 != 0) {\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }\nLAB_0007f61c:\n                    \n                    \n  (*(code *)PTR_fflush_000b2f20)(param_1);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (if_statement "if (param_3 != 0) {\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }" { (expression_statement "pcVar2 = param_2 + param_3;" (assignment_expression "pcVar2 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (do_statement "do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);" do (compound_statement "{\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    }" { (while_statement "while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }" { (expression_statement "uVar1 = (uint)*param_2;" (assignment_expression "uVar1 = (uint)*param_2" identifier = (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (if_statement "if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;" if (parenthesized_expression "(((uVar1 & 0x60) == 0) && (uVar1 != 10))" ( (binary_expression "((uVar1 & 0x60) == 0) && (uVar1 != 10)" (parenthesized_expression "((uVar1 & 0x60) == 0)" ( (binary_expression "(uVar1 & 0x60) == 0" (parenthesized_expression "(uVar1 & 0x60)" ( (binary_expression "uVar1 & 0x60" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar1 != 10)" ( (binary_expression "uVar1 != 10" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "(*(code *)PTR_fputc_000b2db8)(uVar1,param_1);" (call_expression "(*(code *)PTR_fputc_000b2db8)(uVar1,param_1)" (parenthesized_expression "(*(code *)PTR_fputc_000b2db8)" ( (pointer_expression "*(code *)PTR_fputc_000b2db8" * (cast_expression "(code *)PTR_fputc_000b2db8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,param_1)" ( identifier , identifier ))) ;) (if_statement "if (pcVar2 == param_2) goto LAB_0007f61c;" if (parenthesized_expression "(pcVar2 == param_2)" ( (binary_expression "pcVar2 == param_2" identifier == identifier) )) (goto_statement "goto LAB_0007f61c;" goto statement_identifier ;)) })) }) while (parenthesized_expression "(pcVar2 != param_2)" ( (binary_expression "pcVar2 != param_2" identifier != identifier) )) ;) })) (labeled_statement "LAB_0007f61c:\n                    \n                    \n  (*(code *)PTR_fflush_000b2f20)(param_1);" statement_identifier : (expression_statement "(*(code *)PTR_fflush_000b2f20)(param_1);" (call_expression "(*(code *)PTR_fflush_000b2f20)(param_1)" (parenthesized_expression "(*(code *)PTR_fflush_000b2f20)" ( (pointer_expression "*(code *)PTR_fflush_000b2f20" * (cast_expression "(code *)PTR_fflush_000b2f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (break_statement break ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) })) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) (return_statement return ;) })))
(function_definition "void FUN_0007f5a0(undefined4 param_1,char *param_2,int param_3)\n\n{\n  uint uVar1;\n  char *pcVar2;\n  \n  if (param_3 != 0) {\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }\nLAB_0007f61c:\n                    \n                    \n  (*(code *)PTR_fflush_000b2f20)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0007f5a0(undefined4 param_1,char *param_2,int param_3)" (identifier "FUN_0007f5a0") (parameter_list "(undefined4 param_1,char *param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  char *pcVar2;\n  \n  if (param_3 != 0) {\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }\nLAB_0007f61c:\n                    \n                    \n  (*(code *)PTR_fflush_000b2f20)(param_1);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (if_statement "if (param_3 != 0) {\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar2 = param_2 + param_3;\n    do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);\n  }" ({ "{") (expression_statement "pcVar2 = param_2 + param_3;" (assignment_expression "pcVar2 = param_2 + param_3" (identifier "pcVar2") (= "=") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3"))) (; ";")) (do_statement "do {\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    } while (pcVar2 != param_2);" (do "do") (compound_statement "{\n      while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }\n    }" ({ "{") (while_statement "while( true ) {\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        uVar1 = (uint)*param_2;\n        param_2 = param_2 + 1;\n        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;\n        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);\n        if (pcVar2 == param_2) goto LAB_0007f61c;\n      }" ({ "{") (expression_statement "uVar1 = (uint)*param_2;" (assignment_expression "uVar1 = (uint)*param_2" (identifier "uVar1") (= "=") (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;" (if "if") (parenthesized_expression "(((uVar1 & 0x60) == 0) && (uVar1 != 10))" (( "(") (binary_expression "((uVar1 & 0x60) == 0) && (uVar1 != 10)" (parenthesized_expression "((uVar1 & 0x60) == 0)" (( "(") (binary_expression "(uVar1 & 0x60) == 0" (parenthesized_expression "(uVar1 & 0x60)" (( "(") (binary_expression "uVar1 & 0x60" (identifier "uVar1") (& "&") (number_literal "0x60")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar1 != 10)" (( "(") (binary_expression "uVar1 != 10" (identifier "uVar1") (!= "!=") (number_literal "10")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "(*(code *)PTR_fputc_000b2db8)(uVar1,param_1);" (call_expression "(*(code *)PTR_fputc_000b2db8)(uVar1,param_1)" (parenthesized_expression "(*(code *)PTR_fputc_000b2db8)" (( "(") (pointer_expression "*(code *)PTR_fputc_000b2db8" (* "*") (cast_expression "(code *)PTR_fputc_000b2db8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fputc_000b2db8"))) () ")")) (argument_list "(uVar1,param_1)" (( "(") (identifier "uVar1") (, ",") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (pcVar2 == param_2) goto LAB_0007f61c;" (if "if") (parenthesized_expression "(pcVar2 == param_2)" (( "(") (binary_expression "pcVar2 == param_2" (identifier "pcVar2") (== "==") (identifier "param_2")) () ")")) (goto_statement "goto LAB_0007f61c;" (goto "goto") (statement_identifier "LAB_0007f61c") (; ";"))) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(pcVar2 != param_2)" (( "(") (binary_expression "pcVar2 != param_2" (identifier "pcVar2") (!= "!=") (identifier "param_2")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0007f61c:\n                    \n                    \n  (*(code *)PTR_fflush_000b2f20)(param_1);" (statement_identifier "LAB_0007f61c") (: ":") (expression_statement "(*(code *)PTR_fflush_000b2f20)(param_1);" (call_expression "(*(code *)PTR_fflush_000b2f20)(param_1)" (parenthesized_expression "(*(code *)PTR_fflush_000b2f20)" (( "(") (pointer_expression "*(code *)PTR_fflush_000b2f20" (* "*") (cast_expression "(code *)PTR_fflush_000b2f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_000b2f20"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (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: (identifier)))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (break_statement)) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (return_statement))))

void MASKED(undefined4 param_1,char *param_2,int param_3)

{
  uint uVar1;
  char *pcVar2;
  
  if (param_3 != 0) {
    pcVar2 = param_2 + param_3;
    do {
      while( true ) {
        uVar1 = (uint)*param_2;
        param_2 = param_2 + 1;
        if (((uVar1 & 0x60) == 0) && (uVar1 != 10)) break;
        (*(code *)PTR_fputc_000b2db8)(uVar1,param_1);
        if (pcVar2 == param_2) goto LAB_0007f61c;
      }
    } while (pcVar2 != param_2);
  }
LAB_0007f61c:
                    /* WARNING: Could not recover jumptable at 0x0007f634. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_fflush_000b2f20)(param_1);
  return;
}

