
/* WARNING: Unknown calling convention */

int pretty_print_loop(void)

{
  bool bVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined4 uVar7;
  char *pcVar8;
  int iVar9;
  COMMAND *command;
  
  puVar6 = PTR_read_command_00144868;
  puVar5 = PTR_EOF_Reached_00144854;
  puVar4 = PTR_global_command_00144830;
  puVar3 = PTR_top_level_001445d8;
  puVar2 = PTR_posixly_correct_0014458c;
  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;
  bVar1 = false;
  while( true ) {
    if (*(int *)puVar5 != 0) {
      return 0;
    }
    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);
    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;
    command = *(COMMAND **)puVar4;
    *(undefined4 *)puVar2 = 1;
    *(undefined4 *)puVar4 = 0;
    if ((command == (COMMAND *)0x0) ||
       (pcVar8 = make_command_string(command), pcVar8 == (char *)0x0)) {
      if (!bVar1) {
        (*(code *)PTR_putchar_00146340)(10);
        bVar1 = true;
      }
    }
    else {
      (*(code *)PTR_puts_001463dc)(pcVar8);
      bVar1 = false;
    }
    *(undefined4 *)puVar2 = uVar7;
    dispose_command(command);
  }
  return 1;
}



undefined4 pretty_print_loop(void)

{
  bool bVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined4 uVar7;
  int iVar8;
  int iVar9;
  
  puVar6 = PTR_read_command_00144868;
  puVar5 = PTR_EOF_Reached_00144854;
  puVar4 = PTR_global_command_00144830;
  puVar3 = PTR_top_level_001445d8;
  puVar2 = PTR_posixly_correct_0014458c;
  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;
  bVar1 = false;
  while( true ) {
    if (*(int *)puVar5 != 0) {
      return 0;
    }
    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);
    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;
    iVar9 = *(int *)puVar4;
    *(undefined4 *)puVar2 = 1;
    *(undefined4 *)puVar4 = 0;
    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {
      if (!bVar1) {
        (*(code *)PTR_putchar_00146340)(10);
        bVar1 = true;
      }
    }
    else {
      (*(code *)PTR_puts_001463dc)(iVar8);
      bVar1 = false;
    }
    *(undefined4 *)puVar2 = uVar7;
    dispose_command(iVar9);
  }
  return 1;
}


lui gp,0x12
addiu gp,gp,-0x4b80
addu gp,gp,t9
lw v0,-0x7fb4(gp)
addiu sp,sp,-0x40
lw v1,-0x7cec(gp)
sw v0,0x1c(sp)
sw v1,0x24(sp)
lw v0,0x0(v0)
lw v1,-0x7f68(gp)
sw gp,0x10(sp)
sw v0,0x30(sp)
sw v1,0x28(sp)
sw ra,0x3c(sp)
sw s0,0x38(sp)
sw zero,0x20(sp)
lw v1,-0x7cd8(gp)
lw v0,-0x7d10(gp)
sw v1,0x2c(sp)
b 0x00031158
_sw v0,0x34(sp)
bal 0x00047a7c
_nop
lw gp,0x10(sp)
or a0,v0,zero
beq v0,zero,0x000311b0
_lw t9,-0x6164(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw zero,0x20(sp)
lw v0,0x1c(sp)
or a0,s0,zero
lw v1,0x30(sp)
lw t9,-0x7ce0(gp)
bal 0x00048374
_sw v1,0x0(v0)
lw gp,0x10(sp)
lw v0,0x24(sp)
lw t9,-0x603c(gp)
lw v0,0x0(v0)
bne v0,zero,0x000311ec
_lw a0,0x28(sp)
jalr t9
_nop
bne v0,zero,0x000311d8
_lw t9,0x2c(sp)
jalr t9
_nop
lw gp,0x10(sp)
bne v0,zero,0x000311d8
_lw t9,-0x7cb4(gp)
lw v1,0x34(sp)
li v0,0x1
lw a0,0x1c(sp)
lw s0,0x0(v1)
sw v0,0x0(a0)
sw zero,0x0(v1)
bne s0,zero,0x00031114
_or a0,s0,zero
lw v0,0x20(sp)
bne v0,zero,0x00031140
_lw v0,0x1c(sp)
lw t9,-0x6200(gp)
jalr t9
_li a0,0xa
li v0,0x1
lw gp,0x10(sp)
b 0x0003113c
_sw v0,0x20(sp)
lw ra,0x3c(sp)
li v0,0x1
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x40
lw ra,0x3c(sp)
or v0,zero,zero
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x40
(translation_unit "undefined4 pretty_print_loop(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  \n  puVar6 = PTR_read_command_00144868;\n  puVar5 = PTR_EOF_Reached_00144854;\n  puVar4 = PTR_global_command_00144830;\n  puVar3 = PTR_top_level_001445d8;\n  puVar2 = PTR_posixly_correct_0014458c;\n  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;\n  bVar1 = false;\n  while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 pretty_print_loop(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  \n  puVar6 = PTR_read_command_00144868;\n  puVar5 = PTR_EOF_Reached_00144854;\n  puVar4 = PTR_global_command_00144830;\n  puVar3 = PTR_top_level_001445d8;\n  puVar2 = PTR_posixly_correct_0014458c;\n  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;\n  bVar1 = false;\n  while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }\n  return 1;\n}" type_identifier (function_declarator "pretty_print_loop(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  \n  puVar6 = PTR_read_command_00144868;\n  puVar5 = PTR_EOF_Reached_00144854;\n  puVar4 = PTR_global_command_00144830;\n  puVar3 = PTR_top_level_001445d8;\n  puVar2 = PTR_posixly_correct_0014458c;\n  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;\n  bVar1 = false;\n  while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }\n  return 1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "puVar6 = PTR_read_command_00144868;" (assignment_expression "puVar6 = PTR_read_command_00144868" identifier = identifier) ;) (expression_statement "puVar5 = PTR_EOF_Reached_00144854;" (assignment_expression "puVar5 = PTR_EOF_Reached_00144854" identifier = identifier) ;) (expression_statement "puVar4 = PTR_global_command_00144830;" (assignment_expression "puVar4 = PTR_global_command_00144830" identifier = identifier) ;) (expression_statement "puVar3 = PTR_top_level_001445d8;" (assignment_expression "puVar3 = PTR_top_level_001445d8" identifier = identifier) ;) (expression_statement "puVar2 = PTR_posixly_correct_0014458c;" (assignment_expression "puVar2 = PTR_posixly_correct_0014458c" identifier = identifier) ;) (expression_statement "uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;" (assignment_expression "uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c" identifier = (pointer_expression "*(undefined4 *)PTR_posixly_correct_0014458c" * (cast_expression "(undefined4 *)PTR_posixly_correct_0014458c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (while_statement "while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }" { (if_statement "if (*(int *)puVar5 != 0) {\n      return 0;\n    }" if (parenthesized_expression "(*(int *)puVar5 != 0)" ( (binary_expression "*(int *)puVar5 != 0" (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);" (assignment_expression "iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3)" identifier = (call_expression "(*(code *)PTR__setjmp_00146504)(puVar3)" (parenthesized_expression "(*(code *)PTR__setjmp_00146504)" ( (pointer_expression "*(code *)PTR__setjmp_00146504" * (cast_expression "(code *)PTR__setjmp_00146504" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3)" ( identifier )))) ;) (if_statement "if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;" if (parenthesized_expression "((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0))" ( (binary_expression "(iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)" (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar9 = (*(code *)puVar6)(), iVar9 != 0)" ( (comma_expression "iVar9 = (*(code *)puVar6)(), iVar9 != 0" (assignment_expression "iVar9 = (*(code *)puVar6)()" identifier = (call_expression "(*(code *)puVar6)()" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (binary_expression "iVar9 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar9 = *(int *)puVar4;" (assignment_expression "iVar9 = *(int *)puVar4" identifier = (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)puVar2 = 1;" (assignment_expression "*(undefined4 *)puVar2 = 1" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)puVar4 = 0;" (assignment_expression "*(undefined4 *)puVar4 = 0" (pointer_expression "*(undefined4 *)puVar4" * (cast_expression "(undefined4 *)puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }" if (parenthesized_expression "((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0))" ( (binary_expression "(iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)" (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar8 = make_command_string(iVar9), iVar8 == 0)" ( (comma_expression "iVar8 = make_command_string(iVar9), iVar8 == 0" (assignment_expression "iVar8 = make_command_string(iVar9)" identifier = (call_expression "make_command_string(iVar9)" identifier (argument_list "(iVar9)" ( identifier )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }" { (if_statement "if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (compound_statement "{\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }" { (expression_statement "(*(code *)PTR_putchar_00146340)(10);" (call_expression "(*(code *)PTR_putchar_00146340)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00146340)" ( (pointer_expression "*(code *)PTR_putchar_00146340" * (cast_expression "(code *)PTR_putchar_00146340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) })) }) (else_clause "else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }" else (compound_statement "{\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }" { (expression_statement "(*(code *)PTR_puts_001463dc)(iVar8);" (call_expression "(*(code *)PTR_puts_001463dc)(iVar8)" (parenthesized_expression "(*(code *)PTR_puts_001463dc)" ( (pointer_expression "*(code *)PTR_puts_001463dc" * (cast_expression "(code *)PTR_puts_001463dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier ))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) (expression_statement "*(undefined4 *)puVar2 = uVar7;" (assignment_expression "*(undefined4 *)puVar2 = uVar7" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "dispose_command(iVar9);" (call_expression "dispose_command(iVar9)" identifier (argument_list "(iVar9)" ( identifier ))) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint pretty_print_loop(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  int iVar9;\n  COMMAND *command;\n  \n  puVar6 = PTR_read_command_00144868;\n  puVar5 = PTR_EOF_Reached_00144854;\n  puVar4 = PTR_global_command_00144830;\n  puVar3 = PTR_top_level_001445d8;\n  puVar2 = PTR_posixly_correct_0014458c;\n  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;\n  bVar1 = false;\n  while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    command = *(COMMAND **)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((command == (COMMAND *)0x0) ||\n       (pcVar8 = make_command_string(command), pcVar8 == (char *)0x0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(pcVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(command);\n  }\n  return 1;\n}\n\n" comment (function_definition "int pretty_print_loop(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  int iVar9;\n  COMMAND *command;\n  \n  puVar6 = PTR_read_command_00144868;\n  puVar5 = PTR_EOF_Reached_00144854;\n  puVar4 = PTR_global_command_00144830;\n  puVar3 = PTR_top_level_001445d8;\n  puVar2 = PTR_posixly_correct_0014458c;\n  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;\n  bVar1 = false;\n  while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    command = *(COMMAND **)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((command == (COMMAND *)0x0) ||\n       (pcVar8 = make_command_string(command), pcVar8 == (char *)0x0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(pcVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(command);\n  }\n  return 1;\n}" primitive_type (function_declarator "pretty_print_loop(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  char *pcVar8;\n  int iVar9;\n  COMMAND *command;\n  \n  puVar6 = PTR_read_command_00144868;\n  puVar5 = PTR_EOF_Reached_00144854;\n  puVar4 = PTR_global_command_00144830;\n  puVar3 = PTR_top_level_001445d8;\n  puVar2 = PTR_posixly_correct_0014458c;\n  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;\n  bVar1 = false;\n  while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    command = *(COMMAND **)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((command == (COMMAND *)0x0) ||\n       (pcVar8 = make_command_string(command), pcVar8 == (char *)0x0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(pcVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(command);\n  }\n  return 1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "COMMAND *command;" type_identifier (pointer_declarator "*command" * identifier) ;) (expression_statement "puVar6 = PTR_read_command_00144868;" (assignment_expression "puVar6 = PTR_read_command_00144868" identifier = identifier) ;) (expression_statement "puVar5 = PTR_EOF_Reached_00144854;" (assignment_expression "puVar5 = PTR_EOF_Reached_00144854" identifier = identifier) ;) (expression_statement "puVar4 = PTR_global_command_00144830;" (assignment_expression "puVar4 = PTR_global_command_00144830" identifier = identifier) ;) (expression_statement "puVar3 = PTR_top_level_001445d8;" (assignment_expression "puVar3 = PTR_top_level_001445d8" identifier = identifier) ;) (expression_statement "puVar2 = PTR_posixly_correct_0014458c;" (assignment_expression "puVar2 = PTR_posixly_correct_0014458c" identifier = identifier) ;) (expression_statement "uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;" (assignment_expression "uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c" identifier = (pointer_expression "*(undefined4 *)PTR_posixly_correct_0014458c" * (cast_expression "(undefined4 *)PTR_posixly_correct_0014458c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (while_statement "while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    command = *(COMMAND **)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((command == (COMMAND *)0x0) ||\n       (pcVar8 = make_command_string(command), pcVar8 == (char *)0x0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(pcVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(command);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    command = *(COMMAND **)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((command == (COMMAND *)0x0) ||\n       (pcVar8 = make_command_string(command), pcVar8 == (char *)0x0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(pcVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(command);\n  }" { (if_statement "if (*(int *)puVar5 != 0) {\n      return 0;\n    }" if (parenthesized_expression "(*(int *)puVar5 != 0)" ( (binary_expression "*(int *)puVar5 != 0" (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);" (assignment_expression "iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3)" identifier = (call_expression "(*(code *)PTR__setjmp_00146504)(puVar3)" (parenthesized_expression "(*(code *)PTR__setjmp_00146504)" ( (pointer_expression "*(code *)PTR__setjmp_00146504" * (cast_expression "(code *)PTR__setjmp_00146504" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3)" ( identifier )))) ;) (if_statement "if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;" if (parenthesized_expression "((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0))" ( (binary_expression "(iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)" (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar9 = (*(code *)puVar6)(), iVar9 != 0)" ( (comma_expression "iVar9 = (*(code *)puVar6)(), iVar9 != 0" (assignment_expression "iVar9 = (*(code *)puVar6)()" identifier = (call_expression "(*(code *)puVar6)()" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (binary_expression "iVar9 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "command = *(COMMAND **)puVar4;" (assignment_expression "command = *(COMMAND **)puVar4" identifier = (pointer_expression "*(COMMAND **)puVar4" * (cast_expression "(COMMAND **)puVar4" ( (type_descriptor "COMMAND **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "*(undefined4 *)puVar2 = 1;" (assignment_expression "*(undefined4 *)puVar2 = 1" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)puVar4 = 0;" (assignment_expression "*(undefined4 *)puVar4 = 0" (pointer_expression "*(undefined4 *)puVar4" * (cast_expression "(undefined4 *)puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if ((command == (COMMAND *)0x0) ||\n       (pcVar8 = make_command_string(command), pcVar8 == (char *)0x0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(pcVar8);\n      bVar1 = false;\n    }" if (parenthesized_expression "((command == (COMMAND *)0x0) ||\n       (pcVar8 = make_command_string(command), pcVar8 == (char *)0x0))" ( (binary_expression "(command == (COMMAND *)0x0) ||\n       (pcVar8 = make_command_string(command), pcVar8 == (char *)0x0)" (parenthesized_expression "(command == (COMMAND *)0x0)" ( (binary_expression "command == (COMMAND *)0x0" identifier == (cast_expression "(COMMAND *)0x0" ( (type_descriptor "COMMAND *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pcVar8 = make_command_string(command), pcVar8 == (char *)0x0)" ( (comma_expression "pcVar8 = make_command_string(command), pcVar8 == (char *)0x0" (assignment_expression "pcVar8 = make_command_string(command)" identifier = (call_expression "make_command_string(command)" identifier (argument_list "(command)" ( identifier )))) , (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }" { (if_statement "if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (compound_statement "{\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }" { (expression_statement "(*(code *)PTR_putchar_00146340)(10);" (call_expression "(*(code *)PTR_putchar_00146340)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00146340)" ( (pointer_expression "*(code *)PTR_putchar_00146340" * (cast_expression "(code *)PTR_putchar_00146340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) })) }) (else_clause "else {\n      (*(code *)PTR_puts_001463dc)(pcVar8);\n      bVar1 = false;\n    }" else (compound_statement "{\n      (*(code *)PTR_puts_001463dc)(pcVar8);\n      bVar1 = false;\n    }" { (expression_statement "(*(code *)PTR_puts_001463dc)(pcVar8);" (call_expression "(*(code *)PTR_puts_001463dc)(pcVar8)" (parenthesized_expression "(*(code *)PTR_puts_001463dc)" ( (pointer_expression "*(code *)PTR_puts_001463dc" * (cast_expression "(code *)PTR_puts_001463dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar8)" ( identifier ))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) (expression_statement "*(undefined4 *)puVar2 = uVar7;" (assignment_expression "*(undefined4 *)puVar2 = uVar7" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "dispose_command(command);" (call_expression "dispose_command(command)" identifier (argument_list "(command)" ( identifier ))) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 pretty_print_loop(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  \n  puVar6 = PTR_read_command_00144868;\n  puVar5 = PTR_EOF_Reached_00144854;\n  puVar4 = PTR_global_command_00144830;\n  puVar3 = PTR_top_level_001445d8;\n  puVar2 = PTR_posixly_correct_0014458c;\n  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;\n  bVar1 = false;\n  while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 pretty_print_loop(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  \n  puVar6 = PTR_read_command_00144868;\n  puVar5 = PTR_EOF_Reached_00144854;\n  puVar4 = PTR_global_command_00144830;\n  puVar3 = PTR_top_level_001445d8;\n  puVar2 = PTR_posixly_correct_0014458c;\n  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;\n  bVar1 = false;\n  while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }\n  return 1;\n}" type_identifier (function_declarator "pretty_print_loop(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  \n  puVar6 = PTR_read_command_00144868;\n  puVar5 = PTR_EOF_Reached_00144854;\n  puVar4 = PTR_global_command_00144830;\n  puVar3 = PTR_top_level_001445d8;\n  puVar2 = PTR_posixly_correct_0014458c;\n  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;\n  bVar1 = false;\n  while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }\n  return 1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "puVar6 = PTR_read_command_00144868;" (assignment_expression "puVar6 = PTR_read_command_00144868" identifier = identifier) ;) (expression_statement "puVar5 = PTR_EOF_Reached_00144854;" (assignment_expression "puVar5 = PTR_EOF_Reached_00144854" identifier = identifier) ;) (expression_statement "puVar4 = PTR_global_command_00144830;" (assignment_expression "puVar4 = PTR_global_command_00144830" identifier = identifier) ;) (expression_statement "puVar3 = PTR_top_level_001445d8;" (assignment_expression "puVar3 = PTR_top_level_001445d8" identifier = identifier) ;) (expression_statement "puVar2 = PTR_posixly_correct_0014458c;" (assignment_expression "puVar2 = PTR_posixly_correct_0014458c" identifier = identifier) ;) (expression_statement "uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;" (assignment_expression "uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c" identifier = (pointer_expression "*(undefined4 *)PTR_posixly_correct_0014458c" * (cast_expression "(undefined4 *)PTR_posixly_correct_0014458c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (while_statement "while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }" { (if_statement "if (*(int *)puVar5 != 0) {\n      return 0;\n    }" if (parenthesized_expression "(*(int *)puVar5 != 0)" ( (binary_expression "*(int *)puVar5 != 0" (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);" (assignment_expression "iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3)" identifier = (call_expression "(*(code *)PTR__setjmp_00146504)(puVar3)" (parenthesized_expression "(*(code *)PTR__setjmp_00146504)" ( (pointer_expression "*(code *)PTR__setjmp_00146504" * (cast_expression "(code *)PTR__setjmp_00146504" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3)" ( identifier )))) ;) (if_statement "if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;" if (parenthesized_expression "((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0))" ( (binary_expression "(iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)" (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar9 = (*(code *)puVar6)(), iVar9 != 0)" ( (comma_expression "iVar9 = (*(code *)puVar6)(), iVar9 != 0" (assignment_expression "iVar9 = (*(code *)puVar6)()" identifier = (call_expression "(*(code *)puVar6)()" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) , (binary_expression "iVar9 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar9 = *(int *)puVar4;" (assignment_expression "iVar9 = *(int *)puVar4" identifier = (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)puVar2 = 1;" (assignment_expression "*(undefined4 *)puVar2 = 1" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)puVar4 = 0;" (assignment_expression "*(undefined4 *)puVar4 = 0" (pointer_expression "*(undefined4 *)puVar4" * (cast_expression "(undefined4 *)puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }" if (parenthesized_expression "((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0))" ( (binary_expression "(iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)" (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar8 = make_command_string(iVar9), iVar8 == 0)" ( (comma_expression "iVar8 = make_command_string(iVar9), iVar8 == 0" (assignment_expression "iVar8 = make_command_string(iVar9)" identifier = (call_expression "make_command_string(iVar9)" identifier (argument_list "(iVar9)" ( identifier )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }" { (if_statement "if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (compound_statement "{\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }" { (expression_statement "(*(code *)PTR_putchar_00146340)(10);" (call_expression "(*(code *)PTR_putchar_00146340)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00146340)" ( (pointer_expression "*(code *)PTR_putchar_00146340" * (cast_expression "(code *)PTR_putchar_00146340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) })) }) (else_clause "else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }" else (compound_statement "{\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }" { (expression_statement "(*(code *)PTR_puts_001463dc)(iVar8);" (call_expression "(*(code *)PTR_puts_001463dc)(iVar8)" (parenthesized_expression "(*(code *)PTR_puts_001463dc)" ( (pointer_expression "*(code *)PTR_puts_001463dc" * (cast_expression "(code *)PTR_puts_001463dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier ))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) (expression_statement "*(undefined4 *)puVar2 = uVar7;" (assignment_expression "*(undefined4 *)puVar2 = uVar7" (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "dispose_command(iVar9);" (call_expression "dispose_command(iVar9)" identifier (argument_list "(iVar9)" ( identifier ))) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) , (binary_expression IDENT != LIT)) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 pretty_print_loop(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  \n  puVar6 = PTR_read_command_00144868;\n  puVar5 = PTR_EOF_Reached_00144854;\n  puVar4 = PTR_global_command_00144830;\n  puVar3 = PTR_top_level_001445d8;\n  puVar2 = PTR_posixly_correct_0014458c;\n  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;\n  bVar1 = false;\n  while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "pretty_print_loop(void)" (identifier "pretty_print_loop") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  \n  puVar6 = PTR_read_command_00144868;\n  puVar5 = PTR_EOF_Reached_00144854;\n  puVar4 = PTR_global_command_00144830;\n  puVar3 = PTR_top_level_001445d8;\n  puVar2 = PTR_posixly_correct_0014458c;\n  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;\n  bVar1 = false;\n  while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }\n  return 1;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (expression_statement "puVar6 = PTR_read_command_00144868;" (assignment_expression "puVar6 = PTR_read_command_00144868" (identifier "puVar6") (= "=") (identifier "PTR_read_command_00144868")) (; ";")) (expression_statement "puVar5 = PTR_EOF_Reached_00144854;" (assignment_expression "puVar5 = PTR_EOF_Reached_00144854" (identifier "puVar5") (= "=") (identifier "PTR_EOF_Reached_00144854")) (; ";")) (expression_statement "puVar4 = PTR_global_command_00144830;" (assignment_expression "puVar4 = PTR_global_command_00144830" (identifier "puVar4") (= "=") (identifier "PTR_global_command_00144830")) (; ";")) (expression_statement "puVar3 = PTR_top_level_001445d8;" (assignment_expression "puVar3 = PTR_top_level_001445d8" (identifier "puVar3") (= "=") (identifier "PTR_top_level_001445d8")) (; ";")) (expression_statement "puVar2 = PTR_posixly_correct_0014458c;" (assignment_expression "puVar2 = PTR_posixly_correct_0014458c" (identifier "puVar2") (= "=") (identifier "PTR_posixly_correct_0014458c")) (; ";")) (expression_statement "uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;" (assignment_expression "uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)PTR_posixly_correct_0014458c" (* "*") (cast_expression "(undefined4 *)PTR_posixly_correct_0014458c" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_posixly_correct_0014458c")))) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (while_statement "while( true ) {\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (*(int *)puVar5 != 0) {\n      return 0;\n    }\n    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);\n    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;\n    iVar9 = *(int *)puVar4;\n    *(undefined4 *)puVar2 = 1;\n    *(undefined4 *)puVar4 = 0;\n    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }\n    *(undefined4 *)puVar2 = uVar7;\n    dispose_command(iVar9);\n  }" ({ "{") (if_statement "if (*(int *)puVar5 != 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(*(int *)puVar5 != 0)" (( "(") (binary_expression "*(int *)puVar5 != 0" (pointer_expression "*(int *)puVar5" (* "*") (cast_expression "(int *)puVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);" (assignment_expression "iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR__setjmp_00146504)(puVar3)" (parenthesized_expression "(*(code *)PTR__setjmp_00146504)" (( "(") (pointer_expression "*(code *)PTR__setjmp_00146504" (* "*") (cast_expression "(code *)PTR__setjmp_00146504" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__setjmp_00146504"))) () ")")) (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")")))) (; ";")) (if_statement "if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;" (if "if") (parenthesized_expression "((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0))" (( "(") (binary_expression "(iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)" (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar9 = (*(code *)puVar6)(), iVar9 != 0)" (( "(") (comma_expression "iVar9 = (*(code *)puVar6)(), iVar9 != 0" (assignment_expression "iVar9 = (*(code *)puVar6)()" (identifier "iVar9") (= "=") (call_expression "(*(code *)puVar6)()" (parenthesized_expression "(*(code *)puVar6)" (( "(") (pointer_expression "*(code *)puVar6" (* "*") (cast_expression "(code *)puVar6" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6"))) () ")")) (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar9 = *(int *)puVar4;" (assignment_expression "iVar9 = *(int *)puVar4" (identifier "iVar9") (= "=") (pointer_expression "*(int *)puVar4" (* "*") (cast_expression "(int *)puVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4")))) (; ";")) (expression_statement "*(undefined4 *)puVar2 = 1;" (assignment_expression "*(undefined4 *)puVar2 = 1" (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)puVar4 = 0;" (assignment_expression "*(undefined4 *)puVar4 = 0" (pointer_expression "*(undefined4 *)puVar4" (* "*") (cast_expression "(undefined4 *)puVar4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4"))) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }\n    else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }" (if "if") (parenthesized_expression "((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0))" (( "(") (binary_expression "(iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)" (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar8 = make_command_string(iVar9), iVar8 == 0)" (( "(") (comma_expression "iVar8 = make_command_string(iVar9), iVar8 == 0" (assignment_expression "iVar8 = make_command_string(iVar9)" (identifier "iVar8") (= "=") (call_expression "make_command_string(iVar9)" (identifier "make_command_string") (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")")))) (, ",") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }\n    }" ({ "{") (if_statement "if (!bVar1) {\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }" (if "if") (parenthesized_expression "(!bVar1)" (( "(") (unary_expression "!bVar1" (! "!") (identifier "bVar1")) () ")")) (compound_statement "{\n        (*(code *)PTR_putchar_00146340)(10);\n        bVar1 = true;\n      }" ({ "{") (expression_statement "(*(code *)PTR_putchar_00146340)(10);" (call_expression "(*(code *)PTR_putchar_00146340)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00146340)" (( "(") (pointer_expression "*(code *)PTR_putchar_00146340" (* "*") (cast_expression "(code *)PTR_putchar_00146340" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putchar_00146340"))) () ")")) (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR_puts_001463dc)(iVar8);\n      bVar1 = false;\n    }" ({ "{") (expression_statement "(*(code *)PTR_puts_001463dc)(iVar8);" (call_expression "(*(code *)PTR_puts_001463dc)(iVar8)" (parenthesized_expression "(*(code *)PTR_puts_001463dc)" (( "(") (pointer_expression "*(code *)PTR_puts_001463dc" (* "*") (cast_expression "(code *)PTR_puts_001463dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_001463dc"))) () ")")) (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")"))) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (} "}")))) (expression_statement "*(undefined4 *)puVar2 = uVar7;" (assignment_expression "*(undefined4 *)puVar2 = uVar7" (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "dispose_command(iVar9);" (call_expression "dispose_command(iVar9)" (identifier "dispose_command") (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(void)

{
  bool bVar1;
  type_1 *puVar2;
  type_1 *puVar3;
  type_1 *puVar4;
  type_1 *puVar5;
  type_1 *puVar6;
  type_2 uVar7;
  char *var_4;
  int var_1;
  type_3 *var_2;
  
  puVar6 = PTR_read_command_00144868;
  puVar5 = PTR_EOF_Reached_00144854;
  puVar4 = PTR_global_command_00144830;
  puVar3 = PTR_top_level_001445d8;
  puVar2 = PTR_posixly_correct_0014458c;
  uVar7 = *(type_2 *)PTR_posixly_correct_0014458c;
  bVar1 = false;
  while( true ) {
    if (*(int *)puVar5 != 0) {
      return 0;
    }
    var_1 = (*(type_4 *)PTR__setjmp_00146504)(puVar3);
    if ((var_1 != 0) || (var_1 = (*(type_4 *)puVar6)(), var_1 != 0)) break;
    var_2 = *(type_3 **)puVar4;
    *(type_2 *)puVar2 = 1;
    *(type_2 *)puVar4 = 0;
    if ((var_2 == (type_3 *)0x0) ||
       (var_4 = var_3(var_2), var_4 == (char *)0x0)) {
      if (!bVar1) {
        (*(type_4 *)PTR_putchar_00146340)(10);
        bVar1 = true;
      }
    }
    else {
      (*(type_4 *)PTR_puts_001463dc)(var_4);
      bVar1 = false;
    }
    *(type_2 *)puVar2 = uVar7;
    var_5(var_2);
  }
  return 1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (false))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (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))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (unary_expression argument: (identifier))) consequence: (compound_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 (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (true)))))) alternative: (else_clause (compound_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)))) (expression_statement (assignment_expression left: (identifier) right: (false)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement (number_literal)))))

undefined4 MASKED(void)

{
  bool bVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined4 uVar7;
  int iVar8;
  int iVar9;
  
  puVar6 = PTR_read_command_00144868;
  puVar5 = PTR_EOF_Reached_00144854;
  puVar4 = PTR_global_command_00144830;
  puVar3 = PTR_top_level_001445d8;
  puVar2 = PTR_posixly_correct_0014458c;
  uVar7 = *(undefined4 *)PTR_posixly_correct_0014458c;
  bVar1 = false;
  while( true ) {
    if (*(int *)puVar5 != 0) {
      return 0;
    }
    iVar9 = (*(code *)PTR__setjmp_00146504)(puVar3);
    if ((iVar9 != 0) || (iVar9 = (*(code *)puVar6)(), iVar9 != 0)) break;
    iVar9 = *(int *)puVar4;
    *(undefined4 *)puVar2 = 1;
    *(undefined4 *)puVar4 = 0;
    if ((iVar9 == 0) || (iVar8 = make_command_string(iVar9), iVar8 == 0)) {
      if (!bVar1) {
        (*(code *)PTR_putchar_00146340)(10);
        bVar1 = true;
      }
    }
    else {
      (*(code *)PTR_puts_001463dc)(iVar8);
      bVar1 = false;
    }
    *(undefined4 *)puVar2 = uVar7;
    dispose_command(iVar9);
  }
  return 1;
}

