
int writeargv(char **argv,FILE *f)

{
  byte bVar1;
  undefined *puVar2;
  int iVar3;
  byte *pbVar4;
  
  if (f == (FILE *)0x0) {
    return 1;
  }
  pbVar4 = (byte *)*argv;
  puVar2 = PTR__sch_istable_00154f98;
  do {
    if (pbVar4 == (byte *)0x0) {
      PTR__sch_istable_00154f98 = puVar2;
      return 0;
    }
    bVar1 = *pbVar4;
    PTR__sch_istable_00154f98 = puVar2;
    while (bVar1 != 0) {
      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||
          (((byte)(bVar1 - 0x22) < 0x3b &&
           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&
         (iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1)) {
        return 1;
      }
      iVar3 = fputc((int)(char)bVar1,(FILE *)f);
      if (iVar3 == -1) {
        return 1;
      }
      pbVar4 = pbVar4 + 1;
      bVar1 = *pbVar4;
    }
    iVar3 = fputc(10,(FILE *)f);
    if (iVar3 == -1) {
      return 1;
    }
    argv = argv + 1;
    pbVar4 = (byte *)*argv;
    puVar2 = PTR__sch_istable_00154f98;
  } while( true );
}



undefined8 FUN_00138a70(undefined8 *param_1,FILE *param_2)

{
  byte bVar1;
  undefined *puVar2;
  int iVar3;
  byte *pbVar4;
  
  if (param_2 == (FILE *)0x0) {
    return 1;
  }
  pbVar4 = (byte *)*param_1;
  puVar2 = PTR__sch_istable_00154f98;
  do {
    if (pbVar4 == (byte *)0x0) {
      PTR__sch_istable_00154f98 = puVar2;
      return 0;
    }
    bVar1 = *pbVar4;
    PTR__sch_istable_00154f98 = puVar2;
    while (bVar1 != 0) {
      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||
          (((byte)(bVar1 - 0x22) < 0x3b &&
           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&
         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {
        return 1;
      }
      iVar3 = fputc((int)(char)bVar1,param_2);
      if (iVar3 == -1) {
        return 1;
      }
      pbVar4 = pbVar4 + 1;
      bVar1 = *pbVar4;
    }
    iVar3 = fputc(10,param_2);
    if (iVar3 == -1) {
      return 1;
    }
    param_1 = param_1 + 1;
    pbVar4 = (byte *)*param_1;
    puVar2 = PTR__sch_istable_00154f98;
  } while( true );
}


TEST RSI,RSI
JZ 0x00138b40
PUSH R15
PUSH R14
MOV R14,RDI
PUSH R13
MOV R13,0x400000000000021
PUSH R12
PUSH RBP
MOV RBP,RSI
PUSH RBX
SUB RSP,0x8
MOV RBX,qword ptr [RDI]
TEST RBX,RBX
JZ 0x00138b3a
MOVZX EAX,byte ptr [RBX]
TEST AL,AL
JZ 0x00138b18
MOV R12,qword ptr [0x00154f98]
JMP 0x00138ac3
ADD RBX,0x1
MOVZX EAX,byte ptr [RBX]
TEST AL,AL
JZ 0x00138b18
MOVZX EDX,AL
MOVSX R15D,AL
TEST byte ptr [R12 + RDX*0x2],0x40
JNZ 0x00138ade
SUB EAX,0x22
CMP AL,0x3a
JA 0x00138af0
BT R13,RAX
JNC 0x00138af0
MOV RSI,RBP
MOV EDI,0x5c
CALL 0x001073b0
CMP EAX,-0x1
JZ 0x00138b00
MOV RSI,RBP
MOV EDI,R15D
CALL 0x001073b0
CMP EAX,-0x1
JNZ 0x00138ab8
MOV EAX,0x1
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RSI,RBP
MOV EDI,0xa
CALL 0x001073b0
CMP EAX,-0x1
JZ 0x00138b00
ADD R14,0x8
MOV RBX,qword ptr [R14]
TEST RBX,RBX
JNZ 0x00138aa3
XOR EAX,EAX
JMP 0x00138b05
MOV EAX,0x1
RET
(translation_unit "undefined8 FUN_00138a70(undefined8 *param_1,FILE *param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  byte *pbVar4;\n  \n  if (param_2 == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar4 = (byte *)*param_1;\n  puVar2 = PTR__sch_istable_00154f98;\n  do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );\n}\n\n" (function_definition "undefined8 FUN_00138a70(undefined8 *param_1,FILE *param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  byte *pbVar4;\n  \n  if (param_2 == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar4 = (byte *)*param_1;\n  puVar2 = PTR__sch_istable_00154f98;\n  do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );\n}" type_identifier (function_declarator "FUN_00138a70(undefined8 *param_1,FILE *param_2)" identifier (parameter_list "(undefined8 *param_1,FILE *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "FILE *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  byte *pbVar4;\n  \n  if (param_2 == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar4 = (byte *)*param_1;\n  puVar2 = PTR__sch_istable_00154f98;\n  do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (if_statement "if (param_2 == (FILE *)0x0) {\n    return 1;\n  }" if (parenthesized_expression "(param_2 == (FILE *)0x0)" ( (binary_expression "param_2 == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pbVar4 = (byte *)*param_1;" (assignment_expression "pbVar4 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "puVar2 = PTR__sch_istable_00154f98;" (assignment_expression "puVar2 = PTR__sch_istable_00154f98" identifier = identifier) ;) (do_statement "do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );" do (compound_statement "{\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  }" { (if_statement "if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }" if (parenthesized_expression "(pbVar4 == (byte *)0x0)" ( (binary_expression "pbVar4 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }" { (expression_statement "PTR__sch_istable_00154f98 = puVar2;" (assignment_expression "PTR__sch_istable_00154f98 = puVar2" identifier = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "PTR__sch_istable_00154f98 = puVar2;" (assignment_expression "PTR__sch_istable_00154f98 = puVar2" identifier = identifier) ;) (while_statement "while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }" while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }" { (if_statement "if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }" if (parenthesized_expression "((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1))" ( (binary_expression "(((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)" (parenthesized_expression "(((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0))))" ( (binary_expression "((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))" (parenthesized_expression "((puVar2[(ulong)bVar1 * 2] & 0x40) != 0)" ( (binary_expression "(puVar2[(ulong)bVar1 * 2] & 0x40) != 0" (parenthesized_expression "(puVar2[(ulong)bVar1 * 2] & 0x40)" ( (binary_expression "puVar2[(ulong)bVar1 * 2] & 0x40" (subscript_expression "puVar2[(ulong)bVar1 * 2]" identifier [ (binary_expression "(ulong)bVar1 * 2" (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) != number_literal) )) || (parenthesized_expression "(((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))" ( (parenthesized_expression "((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0))" ( (binary_expression "(byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)" (binary_expression "(byte)(bVar1 - 0x22) < 0x3b" (call_expression "(byte)(bVar1 - 0x22)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x22)" ( (binary_expression "bVar1 - 0x22" identifier - number_literal) ))) < number_literal) && (parenthesized_expression "((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)" ( (binary_expression "(0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0" (parenthesized_expression "(0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1)" ( (binary_expression "0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1" (binary_expression "0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f)" number_literal >> (parenthesized_expression "((ulong)(bVar1 - 0x22) & 0x3f)" ( (binary_expression "(ulong)(bVar1 - 0x22) & 0x3f" (call_expression "(ulong)(bVar1 - 0x22)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(bVar1 - 0x22)" ( (binary_expression "bVar1 - 0x22" identifier - number_literal) ))) & number_literal) ))) & number_literal) )) != number_literal) ))) )) ))) )) && (parenthesized_expression "(iVar3 = fputc(0x5c,param_2), iVar3 == -1)" ( (comma_expression "iVar3 = fputc(0x5c,param_2), iVar3 == -1" (assignment_expression "iVar3 = fputc(0x5c,param_2)" identifier = (call_expression "fputc(0x5c,param_2)" identifier (argument_list "(0x5c,param_2)" ( number_literal , identifier )))) , (binary_expression "iVar3 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar3 = fputc((int)(char)bVar1,param_2);" (assignment_expression "iVar3 = fputc((int)(char)bVar1,param_2)" identifier = (call_expression "fputc((int)(char)bVar1,param_2)" identifier (argument_list "((int)(char)bVar1,param_2)" ( (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) , identifier )))) ;) (if_statement "if (iVar3 == -1) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) })) (expression_statement "iVar3 = fputc(10,param_2);" (assignment_expression "iVar3 = fputc(10,param_2)" identifier = (call_expression "fputc(10,param_2)" identifier (argument_list "(10,param_2)" ( number_literal , identifier )))) ;) (if_statement "if (iVar3 == -1) {\n      return 1;\n    }" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = (byte *)*param_1;" (assignment_expression "pbVar4 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "puVar2 = PTR__sch_istable_00154f98;" (assignment_expression "puVar2 = PTR__sch_istable_00154f98" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "int writeargv(char **argv,FILE *f)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  byte *pbVar4;\n  \n  if (f == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar4 = (byte *)*argv;\n  puVar2 = PTR__sch_istable_00154f98;\n  do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,(FILE *)f);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,(FILE *)f);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    argv = argv + 1;\n    pbVar4 = (byte *)*argv;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );\n}\n\n" (function_definition "int writeargv(char **argv,FILE *f)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  byte *pbVar4;\n  \n  if (f == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar4 = (byte *)*argv;\n  puVar2 = PTR__sch_istable_00154f98;\n  do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,(FILE *)f);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,(FILE *)f);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    argv = argv + 1;\n    pbVar4 = (byte *)*argv;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );\n}" primitive_type (function_declarator "writeargv(char **argv,FILE *f)" identifier (parameter_list "(char **argv,FILE *f)" ( (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) , (parameter_declaration "FILE *f" type_identifier (pointer_declarator "*f" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  byte *pbVar4;\n  \n  if (f == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar4 = (byte *)*argv;\n  puVar2 = PTR__sch_istable_00154f98;\n  do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,(FILE *)f);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,(FILE *)f);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    argv = argv + 1;\n    pbVar4 = (byte *)*argv;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (if_statement "if (f == (FILE *)0x0) {\n    return 1;\n  }" if (parenthesized_expression "(f == (FILE *)0x0)" ( (binary_expression "f == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pbVar4 = (byte *)*argv;" (assignment_expression "pbVar4 = (byte *)*argv" identifier = (cast_expression "(byte *)*argv" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*argv" * identifier))) ;) (expression_statement "puVar2 = PTR__sch_istable_00154f98;" (assignment_expression "puVar2 = PTR__sch_istable_00154f98" identifier = identifier) ;) (do_statement "do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,(FILE *)f);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,(FILE *)f);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    argv = argv + 1;\n    pbVar4 = (byte *)*argv;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );" do (compound_statement "{\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,(FILE *)f);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,(FILE *)f);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    argv = argv + 1;\n    pbVar4 = (byte *)*argv;\n    puVar2 = PTR__sch_istable_00154f98;\n  }" { (if_statement "if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }" if (parenthesized_expression "(pbVar4 == (byte *)0x0)" ( (binary_expression "pbVar4 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }" { (expression_statement "PTR__sch_istable_00154f98 = puVar2;" (assignment_expression "PTR__sch_istable_00154f98 = puVar2" identifier = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "PTR__sch_istable_00154f98 = puVar2;" (assignment_expression "PTR__sch_istable_00154f98 = puVar2" identifier = identifier) ;) (while_statement "while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,(FILE *)f);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }" while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,(FILE *)f);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }" { (if_statement "if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1)) {\n        return 1;\n      }" if (parenthesized_expression "((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1))" ( (binary_expression "(((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1)" (parenthesized_expression "(((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0))))" ( (binary_expression "((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))" (parenthesized_expression "((puVar2[(ulong)bVar1 * 2] & 0x40) != 0)" ( (binary_expression "(puVar2[(ulong)bVar1 * 2] & 0x40) != 0" (parenthesized_expression "(puVar2[(ulong)bVar1 * 2] & 0x40)" ( (binary_expression "puVar2[(ulong)bVar1 * 2] & 0x40" (subscript_expression "puVar2[(ulong)bVar1 * 2]" identifier [ (binary_expression "(ulong)bVar1 * 2" (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) != number_literal) )) || (parenthesized_expression "(((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))" ( (parenthesized_expression "((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0))" ( (binary_expression "(byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)" (binary_expression "(byte)(bVar1 - 0x22) < 0x3b" (call_expression "(byte)(bVar1 - 0x22)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x22)" ( (binary_expression "bVar1 - 0x22" identifier - number_literal) ))) < number_literal) && (parenthesized_expression "((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)" ( (binary_expression "(0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0" (parenthesized_expression "(0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1)" ( (binary_expression "0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1" (binary_expression "0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f)" number_literal >> (parenthesized_expression "((ulong)(bVar1 - 0x22) & 0x3f)" ( (binary_expression "(ulong)(bVar1 - 0x22) & 0x3f" (call_expression "(ulong)(bVar1 - 0x22)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(bVar1 - 0x22)" ( (binary_expression "bVar1 - 0x22" identifier - number_literal) ))) & number_literal) ))) & number_literal) )) != number_literal) ))) )) ))) )) && (parenthesized_expression "(iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1)" ( (comma_expression "iVar3 = fputc(0x5c,(FILE *)f), iVar3 == -1" (assignment_expression "iVar3 = fputc(0x5c,(FILE *)f)" identifier = (call_expression "fputc(0x5c,(FILE *)f)" identifier (argument_list "(0x5c,(FILE *)f)" ( number_literal , (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) , (binary_expression "iVar3 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar3 = fputc((int)(char)bVar1,(FILE *)f);" (assignment_expression "iVar3 = fputc((int)(char)bVar1,(FILE *)f)" identifier = (call_expression "fputc((int)(char)bVar1,(FILE *)f)" identifier (argument_list "((int)(char)bVar1,(FILE *)f)" ( (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) , (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar3 == -1) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) })) (expression_statement "iVar3 = fputc(10,(FILE *)f);" (assignment_expression "iVar3 = fputc(10,(FILE *)f)" identifier = (call_expression "fputc(10,(FILE *)f)" identifier (argument_list "(10,(FILE *)f)" ( number_literal , (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar3 == -1) {\n      return 1;\n    }" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "argv = argv + 1;" (assignment_expression "argv = argv + 1" identifier = (binary_expression "argv + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = (byte *)*argv;" (assignment_expression "pbVar4 = (byte *)*argv" identifier = (cast_expression "(byte *)*argv" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*argv" * identifier))) ;) (expression_statement "puVar2 = PTR__sch_istable_00154f98;" (assignment_expression "puVar2 = PTR__sch_istable_00154f98" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined8 FUN_00138a70(undefined8 *param_1,FILE *param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  byte *pbVar4;\n  \n  if (param_2 == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar4 = (byte *)*param_1;\n  puVar2 = PTR__sch_istable_00154f98;\n  do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );\n}\n\n" (function_definition "undefined8 FUN_00138a70(undefined8 *param_1,FILE *param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  byte *pbVar4;\n  \n  if (param_2 == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar4 = (byte *)*param_1;\n  puVar2 = PTR__sch_istable_00154f98;\n  do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );\n}" type_identifier (function_declarator "FUN_00138a70(undefined8 *param_1,FILE *param_2)" identifier (parameter_list "(undefined8 *param_1,FILE *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "FILE *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  byte *pbVar4;\n  \n  if (param_2 == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar4 = (byte *)*param_1;\n  puVar2 = PTR__sch_istable_00154f98;\n  do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (if_statement "if (param_2 == (FILE *)0x0) {\n    return 1;\n  }" if (parenthesized_expression "(param_2 == (FILE *)0x0)" ( (binary_expression "param_2 == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pbVar4 = (byte *)*param_1;" (assignment_expression "pbVar4 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "puVar2 = PTR__sch_istable_00154f98;" (assignment_expression "puVar2 = PTR__sch_istable_00154f98" identifier = identifier) ;) (do_statement "do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );" do (compound_statement "{\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  }" { (if_statement "if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }" if (parenthesized_expression "(pbVar4 == (byte *)0x0)" ( (binary_expression "pbVar4 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }" { (expression_statement "PTR__sch_istable_00154f98 = puVar2;" (assignment_expression "PTR__sch_istable_00154f98 = puVar2" identifier = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "PTR__sch_istable_00154f98 = puVar2;" (assignment_expression "PTR__sch_istable_00154f98 = puVar2" identifier = identifier) ;) (while_statement "while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }" while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }" { (if_statement "if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }" if (parenthesized_expression "((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1))" ( (binary_expression "(((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)" (parenthesized_expression "(((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0))))" ( (binary_expression "((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))" (parenthesized_expression "((puVar2[(ulong)bVar1 * 2] & 0x40) != 0)" ( (binary_expression "(puVar2[(ulong)bVar1 * 2] & 0x40) != 0" (parenthesized_expression "(puVar2[(ulong)bVar1 * 2] & 0x40)" ( (binary_expression "puVar2[(ulong)bVar1 * 2] & 0x40" (subscript_expression "puVar2[(ulong)bVar1 * 2]" identifier [ (binary_expression "(ulong)bVar1 * 2" (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) != number_literal) )) || (parenthesized_expression "(((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))" ( (parenthesized_expression "((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0))" ( (binary_expression "(byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)" (binary_expression "(byte)(bVar1 - 0x22) < 0x3b" (call_expression "(byte)(bVar1 - 0x22)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 0x22)" ( (binary_expression "bVar1 - 0x22" identifier - number_literal) ))) < number_literal) && (parenthesized_expression "((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)" ( (binary_expression "(0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0" (parenthesized_expression "(0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1)" ( (binary_expression "0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1" (binary_expression "0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f)" number_literal >> (parenthesized_expression "((ulong)(bVar1 - 0x22) & 0x3f)" ( (binary_expression "(ulong)(bVar1 - 0x22) & 0x3f" (call_expression "(ulong)(bVar1 - 0x22)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(bVar1 - 0x22)" ( (binary_expression "bVar1 - 0x22" identifier - number_literal) ))) & number_literal) ))) & number_literal) )) != number_literal) ))) )) ))) )) && (parenthesized_expression "(iVar3 = fputc(0x5c,param_2), iVar3 == -1)" ( (comma_expression "iVar3 = fputc(0x5c,param_2), iVar3 == -1" (assignment_expression "iVar3 = fputc(0x5c,param_2)" identifier = (call_expression "fputc(0x5c,param_2)" identifier (argument_list "(0x5c,param_2)" ( number_literal , identifier )))) , (binary_expression "iVar3 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar3 = fputc((int)(char)bVar1,param_2);" (assignment_expression "iVar3 = fputc((int)(char)bVar1,param_2)" identifier = (call_expression "fputc((int)(char)bVar1,param_2)" identifier (argument_list "((int)(char)bVar1,param_2)" ( (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) , identifier )))) ;) (if_statement "if (iVar3 == -1) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) })) (expression_statement "iVar3 = fputc(10,param_2);" (assignment_expression "iVar3 = fputc(10,param_2)" identifier = (call_expression "fputc(10,param_2)" identifier (argument_list "(10,param_2)" ( number_literal , identifier )))) ;) (if_statement "if (iVar3 == -1) {\n      return 1;\n    }" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = (byte *)*param_1;" (assignment_expression "pbVar4 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "puVar2 = PTR__sch_istable_00154f98;" (assignment_expression "puVar2 = PTR__sch_istable_00154f98" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ]) & LIT) )) != LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT >> (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) & LIT) ))) & LIT) )) != LIT) ))) )) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined8 FUN_00138a70(undefined8 *param_1,FILE *param_2)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  byte *pbVar4;\n  \n  if (param_2 == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar4 = (byte *)*param_1;\n  puVar2 = PTR__sch_istable_00154f98;\n  do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );\n}" (type_identifier "undefined8") (function_declarator "FUN_00138a70(undefined8 *param_1,FILE *param_2)" (identifier "FUN_00138a70") (parameter_list "(undefined8 *param_1,FILE *param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "FILE *param_2" (type_identifier "FILE") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  int iVar3;\n  byte *pbVar4;\n  \n  if (param_2 == (FILE *)0x0) {\n    return 1;\n  }\n  pbVar4 = (byte *)*param_1;\n  puVar2 = PTR__sch_istable_00154f98;\n  do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (if_statement "if (param_2 == (FILE *)0x0) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(param_2 == (FILE *)0x0)" (( "(") (binary_expression "param_2 == (FILE *)0x0" (identifier "param_2") (== "==") (cast_expression "(FILE *)0x0" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "pbVar4 = (byte *)*param_1;" (assignment_expression "pbVar4 = (byte *)*param_1" (identifier "pbVar4") (= "=") (cast_expression "(byte *)*param_1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "puVar2 = PTR__sch_istable_00154f98;" (assignment_expression "puVar2 = PTR__sch_istable_00154f98" (identifier "puVar2") (= "=") (identifier "PTR__sch_istable_00154f98")) (; ";")) (do_statement "do {\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  } while( true );" (do "do") (compound_statement "{\n    if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }\n    bVar1 = *pbVar4;\n    PTR__sch_istable_00154f98 = puVar2;\n    while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }\n    iVar3 = fputc(10,param_2);\n    if (iVar3 == -1) {\n      return 1;\n    }\n    param_1 = param_1 + 1;\n    pbVar4 = (byte *)*param_1;\n    puVar2 = PTR__sch_istable_00154f98;\n  }" ({ "{") (if_statement "if (pbVar4 == (byte *)0x0) {\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }" (if "if") (parenthesized_expression "(pbVar4 == (byte *)0x0)" (( "(") (binary_expression "pbVar4 == (byte *)0x0" (identifier "pbVar4") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      PTR__sch_istable_00154f98 = puVar2;\n      return 0;\n    }" ({ "{") (expression_statement "PTR__sch_istable_00154f98 = puVar2;" (assignment_expression "PTR__sch_istable_00154f98 = puVar2" (identifier "PTR__sch_istable_00154f98") (= "=") (identifier "puVar2")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" (identifier "bVar1") (= "=") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4"))) (; ";")) (expression_statement "PTR__sch_istable_00154f98 = puVar2;" (assignment_expression "PTR__sch_istable_00154f98 = puVar2" (identifier "PTR__sch_istable_00154f98") (= "=") (identifier "puVar2")) (; ";")) (while_statement "while (bVar1 != 0) {\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }" (while "while") (parenthesized_expression "(bVar1 != 0)" (( "(") (binary_expression "bVar1 != 0" (identifier "bVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }\n      iVar3 = fputc((int)(char)bVar1,param_2);\n      if (iVar3 == -1) {\n        return 1;\n      }\n      pbVar4 = pbVar4 + 1;\n      bVar1 = *pbVar4;\n    }" ({ "{") (if_statement "if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {\n        return 1;\n      }" (if "if") (parenthesized_expression "((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1))" (( "(") (binary_expression "(((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&\n         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)" (parenthesized_expression "(((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0))))" (( "(") (binary_expression "((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||\n          (((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))" (parenthesized_expression "((puVar2[(ulong)bVar1 * 2] & 0x40) != 0)" (( "(") (binary_expression "(puVar2[(ulong)bVar1 * 2] & 0x40) != 0" (parenthesized_expression "(puVar2[(ulong)bVar1 * 2] & 0x40)" (( "(") (binary_expression "puVar2[(ulong)bVar1 * 2] & 0x40" (subscript_expression "puVar2[(ulong)bVar1 * 2]" (identifier "puVar2") ([ "[") (binary_expression "(ulong)bVar1 * 2" (cast_expression "(ulong)bVar1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar1")) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))" (( "(") (parenthesized_expression "((byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0))" (( "(") (binary_expression "(byte)(bVar1 - 0x22) < 0x3b &&\n           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)" (binary_expression "(byte)(bVar1 - 0x22) < 0x3b" (call_expression "(byte)(bVar1 - 0x22)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar1 - 0x22)" (( "(") (binary_expression "bVar1 - 0x22" (identifier "bVar1") (- "-") (number_literal "0x22")) () ")"))) (< "<") (number_literal "0x3b")) (&& "&&") (parenthesized_expression "((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)" (( "(") (binary_expression "(0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0" (parenthesized_expression "(0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1)" (( "(") (binary_expression "0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1" (binary_expression "0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f)" (number_literal "0x400000000000021U") (>> ">>") (parenthesized_expression "((ulong)(bVar1 - 0x22) & 0x3f)" (( "(") (binary_expression "(ulong)(bVar1 - 0x22) & 0x3f" (call_expression "(ulong)(bVar1 - 0x22)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(bVar1 - 0x22)" (( "(") (binary_expression "bVar1 - 0x22" (identifier "bVar1") (- "-") (number_literal "0x22")) () ")"))) (& "&") (number_literal "0x3f")) () ")"))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = fputc(0x5c,param_2), iVar3 == -1)" (( "(") (comma_expression "iVar3 = fputc(0x5c,param_2), iVar3 == -1" (assignment_expression "iVar3 = fputc(0x5c,param_2)" (identifier "iVar3") (= "=") (call_expression "fputc(0x5c,param_2)" (identifier "fputc") (argument_list "(0x5c,param_2)" (( "(") (number_literal "0x5c") (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar3 == -1" (identifier "iVar3") (== "==") (number_literal "-1"))) () ")"))) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar3 = fputc((int)(char)bVar1,param_2);" (assignment_expression "iVar3 = fputc((int)(char)bVar1,param_2)" (identifier "iVar3") (= "=") (call_expression "fputc((int)(char)bVar1,param_2)" (identifier "fputc") (argument_list "((int)(char)bVar1,param_2)" (( "(") (cast_expression "(int)(char)bVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1"))) (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar3 == -1) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar3 == -1)" (( "(") (binary_expression "iVar3 == -1" (identifier "iVar3") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *pbVar4;" (assignment_expression "bVar1 = *pbVar4" (identifier "bVar1") (= "=") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4"))) (; ";")) (} "}"))) (expression_statement "iVar3 = fputc(10,param_2);" (assignment_expression "iVar3 = fputc(10,param_2)" (identifier "iVar3") (= "=") (call_expression "fputc(10,param_2)" (identifier "fputc") (argument_list "(10,param_2)" (( "(") (number_literal "10") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar3 == -1) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(iVar3 == -1)" (( "(") (binary_expression "iVar3 == -1" (identifier "iVar3") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar4 = (byte *)*param_1;" (assignment_expression "pbVar4 = (byte *)*param_1" (identifier "pbVar4") (= "=") (cast_expression "(byte *)*param_1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "puVar2 = PTR__sch_istable_00154f98;" (assignment_expression "puVar2 = PTR__sch_istable_00154f98" (identifier "puVar2") (= "=") (identifier "PTR__sch_istable_00154f98")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

int function_1(char **var_6,type_1 *var_1)

{
  type_2 var_3;
  type_3 *puVar2;
  int var_5;
  type_2 *var_2;
  
  if (var_1 == (type_1 *)0x0) {
    return 1;
  }
  var_2 = (type_2 *)*var_6;
  puVar2 = PTR__sch_istable_00154f98;
  do {
    if (var_2 == (type_2 *)0x0) {
      PTR__sch_istable_00154f98 = puVar2;
      return 0;
    }
    var_3 = *var_2;
    PTR__sch_istable_00154f98 = puVar2;
    while (var_3 != 0) {
      if ((((puVar2[(type_4)var_3 * 2] & 0x40) != 0) ||
          (((type_2)(var_3 - 0x22) < 0x3b &&
           ((0x400000000000021U >> ((type_4)(var_3 - 0x22) & 0x3f) & 1) != 0)))) &&
         (var_5 = var_4(0x5c,(type_1 *)var_1), var_5 == -1)) {
        return 1;
      }
      var_5 = var_4((int)(char)var_3,(type_1 *)var_1);
      if (var_5 == -1) {
        return 1;
      }
      var_2 = var_2 + 1;
      var_3 = *var_2;
    }
    var_5 = var_4(10,(type_1 *)var_1);
    if (var_5 == -1) {
      return 1;
    }
    var_6 = var_6 + 1;
    var_2 = (type_2 *)*var_6;
    puVar2 = PTR__sch_istable_00154f98;
  } while( true );
}


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

undefined8 MASKED(undefined8 *param_1,FILE *param_2)

{
  byte bVar1;
  undefined *puVar2;
  int iVar3;
  byte *pbVar4;
  
  if (param_2 == (FILE *)0x0) {
    return 1;
  }
  pbVar4 = (byte *)*param_1;
  puVar2 = PTR__sch_istable_00154f98;
  do {
    if (pbVar4 == (byte *)0x0) {
      PTR__sch_istable_00154f98 = puVar2;
      return 0;
    }
    bVar1 = *pbVar4;
    PTR__sch_istable_00154f98 = puVar2;
    while (bVar1 != 0) {
      if ((((puVar2[(ulong)bVar1 * 2] & 0x40) != 0) ||
          (((byte)(bVar1 - 0x22) < 0x3b &&
           ((0x400000000000021U >> ((ulong)(bVar1 - 0x22) & 0x3f) & 1) != 0)))) &&
         (iVar3 = fputc(0x5c,param_2), iVar3 == -1)) {
        return 1;
      }
      iVar3 = fputc((int)(char)bVar1,param_2);
      if (iVar3 == -1) {
        return 1;
      }
      pbVar4 = pbVar4 + 1;
      bVar1 = *pbVar4;
    }
    iVar3 = fputc(10,param_2);
    if (iVar3 == -1) {
      return 1;
    }
    param_1 = param_1 + 1;
    pbVar4 = (byte *)*param_1;
    puVar2 = PTR__sch_istable_00154f98;
  } while( true );
}

