
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void out_char(int ch)

{
  byte bVar1;
  byte bVar2;
  undefined *puVar3;
  char *__nptr;
  int *piVar4;
  long lVar5;
  ushort **ppuVar6;
  FILE *__stream;
  int in_GS_OFFSET;
  bool bVar7;
  char *endptr;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x14989;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (ch == 0) {
    out_col = 0;
  }
  else {
    bVar7 = line_max != 0;
    lVar5 = line_max;
    if (line_max < 0) {
      __nptr = getenv("DC_LINE_LENGTH");
      line_max = 0x46;
      piVar4 = __errno_location();
      *piVar4 = 0;
      if (__nptr == (char *)0x0) {
        bVar7 = true;
        lVar5 = 0x46;
      }
      else {
        lVar5 = strtol(__nptr,&endptr,0);
        line_max = lVar5;
        ppuVar6 = __ctype_b_loc();
        bVar1 = *endptr;
        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);
        while ((bVar2 & 0x20) != 0) {
          endptr = (char *)((byte *)endptr + 1);
          bVar1 = *endptr;
          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);
        }
        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {
          line_max = 0x46;
          bVar7 = true;
          lVar5 = 0x46;
        }
      }
    }
    puVar3 = PTR_stdout_00020fd4;
    out_col = out_col + 1;
    __stream = *(FILE **)PTR_stdout_00020fd4;
    if ((lVar5 <= out_col) && (bVar7)) {
      putc(0x5c,__stream);
      putc(10,*(FILE **)puVar3);
      __stream = *(FILE **)puVar3;
      out_col = 1;
    }
    putc(ch,__stream);
    checkferror_output(*(FILE **)puVar3);
    checkferror_output(*(FILE **)PTR_stderr_00020fa4);
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_00014980(int param_1)

{
  byte bVar1;
  byte bVar2;
  undefined *puVar3;
  char *__nptr;
  int *piVar4;
  long lVar5;
  ushort **ppuVar6;
  FILE *__stream;
  int in_GS_OFFSET;
  bool bVar7;
  byte *local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x14989;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
    DAT_00021468 = 0;
  }
  else {
    bVar7 = DAT_00021014 != 0;
    lVar5 = DAT_00021014;
    if (DAT_00021014 < 0) {
      __nptr = getenv("DC_LINE_LENGTH");
      DAT_00021014 = 0x46;
      piVar4 = __errno_location();
      *piVar4 = 0;
      if (__nptr == (char *)0x0) {
        bVar7 = true;
        lVar5 = 0x46;
      }
      else {
        lVar5 = strtol(__nptr,(char **)&local_24,0);
        DAT_00021014 = lVar5;
        ppuVar6 = __ctype_b_loc();
        bVar1 = *local_24;
        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);
        while ((bVar2 & 0x20) != 0) {
          local_24 = local_24 + 1;
          bVar1 = *local_24;
          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);
        }
        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {
          DAT_00021014 = 0x46;
          bVar7 = true;
          lVar5 = 0x46;
        }
      }
    }
    puVar3 = PTR_stdout_00020fd4;
    DAT_00021468 = DAT_00021468 + 1;
    __stream = *(FILE **)PTR_stdout_00020fd4;
    if ((lVar5 <= DAT_00021468) && (bVar7)) {
      putc(0x5c,__stream);
      putc(10,*(FILE **)puVar3);
      __stream = *(FILE **)puVar3;
      DAT_00021468 = 1;
    }
    putc(param_1,__stream);
    FUN_0001a8f0(*(undefined4 *)puVar3);
    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0001a9b0();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00011780
ADD EBX,0xc55f
SUB ESP,0x2c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x1c],EAX
XOR EAX,EAX
MOV ESI,dword ptr [ESP + 0x40]
TEST ESI,ESI
JNZ 0x000149d0
MOV dword ptr [EBX + 0x580],0x0
MOV EAX,dword ptr [ESP + 0x1c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00014b37
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,dword ptr [EBX + 0x12c]
TEST EDI,EDI
JS 0x00014a30
SETNZ DL
MOV EAX,dword ptr [EBX + 0x580]
MOV EBP,dword ptr [EBX + 0xec]
ADD EAX,0x1
MOV ECX,dword ptr [EBP]
MOV dword ptr [EBX + 0x580],EAX
CMP EAX,EDI
JL 0x00014a01
TEST DL,DL
JNZ 0x00014af8
SUB ESP,0x8
PUSH ECX
PUSH ESI
CALL 0x00011260
POP EAX
PUSH dword ptr [EBP]
CALL 0x0001a8f0
MOV EAX,dword ptr [EBX + 0xbc]
POP EDX
PUSH dword ptr [EAX]
CALL 0x0001a8f0
ADD ESP,0x10
JMP 0x000149b0
SUB ESP,0xc
LEA EAX,[EBX + 0xffffaa71]
PUSH EAX
CALL 0x00011110
MOV dword ptr [EBX + 0x12c],0x46
MOV EDI,EAX
CALL 0x000111f0
MOV dword ptr [ESP + 0x1c],EAX
ADD ESP,0x10
MOV dword ptr [EAX],0x0
TEST EDI,EDI
JZ 0x00014b28
SUB ESP,0x4
PUSH 0x0
LEA EAX,[ESP + 0x20]
PUSH EAX
PUSH EDI
CALL 0x000112b0
MOV EDI,EAX
MOV dword ptr [EBX + 0x12c],EAX
CALL 0x000112d0
MOV ECX,dword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x28]
ADD ESP,0x10
MOVZX EBP,byte ptr [EAX]
MOV EDX,EBP
TEST byte ptr [ECX + EBP*0x2 + 0x1],0x20
JZ 0x00014ab3
ADD EAX,0x1
LEA ESI,[ESI]
MOV dword ptr [ESP + 0x18],EAX
MOVZX EBP,byte ptr [EAX]
ADD EAX,0x1
MOV EDX,EBP
TEST byte ptr [ECX + EBP*0x2 + 0x1],0x20
JNZ 0x00014aa0
TEST DL,DL
JNZ 0x00014ad9
MOV EAX,EDI
SHR EAX,0x1f
CMP EDI,0x1
SETZ DL
OR DL,AL
JNZ 0x00014ad9
MOV EAX,dword ptr [ESP + 0xc]
TEST EDI,EDI
SETNZ DL
MOV EBP,dword ptr [EAX]
TEST EBP,EBP
JZ 0x000149dd
MOV dword ptr [EBX + 0x12c],0x46
MOV EDX,0x1
MOV EDI,0x46
JMP 0x000149dd
SUB ESP,0x8
PUSH ECX
PUSH 0x5c
CALL 0x00011260
POP ECX
POP EDI
PUSH dword ptr [EBP]
PUSH 0xa
CALL 0x00011260
MOV ECX,dword ptr [EBP]
ADD ESP,0x10
MOV dword ptr [EBX + 0x580],0x1
JMP 0x00014a01
MOV EDX,0x1
MOV EDI,0x46
JMP 0x000149dd
CALL 0x0001a9b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00014980(int param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined *puVar3;\n  char *__nptr;\n  int *piVar4;\n  long lVar5;\n  ushort **ppuVar6;\n  FILE *__stream;\n  int in_GS_OFFSET;\n  bool bVar7;\n  byte *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x14989;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n    DAT_00021468 = 0;\n  }\n  else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0001a9b0();\n}\n\n" comment (function_definition "void FUN_00014980(int param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined *puVar3;\n  char *__nptr;\n  int *piVar4;\n  long lVar5;\n  ushort **ppuVar6;\n  FILE *__stream;\n  int in_GS_OFFSET;\n  bool bVar7;\n  byte *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x14989;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n    DAT_00021468 = 0;\n  }\n  else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0001a9b0();\n}" primitive_type (function_declarator "FUN_00014980(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  undefined *puVar3;\n  char *__nptr;\n  int *piVar4;\n  long lVar5;\n  ushort **ppuVar6;\n  FILE *__stream;\n  int in_GS_OFFSET;\n  bool bVar7;\n  byte *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x14989;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n    DAT_00021468 = 0;\n  }\n  else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0001a9b0();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "ushort **ppuVar6;" type_identifier (pointer_declarator "**ppuVar6" * (pointer_declarator "*ppuVar6" * identifier)) ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "byte *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x14989;" (assignment_expression "uStack_14 = 0x14989" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n    DAT_00021468 = 0;\n  }\n  else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    DAT_00021468 = 0;\n  }" { (expression_statement "DAT_00021468 = 0;" (assignment_expression "DAT_00021468 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }" else (compound_statement "{\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }" { (expression_statement "bVar7 = DAT_00021014 != 0;" (assignment_expression "bVar7 = DAT_00021014 != 0" identifier = (binary_expression "DAT_00021014 != 0" identifier != number_literal)) ;) (expression_statement "lVar5 = DAT_00021014;" (assignment_expression "lVar5 = DAT_00021014" identifier = identifier) ;) (if_statement "if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }" if (parenthesized_expression "(DAT_00021014 < 0)" ( (binary_expression "DAT_00021014 < 0" identifier < number_literal) )) (compound_statement "{\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }" { (expression_statement "__nptr = getenv("DC_LINE_LENGTH");" (assignment_expression "__nptr = getenv("DC_LINE_LENGTH")" identifier = (call_expression "getenv("DC_LINE_LENGTH")" identifier (argument_list "("DC_LINE_LENGTH")" ( (string_literal ""DC_LINE_LENGTH"" " string_content ") )))) ;) (expression_statement "DAT_00021014 = 0x46;" (assignment_expression "DAT_00021014 = 0x46" identifier = number_literal) ;) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" * identifier) = number_literal) ;) (if_statement "if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" if (parenthesized_expression "(__nptr == (char *)0x0)" ( (binary_expression "__nptr == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        bVar7 = true;\n        lVar5 = 0x46;\n      }" { (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (expression_statement "lVar5 = 0x46;" (assignment_expression "lVar5 = 0x46" identifier = number_literal) ;) }) (else_clause "else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" else (compound_statement "{\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" { (expression_statement "lVar5 = strtol(__nptr,(char **)&local_24,0);" (assignment_expression "lVar5 = strtol(__nptr,(char **)&local_24,0)" identifier = (call_expression "strtol(__nptr,(char **)&local_24,0)" identifier (argument_list "(__nptr,(char **)&local_24,0)" ( identifier , (cast_expression "(char **)&local_24" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&local_24" & identifier)) , number_literal )))) ;) (expression_statement "DAT_00021014 = lVar5;" (assignment_expression "DAT_00021014 = lVar5" identifier = identifier) ;) (expression_statement "ppuVar6 = __ctype_b_loc();" (assignment_expression "ppuVar6 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar1 = *local_24;" (assignment_expression "bVar1 = *local_24" identifier = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);" (assignment_expression "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" identifier = (pointer_expression "*(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2 + 1" (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2" (cast_expression "(int)*ppuVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar6" * identifier)) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) ;) (while_statement "while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }" while (parenthesized_expression "((bVar2 & 0x20) != 0)" ( (binary_expression "(bVar2 & 0x20) != 0" (parenthesized_expression "(bVar2 & 0x20)" ( (binary_expression "bVar2 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }" { (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *local_24;" (assignment_expression "bVar1 = *local_24" identifier = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);" (assignment_expression "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" identifier = (pointer_expression "*(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2 + 1" (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2" (cast_expression "(int)*ppuVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar6" * identifier)) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) ;) })) (if_statement "if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }" if (parenthesized_expression "(((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0))" ( (binary_expression "((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)" (parenthesized_expression "((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0))" ( (binary_expression "(bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)" (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) || (parenthesized_expression "(lVar5 == 1 || lVar5 < 0)" ( (binary_expression "lVar5 == 1 || lVar5 < 0" (binary_expression "lVar5 == 1" identifier == number_literal) || (binary_expression "lVar5 < 0" identifier < number_literal)) ))) )) || (parenthesized_expression "(bVar7 = lVar5 != 0, *piVar4 != 0)" ( (comma_expression "bVar7 = lVar5 != 0, *piVar4 != 0" (assignment_expression "bVar7 = lVar5 != 0" identifier = (binary_expression "lVar5 != 0" identifier != number_literal)) , (binary_expression "*piVar4 != 0" (pointer_expression "*piVar4" * identifier) != number_literal)) ))) )) (compound_statement "{\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }" { (expression_statement "DAT_00021014 = 0x46;" (assignment_expression "DAT_00021014 = 0x46" identifier = number_literal) ;) (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (expression_statement "lVar5 = 0x46;" (assignment_expression "lVar5 = 0x46" identifier = number_literal) ;) })) }))) })) (expression_statement "puVar3 = PTR_stdout_00020fd4;" (assignment_expression "puVar3 = PTR_stdout_00020fd4" identifier = identifier) ;) (expression_statement "DAT_00021468 = DAT_00021468 + 1;" (assignment_expression "DAT_00021468 = DAT_00021468 + 1" identifier = (binary_expression "DAT_00021468 + 1" identifier + number_literal)) ;) (expression_statement "__stream = *(FILE **)PTR_stdout_00020fd4;" (assignment_expression "__stream = *(FILE **)PTR_stdout_00020fd4" identifier = (pointer_expression "*(FILE **)PTR_stdout_00020fd4" * (cast_expression "(FILE **)PTR_stdout_00020fd4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }" if (parenthesized_expression "((lVar5 <= DAT_00021468) && (bVar7))" ( (binary_expression "(lVar5 <= DAT_00021468) && (bVar7)" (parenthesized_expression "(lVar5 <= DAT_00021468)" ( (binary_expression "lVar5 <= DAT_00021468" identifier <= identifier) )) && (parenthesized_expression "(bVar7)" ( identifier ))) )) (compound_statement "{\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }" { (expression_statement "putc(0x5c,__stream);" (call_expression "putc(0x5c,__stream)" identifier (argument_list "(0x5c,__stream)" ( number_literal , identifier ))) ;) (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "DAT_00021468 = 1;" (assignment_expression "DAT_00021468 = 1" identifier = number_literal) ;) })) (expression_statement "putc(param_1,__stream);" (call_expression "putc(param_1,__stream)" identifier (argument_list "(param_1,__stream)" ( identifier , identifier ))) ;) (expression_statement "FUN_0001a8f0(*(undefined4 *)puVar3);" (call_expression "FUN_0001a8f0(*(undefined4 *)puVar3)" identifier (argument_list "(*(undefined4 *)puVar3)" ( (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);" (call_expression "FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00020fa4)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00020fa4" * (cast_expression "(undefined4 *)PTR_stderr_00020fa4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) }))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_0001a9b0();" (call_expression "FUN_0001a9b0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid out_char(int ch)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined *puVar3;\n  char *__nptr;\n  int *piVar4;\n  long lVar5;\n  ushort **ppuVar6;\n  FILE *__stream;\n  int in_GS_OFFSET;\n  bool bVar7;\n  char *endptr;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x14989;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (ch == 0) {\n    out_col = 0;\n  }\n  else {\n    bVar7 = line_max != 0;\n    lVar5 = line_max;\n    if (line_max < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      line_max = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,&endptr,0);\n        line_max = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *endptr;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    out_col = out_col + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= out_col) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      out_col = 1;\n    }\n    putc(ch,__stream);\n    checkferror_output(*(FILE **)puVar3);\n    checkferror_output(*(FILE **)PTR_stderr_00020fa4);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "void out_char(int ch)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined *puVar3;\n  char *__nptr;\n  int *piVar4;\n  long lVar5;\n  ushort **ppuVar6;\n  FILE *__stream;\n  int in_GS_OFFSET;\n  bool bVar7;\n  char *endptr;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x14989;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (ch == 0) {\n    out_col = 0;\n  }\n  else {\n    bVar7 = line_max != 0;\n    lVar5 = line_max;\n    if (line_max < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      line_max = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,&endptr,0);\n        line_max = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *endptr;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    out_col = out_col + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= out_col) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      out_col = 1;\n    }\n    putc(ch,__stream);\n    checkferror_output(*(FILE **)puVar3);\n    checkferror_output(*(FILE **)PTR_stderr_00020fa4);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "out_char(int ch)" identifier (parameter_list "(int ch)" ( (parameter_declaration "int ch" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  undefined *puVar3;\n  char *__nptr;\n  int *piVar4;\n  long lVar5;\n  ushort **ppuVar6;\n  FILE *__stream;\n  int in_GS_OFFSET;\n  bool bVar7;\n  char *endptr;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x14989;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (ch == 0) {\n    out_col = 0;\n  }\n  else {\n    bVar7 = line_max != 0;\n    lVar5 = line_max;\n    if (line_max < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      line_max = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,&endptr,0);\n        line_max = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *endptr;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    out_col = out_col + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= out_col) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      out_col = 1;\n    }\n    putc(ch,__stream);\n    checkferror_output(*(FILE **)puVar3);\n    checkferror_output(*(FILE **)PTR_stderr_00020fa4);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "ushort **ppuVar6;" type_identifier (pointer_declarator "**ppuVar6" * (pointer_declarator "*ppuVar6" * identifier)) ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "char *endptr;" primitive_type (pointer_declarator "*endptr" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x14989;" (assignment_expression "uStack_14 = 0x14989" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (ch == 0) {\n    out_col = 0;\n  }\n  else {\n    bVar7 = line_max != 0;\n    lVar5 = line_max;\n    if (line_max < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      line_max = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,&endptr,0);\n        line_max = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *endptr;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    out_col = out_col + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= out_col) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      out_col = 1;\n    }\n    putc(ch,__stream);\n    checkferror_output(*(FILE **)puVar3);\n    checkferror_output(*(FILE **)PTR_stderr_00020fa4);\n  }" if (parenthesized_expression "(ch == 0)" ( (binary_expression "ch == 0" identifier == number_literal) )) (compound_statement "{\n    out_col = 0;\n  }" { (expression_statement "out_col = 0;" (assignment_expression "out_col = 0" identifier = number_literal) ;) }) (else_clause "else {\n    bVar7 = line_max != 0;\n    lVar5 = line_max;\n    if (line_max < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      line_max = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,&endptr,0);\n        line_max = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *endptr;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    out_col = out_col + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= out_col) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      out_col = 1;\n    }\n    putc(ch,__stream);\n    checkferror_output(*(FILE **)puVar3);\n    checkferror_output(*(FILE **)PTR_stderr_00020fa4);\n  }" else (compound_statement "{\n    bVar7 = line_max != 0;\n    lVar5 = line_max;\n    if (line_max < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      line_max = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,&endptr,0);\n        line_max = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *endptr;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    out_col = out_col + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= out_col) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      out_col = 1;\n    }\n    putc(ch,__stream);\n    checkferror_output(*(FILE **)puVar3);\n    checkferror_output(*(FILE **)PTR_stderr_00020fa4);\n  }" { (expression_statement "bVar7 = line_max != 0;" (assignment_expression "bVar7 = line_max != 0" identifier = (binary_expression "line_max != 0" identifier != number_literal)) ;) (expression_statement "lVar5 = line_max;" (assignment_expression "lVar5 = line_max" identifier = identifier) ;) (if_statement "if (line_max < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      line_max = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,&endptr,0);\n        line_max = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *endptr;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }" if (parenthesized_expression "(line_max < 0)" ( (binary_expression "line_max < 0" identifier < number_literal) )) (compound_statement "{\n      __nptr = getenv("DC_LINE_LENGTH");\n      line_max = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,&endptr,0);\n        line_max = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *endptr;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }" { (expression_statement "__nptr = getenv("DC_LINE_LENGTH");" (assignment_expression "__nptr = getenv("DC_LINE_LENGTH")" identifier = (call_expression "getenv("DC_LINE_LENGTH")" identifier (argument_list "("DC_LINE_LENGTH")" ( (string_literal ""DC_LINE_LENGTH"" " string_content ") )))) ;) (expression_statement "line_max = 0x46;" (assignment_expression "line_max = 0x46" identifier = number_literal) ;) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" * identifier) = number_literal) ;) (if_statement "if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,&endptr,0);\n        line_max = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *endptr;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" if (parenthesized_expression "(__nptr == (char *)0x0)" ( (binary_expression "__nptr == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        bVar7 = true;\n        lVar5 = 0x46;\n      }" { (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (expression_statement "lVar5 = 0x46;" (assignment_expression "lVar5 = 0x46" identifier = number_literal) ;) }) (else_clause "else {\n        lVar5 = strtol(__nptr,&endptr,0);\n        line_max = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *endptr;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" else (compound_statement "{\n        lVar5 = strtol(__nptr,&endptr,0);\n        line_max = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *endptr;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" { (expression_statement "lVar5 = strtol(__nptr,&endptr,0);" (assignment_expression "lVar5 = strtol(__nptr,&endptr,0)" identifier = (call_expression "strtol(__nptr,&endptr,0)" identifier (argument_list "(__nptr,&endptr,0)" ( identifier , (pointer_expression "&endptr" & identifier) , number_literal )))) ;) (expression_statement "line_max = lVar5;" (assignment_expression "line_max = lVar5" identifier = identifier) ;) (expression_statement "ppuVar6 = __ctype_b_loc();" (assignment_expression "ppuVar6 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar1 = *endptr;" (assignment_expression "bVar1 = *endptr" identifier = (pointer_expression "*endptr" * identifier)) ;) (expression_statement "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);" (assignment_expression "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" identifier = (pointer_expression "*(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2 + 1" (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2" (cast_expression "(int)*ppuVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar6" * identifier)) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) ;) (while_statement "while ((bVar2 & 0x20) != 0) {\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }" while (parenthesized_expression "((bVar2 & 0x20) != 0)" ( (binary_expression "(bVar2 & 0x20) != 0" (parenthesized_expression "(bVar2 & 0x20)" ( (binary_expression "bVar2 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          endptr = (char *)((byte *)endptr + 1);\n          bVar1 = *endptr;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }" { (expression_statement "endptr = (char *)((byte *)endptr + 1);" (assignment_expression "endptr = (char *)((byte *)endptr + 1)" identifier = (cast_expression "(char *)((byte *)endptr + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)endptr + 1)" ( (binary_expression "(byte *)endptr + 1" (cast_expression "(byte *)endptr" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) ;) (expression_statement "bVar1 = *endptr;" (assignment_expression "bVar1 = *endptr" identifier = (pointer_expression "*endptr" * identifier)) ;) (expression_statement "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);" (assignment_expression "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" identifier = (pointer_expression "*(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2 + 1" (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2" (cast_expression "(int)*ppuVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar6" * identifier)) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) ;) })) (if_statement "if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }" if (parenthesized_expression "(((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0))" ( (binary_expression "((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)" (parenthesized_expression "((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0))" ( (binary_expression "(bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)" (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) || (parenthesized_expression "(lVar5 == 1 || lVar5 < 0)" ( (binary_expression "lVar5 == 1 || lVar5 < 0" (binary_expression "lVar5 == 1" identifier == number_literal) || (binary_expression "lVar5 < 0" identifier < number_literal)) ))) )) || (parenthesized_expression "(bVar7 = lVar5 != 0, *piVar4 != 0)" ( (comma_expression "bVar7 = lVar5 != 0, *piVar4 != 0" (assignment_expression "bVar7 = lVar5 != 0" identifier = (binary_expression "lVar5 != 0" identifier != number_literal)) , (binary_expression "*piVar4 != 0" (pointer_expression "*piVar4" * identifier) != number_literal)) ))) )) (compound_statement "{\n          line_max = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }" { (expression_statement "line_max = 0x46;" (assignment_expression "line_max = 0x46" identifier = number_literal) ;) (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (expression_statement "lVar5 = 0x46;" (assignment_expression "lVar5 = 0x46" identifier = number_literal) ;) })) }))) })) (expression_statement "puVar3 = PTR_stdout_00020fd4;" (assignment_expression "puVar3 = PTR_stdout_00020fd4" identifier = identifier) ;) (expression_statement "out_col = out_col + 1;" (assignment_expression "out_col = out_col + 1" identifier = (binary_expression "out_col + 1" identifier + number_literal)) ;) (expression_statement "__stream = *(FILE **)PTR_stdout_00020fd4;" (assignment_expression "__stream = *(FILE **)PTR_stdout_00020fd4" identifier = (pointer_expression "*(FILE **)PTR_stdout_00020fd4" * (cast_expression "(FILE **)PTR_stdout_00020fd4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((lVar5 <= out_col) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      out_col = 1;\n    }" if (parenthesized_expression "((lVar5 <= out_col) && (bVar7))" ( (binary_expression "(lVar5 <= out_col) && (bVar7)" (parenthesized_expression "(lVar5 <= out_col)" ( (binary_expression "lVar5 <= out_col" identifier <= identifier) )) && (parenthesized_expression "(bVar7)" ( identifier ))) )) (compound_statement "{\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      out_col = 1;\n    }" { (expression_statement "putc(0x5c,__stream);" (call_expression "putc(0x5c,__stream)" identifier (argument_list "(0x5c,__stream)" ( number_literal , identifier ))) ;) (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "out_col = 1;" (assignment_expression "out_col = 1" identifier = number_literal) ;) })) (expression_statement "putc(ch,__stream);" (call_expression "putc(ch,__stream)" identifier (argument_list "(ch,__stream)" ( identifier , identifier ))) ;) (expression_statement "checkferror_output(*(FILE **)puVar3);" (call_expression "checkferror_output(*(FILE **)puVar3)" identifier (argument_list "(*(FILE **)puVar3)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "checkferror_output(*(FILE **)PTR_stderr_00020fa4);" (call_expression "checkferror_output(*(FILE **)PTR_stderr_00020fa4)" identifier (argument_list "(*(FILE **)PTR_stderr_00020fa4)" ( (pointer_expression "*(FILE **)PTR_stderr_00020fa4" * (cast_expression "(FILE **)PTR_stderr_00020fa4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) }))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00014980(int param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined *puVar3;\n  char *__nptr;\n  int *piVar4;\n  long lVar5;\n  ushort **ppuVar6;\n  FILE *__stream;\n  int in_GS_OFFSET;\n  bool bVar7;\n  byte *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x14989;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n    DAT_00021468 = 0;\n  }\n  else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0001a9b0();\n}\n\n" (function_definition "void FUN_00014980(int param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined *puVar3;\n  char *__nptr;\n  int *piVar4;\n  long lVar5;\n  ushort **ppuVar6;\n  FILE *__stream;\n  int in_GS_OFFSET;\n  bool bVar7;\n  byte *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x14989;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n    DAT_00021468 = 0;\n  }\n  else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0001a9b0();\n}" primitive_type (function_declarator "FUN_00014980(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  undefined *puVar3;\n  char *__nptr;\n  int *piVar4;\n  long lVar5;\n  ushort **ppuVar6;\n  FILE *__stream;\n  int in_GS_OFFSET;\n  bool bVar7;\n  byte *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x14989;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n    DAT_00021468 = 0;\n  }\n  else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0001a9b0();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "ushort **ppuVar6;" type_identifier (pointer_declarator "**ppuVar6" * (pointer_declarator "*ppuVar6" * identifier)) ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "byte *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x14989;" (assignment_expression "uStack_14 = 0x14989" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n    DAT_00021468 = 0;\n  }\n  else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    DAT_00021468 = 0;\n  }" { (expression_statement "DAT_00021468 = 0;" (assignment_expression "DAT_00021468 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }" else (compound_statement "{\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }" { (expression_statement "bVar7 = DAT_00021014 != 0;" (assignment_expression "bVar7 = DAT_00021014 != 0" identifier = (binary_expression "DAT_00021014 != 0" identifier != number_literal)) ;) (expression_statement "lVar5 = DAT_00021014;" (assignment_expression "lVar5 = DAT_00021014" identifier = identifier) ;) (if_statement "if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }" if (parenthesized_expression "(DAT_00021014 < 0)" ( (binary_expression "DAT_00021014 < 0" identifier < number_literal) )) (compound_statement "{\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }" { (expression_statement "__nptr = getenv("DC_LINE_LENGTH");" (assignment_expression "__nptr = getenv("DC_LINE_LENGTH")" identifier = (call_expression "getenv("DC_LINE_LENGTH")" identifier (argument_list "("DC_LINE_LENGTH")" ( (string_literal ""DC_LINE_LENGTH"" " string_content ") )))) ;) (expression_statement "DAT_00021014 = 0x46;" (assignment_expression "DAT_00021014 = 0x46" identifier = number_literal) ;) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" * identifier) = number_literal) ;) (if_statement "if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" if (parenthesized_expression "(__nptr == (char *)0x0)" ( (binary_expression "__nptr == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        bVar7 = true;\n        lVar5 = 0x46;\n      }" { (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (expression_statement "lVar5 = 0x46;" (assignment_expression "lVar5 = 0x46" identifier = number_literal) ;) }) (else_clause "else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" else (compound_statement "{\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" { (expression_statement "lVar5 = strtol(__nptr,(char **)&local_24,0);" (assignment_expression "lVar5 = strtol(__nptr,(char **)&local_24,0)" identifier = (call_expression "strtol(__nptr,(char **)&local_24,0)" identifier (argument_list "(__nptr,(char **)&local_24,0)" ( identifier , (cast_expression "(char **)&local_24" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&local_24" & identifier)) , number_literal )))) ;) (expression_statement "DAT_00021014 = lVar5;" (assignment_expression "DAT_00021014 = lVar5" identifier = identifier) ;) (expression_statement "ppuVar6 = __ctype_b_loc();" (assignment_expression "ppuVar6 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar1 = *local_24;" (assignment_expression "bVar1 = *local_24" identifier = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);" (assignment_expression "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" identifier = (pointer_expression "*(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2 + 1" (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2" (cast_expression "(int)*ppuVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar6" * identifier)) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) ;) (while_statement "while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }" while (parenthesized_expression "((bVar2 & 0x20) != 0)" ( (binary_expression "(bVar2 & 0x20) != 0" (parenthesized_expression "(bVar2 & 0x20)" ( (binary_expression "bVar2 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }" { (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = *local_24;" (assignment_expression "bVar1 = *local_24" identifier = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);" (assignment_expression "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" identifier = (pointer_expression "*(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" ( (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2 + 1" (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2" (cast_expression "(int)*ppuVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar6" * identifier)) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) ;) })) (if_statement "if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }" if (parenthesized_expression "(((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0))" ( (binary_expression "((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)" (parenthesized_expression "((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0))" ( (binary_expression "(bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)" (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) || (parenthesized_expression "(lVar5 == 1 || lVar5 < 0)" ( (binary_expression "lVar5 == 1 || lVar5 < 0" (binary_expression "lVar5 == 1" identifier == number_literal) || (binary_expression "lVar5 < 0" identifier < number_literal)) ))) )) || (parenthesized_expression "(bVar7 = lVar5 != 0, *piVar4 != 0)" ( (comma_expression "bVar7 = lVar5 != 0, *piVar4 != 0" (assignment_expression "bVar7 = lVar5 != 0" identifier = (binary_expression "lVar5 != 0" identifier != number_literal)) , (binary_expression "*piVar4 != 0" (pointer_expression "*piVar4" * identifier) != number_literal)) ))) )) (compound_statement "{\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }" { (expression_statement "DAT_00021014 = 0x46;" (assignment_expression "DAT_00021014 = 0x46" identifier = number_literal) ;) (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (expression_statement "lVar5 = 0x46;" (assignment_expression "lVar5 = 0x46" identifier = number_literal) ;) })) }))) })) (expression_statement "puVar3 = PTR_stdout_00020fd4;" (assignment_expression "puVar3 = PTR_stdout_00020fd4" identifier = identifier) ;) (expression_statement "DAT_00021468 = DAT_00021468 + 1;" (assignment_expression "DAT_00021468 = DAT_00021468 + 1" identifier = (binary_expression "DAT_00021468 + 1" identifier + number_literal)) ;) (expression_statement "__stream = *(FILE **)PTR_stdout_00020fd4;" (assignment_expression "__stream = *(FILE **)PTR_stdout_00020fd4" identifier = (pointer_expression "*(FILE **)PTR_stdout_00020fd4" * (cast_expression "(FILE **)PTR_stdout_00020fd4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }" if (parenthesized_expression "((lVar5 <= DAT_00021468) && (bVar7))" ( (binary_expression "(lVar5 <= DAT_00021468) && (bVar7)" (parenthesized_expression "(lVar5 <= DAT_00021468)" ( (binary_expression "lVar5 <= DAT_00021468" identifier <= identifier) )) && (parenthesized_expression "(bVar7)" ( identifier ))) )) (compound_statement "{\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }" { (expression_statement "putc(0x5c,__stream);" (call_expression "putc(0x5c,__stream)" identifier (argument_list "(0x5c,__stream)" ( number_literal , identifier ))) ;) (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" identifier (argument_list "(10,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "DAT_00021468 = 1;" (assignment_expression "DAT_00021468 = 1" identifier = number_literal) ;) })) (expression_statement "putc(param_1,__stream);" (call_expression "putc(param_1,__stream)" identifier (argument_list "(param_1,__stream)" ( identifier , identifier ))) ;) (expression_statement "FUN_0001a8f0(*(undefined4 *)puVar3);" (call_expression "FUN_0001a8f0(*(undefined4 *)puVar3)" identifier (argument_list "(*(undefined4 *)puVar3)" ( (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);" (call_expression "FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00020fa4)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00020fa4" * (cast_expression "(undefined4 *)PTR_stderr_00020fa4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) }))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0001a9b0();" (call_expression "FUN_0001a9b0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (pointer_expression & IDENT)) , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (binary_expression IDENT < LIT)) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT != LIT)) , (binary_expression (pointer_expression * IDENT) != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( IDENT ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00014980(int param_1)\n\n{\n  byte bVar1;\n  byte bVar2;\n  undefined *puVar3;\n  char *__nptr;\n  int *piVar4;\n  long lVar5;\n  ushort **ppuVar6;\n  FILE *__stream;\n  int in_GS_OFFSET;\n  bool bVar7;\n  byte *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x14989;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n    DAT_00021468 = 0;\n  }\n  else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0001a9b0();\n}" (primitive_type "void") (function_declarator "FUN_00014980(int param_1)" (identifier "FUN_00014980") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  undefined *puVar3;\n  char *__nptr;\n  int *piVar4;\n  long lVar5;\n  ushort **ppuVar6;\n  FILE *__stream;\n  int in_GS_OFFSET;\n  bool bVar7;\n  byte *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x14989;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n    DAT_00021468 = 0;\n  }\n  else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0001a9b0();\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "char *__nptr;" (primitive_type "char") (pointer_declarator "*__nptr" (* "*") (identifier "__nptr")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "ushort **ppuVar6;" (type_identifier "ushort") (pointer_declarator "**ppuVar6" (* "*") (pointer_declarator "*ppuVar6" (* "*") (identifier "ppuVar6"))) (; ";")) (declaration "FILE *__stream;" (type_identifier "FILE") (pointer_declarator "*__stream" (* "*") (identifier "__stream")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (declaration "byte *local_24;" (type_identifier "byte") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x14989;" (assignment_expression "uStack_14 = 0x14989" (identifier "uStack_14") (= "=") (number_literal "0x14989")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (param_1 == 0) {\n    DAT_00021468 = 0;\n  }\n  else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_00021468 = 0;\n  }" ({ "{") (expression_statement "DAT_00021468 = 0;" (assignment_expression "DAT_00021468 = 0" (identifier "DAT_00021468") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }" (else "else") (compound_statement "{\n    bVar7 = DAT_00021014 != 0;\n    lVar5 = DAT_00021014;\n    if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }\n    puVar3 = PTR_stdout_00020fd4;\n    DAT_00021468 = DAT_00021468 + 1;\n    __stream = *(FILE **)PTR_stdout_00020fd4;\n    if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }\n    putc(param_1,__stream);\n    FUN_0001a8f0(*(undefined4 *)puVar3);\n    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);\n  }" ({ "{") (expression_statement "bVar7 = DAT_00021014 != 0;" (assignment_expression "bVar7 = DAT_00021014 != 0" (identifier "bVar7") (= "=") (binary_expression "DAT_00021014 != 0" (identifier "DAT_00021014") (!= "!=") (number_literal "0"))) (; ";")) (expression_statement "lVar5 = DAT_00021014;" (assignment_expression "lVar5 = DAT_00021014" (identifier "lVar5") (= "=") (identifier "DAT_00021014")) (; ";")) (if_statement "if (DAT_00021014 < 0) {\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(DAT_00021014 < 0)" (( "(") (binary_expression "DAT_00021014 < 0" (identifier "DAT_00021014") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      __nptr = getenv("DC_LINE_LENGTH");\n      DAT_00021014 = 0x46;\n      piVar4 = __errno_location();\n      *piVar4 = 0;\n      if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }\n    }" ({ "{") (expression_statement "__nptr = getenv("DC_LINE_LENGTH");" (assignment_expression "__nptr = getenv("DC_LINE_LENGTH")" (identifier "__nptr") (= "=") (call_expression "getenv("DC_LINE_LENGTH")" (identifier "getenv") (argument_list "("DC_LINE_LENGTH")" (( "(") (string_literal ""DC_LINE_LENGTH"" (" """) (string_content "DC_LINE_LENGTH") (" """)) () ")")))) (; ";")) (expression_statement "DAT_00021014 = 0x46;" (assignment_expression "DAT_00021014 = 0x46" (identifier "DAT_00021014") (= "=") (number_literal "0x46")) (; ";")) (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" (identifier "piVar4") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (__nptr == (char *)0x0) {\n        bVar7 = true;\n        lVar5 = 0x46;\n      }\n      else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" (if "if") (parenthesized_expression "(__nptr == (char *)0x0)" (( "(") (binary_expression "__nptr == (char *)0x0" (identifier "__nptr") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        bVar7 = true;\n        lVar5 = 0x46;\n      }" ({ "{") (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" (identifier "bVar7") (= "=") (true "true")) (; ";")) (expression_statement "lVar5 = 0x46;" (assignment_expression "lVar5 = 0x46" (identifier "lVar5") (= "=") (number_literal "0x46")) (; ";")) (} "}")) (else_clause "else {\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" (else "else") (compound_statement "{\n        lVar5 = strtol(__nptr,(char **)&local_24,0);\n        DAT_00021014 = lVar5;\n        ppuVar6 = __ctype_b_loc();\n        bVar1 = *local_24;\n        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }\n        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }\n      }" ({ "{") (expression_statement "lVar5 = strtol(__nptr,(char **)&local_24,0);" (assignment_expression "lVar5 = strtol(__nptr,(char **)&local_24,0)" (identifier "lVar5") (= "=") (call_expression "strtol(__nptr,(char **)&local_24,0)" (identifier "strtol") (argument_list "(__nptr,(char **)&local_24,0)" (( "(") (identifier "__nptr") (, ",") (cast_expression "(char **)&local_24" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (pointer_expression "&local_24" (& "&") (identifier "local_24"))) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "DAT_00021014 = lVar5;" (assignment_expression "DAT_00021014 = lVar5" (identifier "DAT_00021014") (= "=") (identifier "lVar5")) (; ";")) (expression_statement "ppuVar6 = __ctype_b_loc();" (assignment_expression "ppuVar6 = __ctype_b_loc()" (identifier "ppuVar6") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "bVar1 = *local_24;" (assignment_expression "bVar1 = *local_24" (identifier "bVar1") (= "=") (pointer_expression "*local_24" (* "*") (identifier "local_24"))) (; ";")) (expression_statement "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);" (assignment_expression "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" (identifier "bVar2") (= "=") (pointer_expression "*(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" (( "(") (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2 + 1" (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2" (cast_expression "(int)*ppuVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar6" (* "*") (identifier "ppuVar6"))) (+ "+") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")"))))) (; ";")) (while_statement "while ((bVar2 & 0x20) != 0) {\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }" (while "while") (parenthesized_expression "((bVar2 & 0x20) != 0)" (( "(") (binary_expression "(bVar2 & 0x20) != 0" (parenthesized_expression "(bVar2 & 0x20)" (( "(") (binary_expression "bVar2 & 0x20" (identifier "bVar2") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          local_24 = local_24 + 1;\n          bVar1 = *local_24;\n          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);\n        }" ({ "{") (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" (identifier "local_24") (= "=") (binary_expression "local_24 + 1" (identifier "local_24") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = *local_24;" (assignment_expression "bVar1 = *local_24" (identifier "bVar1") (= "=") (pointer_expression "*local_24" (* "*") (identifier "local_24"))) (; ";")) (expression_statement "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);" (assignment_expression "bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" (identifier "bVar2") (= "=") (pointer_expression "*(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)*ppuVar6 + (uint)bVar1 * 2 + 1)" (( "(") (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2 + 1" (binary_expression "(int)*ppuVar6 + (uint)bVar1 * 2" (cast_expression "(int)*ppuVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar6" (* "*") (identifier "ppuVar6"))) (+ "+") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }" (if "if") (parenthesized_expression "(((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0))" (( "(") (binary_expression "((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)" (parenthesized_expression "((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0))" (( "(") (binary_expression "(bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)" (parenthesized_expression "(bVar1 != 0)" (( "(") (binary_expression "bVar1 != 0" (identifier "bVar1") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(lVar5 == 1 || lVar5 < 0)" (( "(") (binary_expression "lVar5 == 1 || lVar5 < 0" (binary_expression "lVar5 == 1" (identifier "lVar5") (== "==") (number_literal "1")) (|| "||") (binary_expression "lVar5 < 0" (identifier "lVar5") (< "<") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(bVar7 = lVar5 != 0, *piVar4 != 0)" (( "(") (comma_expression "bVar7 = lVar5 != 0, *piVar4 != 0" (assignment_expression "bVar7 = lVar5 != 0" (identifier "bVar7") (= "=") (binary_expression "lVar5 != 0" (identifier "lVar5") (!= "!=") (number_literal "0"))) (, ",") (binary_expression "*piVar4 != 0" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n          DAT_00021014 = 0x46;\n          bVar7 = true;\n          lVar5 = 0x46;\n        }" ({ "{") (expression_statement "DAT_00021014 = 0x46;" (assignment_expression "DAT_00021014 = 0x46" (identifier "DAT_00021014") (= "=") (number_literal "0x46")) (; ";")) (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" (identifier "bVar7") (= "=") (true "true")) (; ";")) (expression_statement "lVar5 = 0x46;" (assignment_expression "lVar5 = 0x46" (identifier "lVar5") (= "=") (number_literal "0x46")) (; ";")) (} "}"))) (} "}")))) (} "}"))) (expression_statement "puVar3 = PTR_stdout_00020fd4;" (assignment_expression "puVar3 = PTR_stdout_00020fd4" (identifier "puVar3") (= "=") (identifier "PTR_stdout_00020fd4")) (; ";")) (expression_statement "DAT_00021468 = DAT_00021468 + 1;" (assignment_expression "DAT_00021468 = DAT_00021468 + 1" (identifier "DAT_00021468") (= "=") (binary_expression "DAT_00021468 + 1" (identifier "DAT_00021468") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "__stream = *(FILE **)PTR_stdout_00020fd4;" (assignment_expression "__stream = *(FILE **)PTR_stdout_00020fd4" (identifier "__stream") (= "=") (pointer_expression "*(FILE **)PTR_stdout_00020fd4" (* "*") (cast_expression "(FILE **)PTR_stdout_00020fd4" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stdout_00020fd4")))) (; ";")) (if_statement "if ((lVar5 <= DAT_00021468) && (bVar7)) {\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }" (if "if") (parenthesized_expression "((lVar5 <= DAT_00021468) && (bVar7))" (( "(") (binary_expression "(lVar5 <= DAT_00021468) && (bVar7)" (parenthesized_expression "(lVar5 <= DAT_00021468)" (( "(") (binary_expression "lVar5 <= DAT_00021468" (identifier "lVar5") (<= "<=") (identifier "DAT_00021468")) () ")")) (&& "&&") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")"))) () ")")) (compound_statement "{\n      putc(0x5c,__stream);\n      putc(10,*(FILE **)puVar3);\n      __stream = *(FILE **)puVar3;\n      DAT_00021468 = 1;\n    }" ({ "{") (expression_statement "putc(0x5c,__stream);" (call_expression "putc(0x5c,__stream)" (identifier "putc") (argument_list "(0x5c,__stream)" (( "(") (number_literal "0x5c") (, ",") (identifier "__stream") () ")"))) (; ";")) (expression_statement "putc(10,*(FILE **)puVar3);" (call_expression "putc(10,*(FILE **)puVar3)" (identifier "putc") (argument_list "(10,*(FILE **)puVar3)" (( "(") (number_literal "10") (, ",") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" (identifier "__stream") (= "=") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (expression_statement "DAT_00021468 = 1;" (assignment_expression "DAT_00021468 = 1" (identifier "DAT_00021468") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "putc(param_1,__stream);" (call_expression "putc(param_1,__stream)" (identifier "putc") (argument_list "(param_1,__stream)" (( "(") (identifier "param_1") (, ",") (identifier "__stream") () ")"))) (; ";")) (expression_statement "FUN_0001a8f0(*(undefined4 *)puVar3);" (call_expression "FUN_0001a8f0(*(undefined4 *)puVar3)" (identifier "FUN_0001a8f0") (argument_list "(*(undefined4 *)puVar3)" (( "(") (pointer_expression "*(undefined4 *)puVar3" (* "*") (cast_expression "(undefined4 *)puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (expression_statement "FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);" (call_expression "FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4)" (identifier "FUN_0001a8f0") (argument_list "(*(undefined4 *)PTR_stderr_00020fa4)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00020fa4" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00020fa4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00020fa4"))) () ")"))) (; ";")) (} "}")))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0001a9b0();" (call_expression "FUN_0001a9b0()" (identifier "FUN_0001a9b0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(int var_2)

{
  type_1 var_10;
  type_1 var_9;
  type_2 *puVar3;
  char *var_6;
  int *piVar4;
  long var_11;
  type_3 **ppuVar6;
  type_4 *__stream;
  int var_1;
  bool bVar7;
  char *endptr;
  int var_15;
  type_5 uStack_14;
  
  uStack_14 = 0x14989;
  var_15 = *(int *)(var_1 + 0x14);
  if (var_2 == 0) {
    var_12 = 0;
  }
  else {
    bVar7 = var_3 != 0;
    var_11 = var_3;
    if (var_3 < 0) {
      var_6 = var_4("DC_LINE_LENGTH");
      var_3 = 0x46;
      piVar4 = var_5();
      *piVar4 = 0;
      if (var_6 == (char *)0x0) {
        bVar7 = true;
        var_11 = 0x46;
      }
      else {
        var_11 = var_7(var_6,&endptr,0);
        var_3 = var_11;
        ppuVar6 = var_8();
        var_10 = *endptr;
        var_9 = *(type_1 *)((int)*ppuVar6 + (type_6)var_10 * 2 + 1);
        while ((var_9 & 0x20) != 0) {
          endptr = (char *)((type_1 *)endptr + 1);
          var_10 = *endptr;
          var_9 = *(type_1 *)((int)*ppuVar6 + (type_6)var_10 * 2 + 1);
        }
        if (((var_10 != 0) || (var_11 == 1 || var_11 < 0)) || (bVar7 = var_11 != 0, *piVar4 != 0)) {
          var_3 = 0x46;
          bVar7 = true;
          var_11 = 0x46;
        }
      }
    }
    puVar3 = PTR_stdout_00020fd4;
    var_12 = var_12 + 1;
    __stream = *(type_4 **)PTR_stdout_00020fd4;
    if ((var_11 <= var_12) && (bVar7)) {
      var_13(0x5c,__stream);
      var_13(10,*(type_4 **)puVar3);
      __stream = *(type_4 **)puVar3;
      var_12 = 1;
    }
    var_13(var_2,__stream);
    var_14(*(type_4 **)puVar3);
    var_14(*(type_4 **)PTR_stderr_00020fa4);
  }
  if (var_15 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_16();
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int param_1)

{
  byte bVar1;
  byte bVar2;
  undefined *puVar3;
  char *__nptr;
  int *piVar4;
  long lVar5;
  ushort **ppuVar6;
  FILE *__stream;
  int in_GS_OFFSET;
  bool bVar7;
  byte *local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x14989;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
    DAT_00021468 = 0;
  }
  else {
    bVar7 = DAT_00021014 != 0;
    lVar5 = DAT_00021014;
    if (DAT_00021014 < 0) {
      __nptr = getenv("DC_LINE_LENGTH");
      DAT_00021014 = 0x46;
      piVar4 = __errno_location();
      *piVar4 = 0;
      if (__nptr == (char *)0x0) {
        bVar7 = true;
        lVar5 = 0x46;
      }
      else {
        lVar5 = strtol(__nptr,(char **)&local_24,0);
        DAT_00021014 = lVar5;
        ppuVar6 = __ctype_b_loc();
        bVar1 = *local_24;
        bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);
        while ((bVar2 & 0x20) != 0) {
          local_24 = local_24 + 1;
          bVar1 = *local_24;
          bVar2 = *(byte *)((int)*ppuVar6 + (uint)bVar1 * 2 + 1);
        }
        if (((bVar1 != 0) || (lVar5 == 1 || lVar5 < 0)) || (bVar7 = lVar5 != 0, *piVar4 != 0)) {
          DAT_00021014 = 0x46;
          bVar7 = true;
          lVar5 = 0x46;
        }
      }
    }
    puVar3 = PTR_stdout_00020fd4;
    DAT_00021468 = DAT_00021468 + 1;
    __stream = *(FILE **)PTR_stdout_00020fd4;
    if ((lVar5 <= DAT_00021468) && (bVar7)) {
      putc(0x5c,__stream);
      putc(10,*(FILE **)puVar3);
      __stream = *(FILE **)puVar3;
      DAT_00021468 = 1;
    }
    putc(param_1,__stream);
    FUN_0001a8f0(*(undefined4 *)puVar3);
    FUN_0001a8f0(*(undefined4 *)PTR_stderr_00020fa4);
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0001a9b0();
}

