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

int strings_main(int argc,char **argv)

{
  char *n_arg;
  char *radix;
  
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_0002c6d0(undefined4 param_1,int param_2)

{
  uint uVar1;
  char cVar2;
  int iVar3;
  byte *pbVar4;
  undefined *puVar5;
  int iVar6;
  char *__s;
  undefined4 uVar7;
  _IO_FILE *p_Var8;
  uint uVar9;
  byte *extraout_EDX;
  byte *pbVar10;
  int *piVar11;
  uint uVar12;
  int in_GS_OFFSET;
  bool bVar13;
  uint local_4c;
  int local_48;
  char *local_44;
  undefined *local_28;
  char *local_24;
  undefined4 local_20;
  
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  local_28 = &DAT_000d1341;
  local_24 = "o";
  FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);
  iVar3 = *(int *)PTR_optind_000dbf94;
  iVar6 = FUN_000bee7c();
  __s = (char *)FUN_0001a2f5();
  cVar2 = *local_24;
  if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {
                    /* WARNING: Subroutine does not return */
    FUN_0001803e();
  }
  piVar11 = (int *)(param_2 + iVar3 * 4);
  uVar7 = FUN_0001a76c("%%7ll%s ",local_24);
  local_44 = "%s: ";
  if (*piVar11 == 0) {
    piVar11[-1] = (int)"standard input";
    piVar11 = piVar11 + -1;
    local_44 = "{%s}: ";
  }
  puVar5 = PTR_stdout_000dbfb4;
  uVar1 = iVar6 - 1;
  do {
    p_Var8 = (_IO_FILE *)FUN_000be132();
    if (p_Var8 != (_IO_FILE *)0x0) {
      local_4c = -uVar1;
      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));
      uVar12 = 0;
      do {
        pbVar4 = (byte *)p_Var8->_IO_read_ptr;
        if (pbVar4 < p_Var8->_IO_read_end) {
          pbVar10 = pbVar4 + 1;
          p_Var8->_IO_read_ptr = (char *)pbVar10;
          uVar9 = (uint)*pbVar4;
          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;
LAB_0002c807:
          if (uVar1 < uVar12) {
            FUN_0001a728();
          }
          else {
            __s[uVar12] = (char)uVar9;
            if (uVar12 == uVar1) {
              if ((_DAT_000dc71c & 2) != 0) {
                __printf_chk(1,local_44,*piVar11,pbVar10);
              }
              if ((_DAT_000dc71c & 0x14) != 0) {
                __printf_chk(1,uVar7,local_4c,local_48);
              }
              fputs_unlocked(__s,*(FILE **)puVar5);
            }
            uVar12 = uVar12 + 1;
          }
        }
        else {
          uVar9 = __uflow(p_Var8);
          pbVar10 = extraout_EDX;
          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;
LAB_0002c827:
          if (uVar9 == 9) goto LAB_0002c807;
          if (uVar1 < uVar12) {
            FUN_0001a728();
            uVar12 = 0;
          }
          else {
            uVar12 = 0;
          }
        }
        bVar13 = 0xfffffffe < local_4c;
        local_4c = local_4c + 1;
        local_48 = local_48 + (uint)bVar13;
      } while (uVar9 != 0xffffffff);
      FUN_000b1203();
    }
    piVar11 = piVar11 + 1;
    if (*piVar11 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000b124b();
    }
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x4c
CALL 0x00017650
ADD EBX,0xaf344
MOV EDI,dword ptr [ESP + 0x64]
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x3c],EAX
XOR EAX,EAX
LEA EAX,[EBX + 0xffff5921]
MOV dword ptr [ESP + 0x34],EAX
LEA EAX,[EBX + 0xffff8388]
MOV dword ptr [ESP + 0x38],EAX
LEA EAX,[ESP + 0x38]
PUSH EAX
LEA EAX,[ESP + 0x38]
PUSH EAX
LEA EAX,[EBX + 0xffff3e5b]
PUSH EAX
PUSH EDI
CALL 0x000b23d7
MOV EAX,dword ptr [EBX + 0x574]
MOV EBP,dword ptr [EAX]
MOV ECX,0x7fffffff
MOV EDX,0x1
MOV EAX,dword ptr [ESP + 0x44]
CALL 0x000bee7c
MOV ESI,EAX
INC EAX
CALL 0x0001a2f5
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x48]
MOV DL,byte ptr [EAX]
ADD ESP,0x10
CMP DL,0x64
JZ 0x0002c761
CMP DL,0x6f
JZ 0x0002c761
CMP DL,0x78
JZ 0x0002c761
CALL 0x0001803e
CMP byte ptr [EAX + 0x1],0x0
JNZ 0x0002c75c
LEA EBP,[EDI + EBP*0x4]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffff3e63]
PUSH EAX
CALL 0x0001a76c
MOV dword ptr [ESP + 0x38],EAX
ADD ESP,0x10
LEA EAX,[EBX + 0xffff6644]
MOV dword ptr [ESP + 0x18],EAX
MOV ECX,dword ptr [EBP]
TEST ECX,ECX
JZ 0x0002c8e3
LEA EAX,[ESI + -0x1]
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [ESP + 0x4],0x0
MOV dword ptr [ESP + 0x20],EAX
SAR EAX,0x1f
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [EBX + 0x594]
MOV dword ptr [ESP + 0x2c],EAX
MOV EAX,dword ptr [EBP]
CALL 0x000be132
MOV EDI,EAX
TEST EAX,EAX
JZ 0x0002c8d6
MOV EAX,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [ESP + 0x24]
NEG EAX
ADC EDX,0x0
NEG EDX
MOV dword ptr [ESP + 0x10],EAX
MOV dword ptr [ESP + 0x14],EDX
XOR ESI,ESI
MOV dword ptr [ESP + 0x1c],EBP
MOV EAX,dword ptr [EDI + 0x4]
CMP EAX,dword ptr [EDI + 0x8]
JC 0x0002c816
SUB ESP,0xc
PUSH EDI
CALL 0x00017040
MOV EBP,EAX
ADD ESP,0x10
LEA EAX,[EBP + -0x20]
CMP EAX,0x5e
JA 0x0002c827
CMP ESI,dword ptr [ESP + 0xc]
JBE 0x0002c871
MOV EAX,EBP
CALL 0x0001a728
JMP 0x0002c834
LEA EDX,[EAX + 0x1]
MOV dword ptr [EDI + 0x4],EDX
MOVZX EBP,byte ptr [EAX]
LEA EAX,[EBP + -0x20]
CMP EAX,0x5e
JBE 0x0002c807
CMP EBP,0x9
JZ 0x0002c807
CMP ESI,dword ptr [ESP + 0xc]
JA 0x0002c863
XOR ESI,ESI
ADD dword ptr [ESP + 0x10],0x1
ADC dword ptr [ESP + 0x14],0x0
INC EBP
JNZ 0x0002c7e9
MOV EBP,dword ptr [ESP + 0x1c]
MOV EAX,EDI
CALL 0x000b1203
ADD EBP,0x4
MOV EAX,dword ptr [EBP]
TEST EAX,EAX
JNZ 0x0002c7ba
MOV EAX,dword ptr [ESP + 0x4]
CALL 0x000b124b
MOV EAX,0xa
CALL 0x0001a728
XOR ESI,ESI
JMP 0x0002c834
MOV ECX,dword ptr [ESP + 0x8]
MOV EAX,EBP
MOV byte ptr [ECX + ESI*0x1],AL
JNZ 0x0002c8d0
MOV EAX,dword ptr [EBX + 0xcfc]
TEST AL,0x2
JZ 0x0002c8a1
PUSH EDX
MOV EAX,dword ptr [ESP + 0x20]
PUSH dword ptr [EAX]
PUSH dword ptr [ESP + 0x20]
PUSH 0x1
CALL 0x00016f40
MOV EAX,dword ptr [EBX + 0xcfc]
ADD ESP,0x10
TEST AL,0x14
JZ 0x0002c8bb
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [ESP + 0x30]
PUSH 0x1
CALL 0x00016f40
ADD ESP,0x10
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x34]
PUSH dword ptr [EAX]
PUSH dword ptr [ESP + 0x14]
CALL 0x00016a50
ADD ESP,0x10
INC ESI
JMP 0x0002c834
MOV dword ptr [ESP + 0x4],0x1
JMP 0x0002c84c
LEA EAX,[EBX + 0xffff27aa]
MOV dword ptr [EBP + -0x4],EAX
SUB EBP,0x4
LEA EAX,[EBX + 0xffff3e54]
MOV dword ptr [ESP + 0x18],EAX
JMP 0x0002c796
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_0002c6d0(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  int iVar3;\n  byte *pbVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *__s;\n  undefined4 uVar7;\n  _IO_FILE *p_Var8;\n  uint uVar9;\n  byte *extraout_EDX;\n  byte *pbVar10;\n  int *piVar11;\n  uint uVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_4c;\n  int local_48;\n  char *local_44;\n  undefined *local_28;\n  char *local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = &DAT_000d1341;\n  local_24 = "o";\n  FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);\n  iVar3 = *(int *)PTR_optind_000dbf94;\n  iVar6 = FUN_000bee7c();\n  __s = (char *)FUN_0001a2f5();\n  cVar2 = *local_24;\n  if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0001803e();\n  }\n  piVar11 = (int *)(param_2 + iVar3 * 4);\n  uVar7 = FUN_0001a76c("%%7ll%s ",local_24);\n  local_44 = "%s: ";\n  if (*piVar11 == 0) {\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }\n  puVar5 = PTR_stdout_000dbfb4;\n  uVar1 = iVar6 - 1;\n  do {\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000b124b();\n    }\n  } while( true );\n}\n\n" comment comment (function_definition "void FUN_0002c6d0(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  int iVar3;\n  byte *pbVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *__s;\n  undefined4 uVar7;\n  _IO_FILE *p_Var8;\n  uint uVar9;\n  byte *extraout_EDX;\n  byte *pbVar10;\n  int *piVar11;\n  uint uVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_4c;\n  int local_48;\n  char *local_44;\n  undefined *local_28;\n  char *local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = &DAT_000d1341;\n  local_24 = "o";\n  FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);\n  iVar3 = *(int *)PTR_optind_000dbf94;\n  iVar6 = FUN_000bee7c();\n  __s = (char *)FUN_0001a2f5();\n  cVar2 = *local_24;\n  if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0001803e();\n  }\n  piVar11 = (int *)(param_2 + iVar3 * 4);\n  uVar7 = FUN_0001a76c("%%7ll%s ",local_24);\n  local_44 = "%s: ";\n  if (*piVar11 == 0) {\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }\n  puVar5 = PTR_stdout_000dbfb4;\n  uVar1 = iVar6 - 1;\n  do {\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000b124b();\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_0002c6d0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  int iVar3;\n  byte *pbVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *__s;\n  undefined4 uVar7;\n  _IO_FILE *p_Var8;\n  uint uVar9;\n  byte *extraout_EDX;\n  byte *pbVar10;\n  int *piVar11;\n  uint uVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_4c;\n  int local_48;\n  char *local_44;\n  undefined *local_28;\n  char *local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = &DAT_000d1341;\n  local_24 = "o";\n  FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);\n  iVar3 = *(int *)PTR_optind_000dbf94;\n  iVar6 = FUN_000bee7c();\n  __s = (char *)FUN_0001a2f5();\n  cVar2 = *local_24;\n  if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0001803e();\n  }\n  piVar11 = (int *)(param_2 + iVar3 * 4);\n  uVar7 = FUN_0001a76c("%%7ll%s ",local_24);\n  local_44 = "%s: ";\n  if (*piVar11 == 0) {\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }\n  puVar5 = PTR_stdout_000dbfb4;\n  uVar1 = iVar6 - 1;\n  do {\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000b124b();\n    }\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "_IO_FILE *p_Var8;" type_identifier (pointer_declarator "*p_Var8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "byte *extraout_EDX;" type_identifier (pointer_declarator "*extraout_EDX" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "char *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "undefined *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_28 = &DAT_000d1341;" (assignment_expression "local_28 = &DAT_000d1341" identifier = (pointer_expression "&DAT_000d1341" & identifier)) ;) (expression_statement "local_24 = "o";" (assignment_expression "local_24 = "o"" identifier = (string_literal ""o"" " string_content ")) ;) (expression_statement "FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);" (call_expression "FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24)" identifier (argument_list "(param_2,"afon:t:",&local_28,&local_24)" ( identifier , (string_literal ""afon:t:"" " string_content ") , (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_24" & identifier) ))) ;) (expression_statement "iVar3 = *(int *)PTR_optind_000dbf94;" (assignment_expression "iVar3 = *(int *)PTR_optind_000dbf94" identifier = (pointer_expression "*(int *)PTR_optind_000dbf94" * (cast_expression "(int *)PTR_optind_000dbf94" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar6 = FUN_000bee7c();" (assignment_expression "iVar6 = FUN_000bee7c()" identifier = (call_expression "FUN_000bee7c()" identifier (argument_list "()" ( )))) ;) (expression_statement "__s = (char *)FUN_0001a2f5();" (assignment_expression "__s = (char *)FUN_0001a2f5()" identifier = (cast_expression "(char *)FUN_0001a2f5()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a2f5()" identifier (argument_list "()" ( ))))) ;) (expression_statement "cVar2 = *local_24;" (assignment_expression "cVar2 = *local_24" identifier = (pointer_expression "*local_24" * identifier)) ;) (if_statement "if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0001803e();\n  }" if (parenthesized_expression "((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0'))" ( (binary_expression "(((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')" (parenthesized_expression "(((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x'))" ( (binary_expression "((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')" (parenthesized_expression "((cVar2 != 'd') && (cVar2 != 'o'))" ( (binary_expression "(cVar2 != 'd') && (cVar2 != 'o')" (parenthesized_expression "(cVar2 != 'd')" ( (binary_expression "cVar2 != 'd'" identifier != (char_literal "'d'" ' character ')) )) && (parenthesized_expression "(cVar2 != 'o')" ( (binary_expression "cVar2 != 'o'" identifier != (char_literal "'o'" ' character ')) ))) )) && (parenthesized_expression "(cVar2 != 'x')" ( (binary_expression "cVar2 != 'x'" identifier != (char_literal "'x'" ' character ')) ))) )) || (parenthesized_expression "(local_24[1] != '\0')" ( (binary_expression "local_24[1] != '\0'" (subscript_expression "local_24[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0001803e();\n  }" { comment (expression_statement "FUN_0001803e();" (call_expression "FUN_0001803e()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "piVar11 = (int *)(param_2 + iVar3 * 4);" (assignment_expression "piVar11 = (int *)(param_2 + iVar3 * 4)" identifier = (cast_expression "(int *)(param_2 + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar3 * 4)" ( (binary_expression "param_2 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) ;) (expression_statement "uVar7 = FUN_0001a76c("%%7ll%s ",local_24);" (assignment_expression "uVar7 = FUN_0001a76c("%%7ll%s ",local_24)" identifier = (call_expression "FUN_0001a76c("%%7ll%s ",local_24)" identifier (argument_list "("%%7ll%s ",local_24)" ( (string_literal ""%%7ll%s "" " string_content ") , identifier )))) ;) (expression_statement "local_44 = "%s: ";" (assignment_expression "local_44 = "%s: "" identifier = (string_literal ""%s: "" " string_content ")) ;) (if_statement "if (*piVar11 == 0) {\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }" if (parenthesized_expression "(*piVar11 == 0)" ( (binary_expression "*piVar11 == 0" (pointer_expression "*piVar11" * identifier) == number_literal) )) (compound_statement "{\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }" { (expression_statement "piVar11[-1] = (int)"standard input";" (assignment_expression "piVar11[-1] = (int)"standard input"" (subscript_expression "piVar11[-1]" identifier [ number_literal ]) = (cast_expression "(int)"standard input"" ( (type_descriptor "int" primitive_type) ) (string_literal ""standard input"" " string_content "))) ;) (expression_statement "piVar11 = piVar11 + -1;" (assignment_expression "piVar11 = piVar11 + -1" identifier = (binary_expression "piVar11 + -1" identifier + number_literal)) ;) (expression_statement "local_44 = "{%s}: ";" (assignment_expression "local_44 = "{%s}: "" identifier = (string_literal ""{%s}: "" " string_content ")) ;) })) (expression_statement "puVar5 = PTR_stdout_000dbfb4;" (assignment_expression "puVar5 = PTR_stdout_000dbfb4" identifier = identifier) ;) (expression_statement "uVar1 = iVar6 - 1;" (assignment_expression "uVar1 = iVar6 - 1" identifier = (binary_expression "iVar6 - 1" identifier - number_literal)) ;) (do_statement "do {\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000b124b();\n    }\n  } while( true );" do (compound_statement "{\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000b124b();\n    }\n  }" { (expression_statement "p_Var8 = (_IO_FILE *)FUN_000be132();" (assignment_expression "p_Var8 = (_IO_FILE *)FUN_000be132()" identifier = (cast_expression "(_IO_FILE *)FUN_000be132()" ( (type_descriptor "_IO_FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000be132()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }" if (parenthesized_expression "(p_Var8 != (_IO_FILE *)0x0)" ( (binary_expression "p_Var8 != (_IO_FILE *)0x0" identifier != (cast_expression "(_IO_FILE *)0x0" ( (type_descriptor "_IO_FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }" { (expression_statement "local_4c = -uVar1;" (assignment_expression "local_4c = -uVar1" identifier = (unary_expression "-uVar1" - identifier)) ;) (expression_statement "local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));" (assignment_expression "local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0))" identifier = (unary_expression "-(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0))" - (parenthesized_expression "(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0))" ( (binary_expression "((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0)" (parenthesized_expression "((int)uVar1 >> 0x1f)" ( (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + (call_expression "(uint)(uVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )))) )))) ;) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);" do (compound_statement "{\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      }" { (expression_statement "pbVar4 = (byte *)p_Var8->_IO_read_ptr;" (assignment_expression "pbVar4 = (byte *)p_Var8->_IO_read_ptr" identifier = (cast_expression "(byte *)p_Var8->_IO_read_ptr" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var8->_IO_read_ptr" identifier -> field_identifier))) ;) (if_statement "if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }" if (parenthesized_expression "(pbVar4 < p_Var8->_IO_read_end)" ( (binary_expression "pbVar4 < p_Var8->_IO_read_end" identifier < (field_expression "p_Var8->_IO_read_end" identifier -> field_identifier)) )) (compound_statement "{\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }" { (expression_statement "pbVar10 = pbVar4 + 1;" (assignment_expression "pbVar10 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "p_Var8->_IO_read_ptr = (char *)pbVar10;" (assignment_expression "p_Var8->_IO_read_ptr = (char *)pbVar10" (field_expression "p_Var8->_IO_read_ptr" identifier -> field_identifier) = (cast_expression "(char *)pbVar10" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "uVar9 = (uint)*pbVar4;" (assignment_expression "uVar9 = (uint)*pbVar4" identifier = (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (0x5e < uVar9 - 0x20) goto LAB_0002c827;" if (parenthesized_expression "(0x5e < uVar9 - 0x20)" ( (binary_expression "0x5e < uVar9 - 0x20" number_literal < (binary_expression "uVar9 - 0x20" identifier - number_literal)) )) (goto_statement "goto LAB_0002c827;" goto statement_identifier ;)) (labeled_statement "LAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" statement_identifier : (if_statement "if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" if (parenthesized_expression "(uVar1 < uVar12)" ( (binary_expression "uVar1 < uVar12" identifier < identifier) )) (compound_statement "{\n            FUN_0001a728();\n          }" { (expression_statement "FUN_0001a728();" (call_expression "FUN_0001a728()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" else (compound_statement "{\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" { (expression_statement "__s[uVar12] = (char)uVar9;" (assignment_expression "__s[uVar12] = (char)uVar9" (subscript_expression "__s[uVar12]" identifier [ identifier ]) = (cast_expression "(char)uVar9" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }" if (parenthesized_expression "(uVar12 == uVar1)" ( (binary_expression "uVar12 == uVar1" identifier == identifier) )) (compound_statement "{\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }" { (if_statement "if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }" if (parenthesized_expression "((_DAT_000dc71c & 2) != 0)" ( (binary_expression "(_DAT_000dc71c & 2) != 0" (parenthesized_expression "(_DAT_000dc71c & 2)" ( (binary_expression "_DAT_000dc71c & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }" { (expression_statement "__printf_chk(1,local_44,*piVar11,pbVar10);" (call_expression "__printf_chk(1,local_44,*piVar11,pbVar10)" identifier (argument_list "(1,local_44,*piVar11,pbVar10)" ( number_literal , identifier , (pointer_expression "*piVar11" * identifier) , identifier ))) ;) })) (if_statement "if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }" if (parenthesized_expression "((_DAT_000dc71c & 0x14) != 0)" ( (binary_expression "(_DAT_000dc71c & 0x14) != 0" (parenthesized_expression "(_DAT_000dc71c & 0x14)" ( (binary_expression "_DAT_000dc71c & 0x14" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }" { (expression_statement "__printf_chk(1,uVar7,local_4c,local_48);" (call_expression "__printf_chk(1,uVar7,local_4c,local_48)" identifier (argument_list "(1,uVar7,local_4c,local_48)" ( number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "fputs_unlocked(__s,*(FILE **)puVar5);" (call_expression "fputs_unlocked(__s,*(FILE **)puVar5)" identifier (argument_list "(__s,*(FILE **)puVar5)" ( identifier , (pointer_expression "*(FILE **)puVar5" * (cast_expression "(FILE **)puVar5" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "uVar12 = uVar12 + 1;" (assignment_expression "uVar12 = uVar12 + 1" identifier = (binary_expression "uVar12 + 1" identifier + number_literal)) ;) })))) }) (else_clause "else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }" else (compound_statement "{\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }" { (expression_statement "uVar9 = __uflow(p_Var8);" (assignment_expression "uVar9 = __uflow(p_Var8)" identifier = (call_expression "__uflow(p_Var8)" identifier (argument_list "(p_Var8)" ( identifier )))) ;) (expression_statement "pbVar10 = extraout_EDX;" (assignment_expression "pbVar10 = extraout_EDX" identifier = identifier) ;) (if_statement "if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;" if (parenthesized_expression "(uVar9 - 0x20 < 0x5f)" ( (binary_expression "uVar9 - 0x20 < 0x5f" (binary_expression "uVar9 - 0x20" identifier - number_literal) < number_literal) )) (goto_statement "goto LAB_0002c807;" goto statement_identifier ;)) (labeled_statement "LAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;" statement_identifier : (if_statement "if (uVar9 == 9) goto LAB_0002c807;" if (parenthesized_expression "(uVar9 == 9)" ( (binary_expression "uVar9 == 9" identifier == number_literal) )) (goto_statement "goto LAB_0002c807;" goto statement_identifier ;))) (if_statement "if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }" if (parenthesized_expression "(uVar1 < uVar12)" ( (binary_expression "uVar1 < uVar12" identifier < identifier) )) (compound_statement "{\n            FUN_0001a728();\n            uVar12 = 0;\n          }" { (expression_statement "FUN_0001a728();" (call_expression "FUN_0001a728()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            uVar12 = 0;\n          }" else (compound_statement "{\n            uVar12 = 0;\n          }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) }))) }))) (expression_statement "bVar13 = 0xfffffffe < local_4c;" (assignment_expression "bVar13 = 0xfffffffe < local_4c" identifier = (binary_expression "0xfffffffe < local_4c" number_literal < identifier)) ;) (expression_statement "local_4c = local_4c + 1;" (assignment_expression "local_4c = local_4c + 1" identifier = (binary_expression "local_4c + 1" identifier + number_literal)) ;) (expression_statement "local_48 = local_48 + (uint)bVar13;" (assignment_expression "local_48 = local_48 + (uint)bVar13" identifier = (binary_expression "local_48 + (uint)bVar13" identifier + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) while (parenthesized_expression "(uVar9 != 0xffffffff)" ( (binary_expression "uVar9 != 0xffffffff" identifier != number_literal) )) ;) (expression_statement "FUN_000b1203();" (call_expression "FUN_000b1203()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" identifier = (binary_expression "piVar11 + 1" identifier + number_literal)) ;) (if_statement "if (*piVar11 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_000b124b();\n    }" if (parenthesized_expression "(*piVar11 == 0)" ( (binary_expression "*piVar11 == 0" (pointer_expression "*piVar11" * identifier) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_000b124b();\n    }" { comment (expression_statement "FUN_000b124b();" (call_expression "FUN_000b124b()" identifier (argument_list "()" ( ))) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint strings_main(int argc,char **argv)\n\n{\n  char *n_arg;\n  char *radix;\n  \n}\n\n" comment (function_definition "int strings_main(int argc,char **argv)\n\n{\n  char *n_arg;\n  char *radix;\n  \n}" primitive_type (function_declarator "strings_main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  char *n_arg;\n  char *radix;\n  \n}" { (declaration "char *n_arg;" primitive_type (pointer_declarator "*n_arg" * identifier) ;) (declaration "char *radix;" primitive_type (pointer_declarator "*radix" * identifier) ;) })))
(translation_unit "void FUN_0002c6d0(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  int iVar3;\n  byte *pbVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *__s;\n  undefined4 uVar7;\n  _IO_FILE *p_Var8;\n  uint uVar9;\n  byte *extraout_EDX;\n  byte *pbVar10;\n  int *piVar11;\n  uint uVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_4c;\n  int local_48;\n  char *local_44;\n  undefined *local_28;\n  char *local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = &DAT_000d1341;\n  local_24 = "o";\n  FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);\n  iVar3 = *(int *)PTR_optind_000dbf94;\n  iVar6 = FUN_000bee7c();\n  __s = (char *)FUN_0001a2f5();\n  cVar2 = *local_24;\n  if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {\n                    \n    FUN_0001803e();\n  }\n  piVar11 = (int *)(param_2 + iVar3 * 4);\n  uVar7 = FUN_0001a76c("%%7ll%s ",local_24);\n  local_44 = "%s: ";\n  if (*piVar11 == 0) {\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }\n  puVar5 = PTR_stdout_000dbfb4;\n  uVar1 = iVar6 - 1;\n  do {\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    \n      FUN_000b124b();\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_0002c6d0(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  int iVar3;\n  byte *pbVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *__s;\n  undefined4 uVar7;\n  _IO_FILE *p_Var8;\n  uint uVar9;\n  byte *extraout_EDX;\n  byte *pbVar10;\n  int *piVar11;\n  uint uVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_4c;\n  int local_48;\n  char *local_44;\n  undefined *local_28;\n  char *local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = &DAT_000d1341;\n  local_24 = "o";\n  FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);\n  iVar3 = *(int *)PTR_optind_000dbf94;\n  iVar6 = FUN_000bee7c();\n  __s = (char *)FUN_0001a2f5();\n  cVar2 = *local_24;\n  if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {\n                    \n    FUN_0001803e();\n  }\n  piVar11 = (int *)(param_2 + iVar3 * 4);\n  uVar7 = FUN_0001a76c("%%7ll%s ",local_24);\n  local_44 = "%s: ";\n  if (*piVar11 == 0) {\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }\n  puVar5 = PTR_stdout_000dbfb4;\n  uVar1 = iVar6 - 1;\n  do {\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    \n      FUN_000b124b();\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_0002c6d0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  int iVar3;\n  byte *pbVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *__s;\n  undefined4 uVar7;\n  _IO_FILE *p_Var8;\n  uint uVar9;\n  byte *extraout_EDX;\n  byte *pbVar10;\n  int *piVar11;\n  uint uVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_4c;\n  int local_48;\n  char *local_44;\n  undefined *local_28;\n  char *local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = &DAT_000d1341;\n  local_24 = "o";\n  FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);\n  iVar3 = *(int *)PTR_optind_000dbf94;\n  iVar6 = FUN_000bee7c();\n  __s = (char *)FUN_0001a2f5();\n  cVar2 = *local_24;\n  if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {\n                    \n    FUN_0001803e();\n  }\n  piVar11 = (int *)(param_2 + iVar3 * 4);\n  uVar7 = FUN_0001a76c("%%7ll%s ",local_24);\n  local_44 = "%s: ";\n  if (*piVar11 == 0) {\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }\n  puVar5 = PTR_stdout_000dbfb4;\n  uVar1 = iVar6 - 1;\n  do {\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    \n      FUN_000b124b();\n    }\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "_IO_FILE *p_Var8;" type_identifier (pointer_declarator "*p_Var8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "byte *extraout_EDX;" type_identifier (pointer_declarator "*extraout_EDX" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "char *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "undefined *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_28 = &DAT_000d1341;" (assignment_expression "local_28 = &DAT_000d1341" identifier = (pointer_expression "&DAT_000d1341" & identifier)) ;) (expression_statement "local_24 = "o";" (assignment_expression "local_24 = "o"" identifier = (string_literal ""o"" " string_content ")) ;) (expression_statement "FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);" (call_expression "FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24)" identifier (argument_list "(param_2,"afon:t:",&local_28,&local_24)" ( identifier , (string_literal ""afon:t:"" " string_content ") , (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_24" & identifier) ))) ;) (expression_statement "iVar3 = *(int *)PTR_optind_000dbf94;" (assignment_expression "iVar3 = *(int *)PTR_optind_000dbf94" identifier = (pointer_expression "*(int *)PTR_optind_000dbf94" * (cast_expression "(int *)PTR_optind_000dbf94" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar6 = FUN_000bee7c();" (assignment_expression "iVar6 = FUN_000bee7c()" identifier = (call_expression "FUN_000bee7c()" identifier (argument_list "()" ( )))) ;) (expression_statement "__s = (char *)FUN_0001a2f5();" (assignment_expression "__s = (char *)FUN_0001a2f5()" identifier = (cast_expression "(char *)FUN_0001a2f5()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001a2f5()" identifier (argument_list "()" ( ))))) ;) (expression_statement "cVar2 = *local_24;" (assignment_expression "cVar2 = *local_24" identifier = (pointer_expression "*local_24" * identifier)) ;) (if_statement "if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {\n                    \n    FUN_0001803e();\n  }" if (parenthesized_expression "((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0'))" ( (binary_expression "(((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')" (parenthesized_expression "(((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x'))" ( (binary_expression "((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')" (parenthesized_expression "((cVar2 != 'd') && (cVar2 != 'o'))" ( (binary_expression "(cVar2 != 'd') && (cVar2 != 'o')" (parenthesized_expression "(cVar2 != 'd')" ( (binary_expression "cVar2 != 'd'" identifier != (char_literal "'d'" ' character ')) )) && (parenthesized_expression "(cVar2 != 'o')" ( (binary_expression "cVar2 != 'o'" identifier != (char_literal "'o'" ' character ')) ))) )) && (parenthesized_expression "(cVar2 != 'x')" ( (binary_expression "cVar2 != 'x'" identifier != (char_literal "'x'" ' character ')) ))) )) || (parenthesized_expression "(local_24[1] != '\0')" ( (binary_expression "local_24[1] != '\0'" (subscript_expression "local_24[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                    \n    FUN_0001803e();\n  }" { (expression_statement "FUN_0001803e();" (call_expression "FUN_0001803e()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "piVar11 = (int *)(param_2 + iVar3 * 4);" (assignment_expression "piVar11 = (int *)(param_2 + iVar3 * 4)" identifier = (cast_expression "(int *)(param_2 + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar3 * 4)" ( (binary_expression "param_2 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) ;) (expression_statement "uVar7 = FUN_0001a76c("%%7ll%s ",local_24);" (assignment_expression "uVar7 = FUN_0001a76c("%%7ll%s ",local_24)" identifier = (call_expression "FUN_0001a76c("%%7ll%s ",local_24)" identifier (argument_list "("%%7ll%s ",local_24)" ( (string_literal ""%%7ll%s "" " string_content ") , identifier )))) ;) (expression_statement "local_44 = "%s: ";" (assignment_expression "local_44 = "%s: "" identifier = (string_literal ""%s: "" " string_content ")) ;) (if_statement "if (*piVar11 == 0) {\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }" if (parenthesized_expression "(*piVar11 == 0)" ( (binary_expression "*piVar11 == 0" (pointer_expression "*piVar11" * identifier) == number_literal) )) (compound_statement "{\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }" { (expression_statement "piVar11[-1] = (int)"standard input";" (assignment_expression "piVar11[-1] = (int)"standard input"" (subscript_expression "piVar11[-1]" identifier [ number_literal ]) = (cast_expression "(int)"standard input"" ( (type_descriptor "int" primitive_type) ) (string_literal ""standard input"" " string_content "))) ;) (expression_statement "piVar11 = piVar11 + -1;" (assignment_expression "piVar11 = piVar11 + -1" identifier = (binary_expression "piVar11 + -1" identifier + number_literal)) ;) (expression_statement "local_44 = "{%s}: ";" (assignment_expression "local_44 = "{%s}: "" identifier = (string_literal ""{%s}: "" " string_content ")) ;) })) (expression_statement "puVar5 = PTR_stdout_000dbfb4;" (assignment_expression "puVar5 = PTR_stdout_000dbfb4" identifier = identifier) ;) (expression_statement "uVar1 = iVar6 - 1;" (assignment_expression "uVar1 = iVar6 - 1" identifier = (binary_expression "iVar6 - 1" identifier - number_literal)) ;) (do_statement "do {\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    \n      FUN_000b124b();\n    }\n  } while( true );" do (compound_statement "{\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    \n      FUN_000b124b();\n    }\n  }" { (expression_statement "p_Var8 = (_IO_FILE *)FUN_000be132();" (assignment_expression "p_Var8 = (_IO_FILE *)FUN_000be132()" identifier = (cast_expression "(_IO_FILE *)FUN_000be132()" ( (type_descriptor "_IO_FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000be132()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }" if (parenthesized_expression "(p_Var8 != (_IO_FILE *)0x0)" ( (binary_expression "p_Var8 != (_IO_FILE *)0x0" identifier != (cast_expression "(_IO_FILE *)0x0" ( (type_descriptor "_IO_FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }" { (expression_statement "local_4c = -uVar1;" (assignment_expression "local_4c = -uVar1" identifier = (unary_expression "-uVar1" - identifier)) ;) (expression_statement "local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));" (assignment_expression "local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0))" identifier = (unary_expression "-(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0))" - (parenthesized_expression "(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0))" ( (binary_expression "((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0)" (parenthesized_expression "((int)uVar1 >> 0x1f)" ( (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + (call_expression "(uint)(uVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )))) )))) ;) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);" do (compound_statement "{\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      }" { (expression_statement "pbVar4 = (byte *)p_Var8->_IO_read_ptr;" (assignment_expression "pbVar4 = (byte *)p_Var8->_IO_read_ptr" identifier = (cast_expression "(byte *)p_Var8->_IO_read_ptr" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var8->_IO_read_ptr" identifier -> field_identifier))) ;) (if_statement "if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }" if (parenthesized_expression "(pbVar4 < p_Var8->_IO_read_end)" ( (binary_expression "pbVar4 < p_Var8->_IO_read_end" identifier < (field_expression "p_Var8->_IO_read_end" identifier -> field_identifier)) )) (compound_statement "{\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }" { (expression_statement "pbVar10 = pbVar4 + 1;" (assignment_expression "pbVar10 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "p_Var8->_IO_read_ptr = (char *)pbVar10;" (assignment_expression "p_Var8->_IO_read_ptr = (char *)pbVar10" (field_expression "p_Var8->_IO_read_ptr" identifier -> field_identifier) = (cast_expression "(char *)pbVar10" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "uVar9 = (uint)*pbVar4;" (assignment_expression "uVar9 = (uint)*pbVar4" identifier = (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (0x5e < uVar9 - 0x20) goto LAB_0002c827;" if (parenthesized_expression "(0x5e < uVar9 - 0x20)" ( (binary_expression "0x5e < uVar9 - 0x20" number_literal < (binary_expression "uVar9 - 0x20" identifier - number_literal)) )) (goto_statement "goto LAB_0002c827;" goto statement_identifier ;)) (labeled_statement "LAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" statement_identifier : (if_statement "if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" if (parenthesized_expression "(uVar1 < uVar12)" ( (binary_expression "uVar1 < uVar12" identifier < identifier) )) (compound_statement "{\n            FUN_0001a728();\n          }" { (expression_statement "FUN_0001a728();" (call_expression "FUN_0001a728()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" else (compound_statement "{\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" { (expression_statement "__s[uVar12] = (char)uVar9;" (assignment_expression "__s[uVar12] = (char)uVar9" (subscript_expression "__s[uVar12]" identifier [ identifier ]) = (cast_expression "(char)uVar9" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }" if (parenthesized_expression "(uVar12 == uVar1)" ( (binary_expression "uVar12 == uVar1" identifier == identifier) )) (compound_statement "{\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }" { (if_statement "if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }" if (parenthesized_expression "((_DAT_000dc71c & 2) != 0)" ( (binary_expression "(_DAT_000dc71c & 2) != 0" (parenthesized_expression "(_DAT_000dc71c & 2)" ( (binary_expression "_DAT_000dc71c & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }" { (expression_statement "__printf_chk(1,local_44,*piVar11,pbVar10);" (call_expression "__printf_chk(1,local_44,*piVar11,pbVar10)" identifier (argument_list "(1,local_44,*piVar11,pbVar10)" ( number_literal , identifier , (pointer_expression "*piVar11" * identifier) , identifier ))) ;) })) (if_statement "if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }" if (parenthesized_expression "((_DAT_000dc71c & 0x14) != 0)" ( (binary_expression "(_DAT_000dc71c & 0x14) != 0" (parenthesized_expression "(_DAT_000dc71c & 0x14)" ( (binary_expression "_DAT_000dc71c & 0x14" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }" { (expression_statement "__printf_chk(1,uVar7,local_4c,local_48);" (call_expression "__printf_chk(1,uVar7,local_4c,local_48)" identifier (argument_list "(1,uVar7,local_4c,local_48)" ( number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "fputs_unlocked(__s,*(FILE **)puVar5);" (call_expression "fputs_unlocked(__s,*(FILE **)puVar5)" identifier (argument_list "(__s,*(FILE **)puVar5)" ( identifier , (pointer_expression "*(FILE **)puVar5" * (cast_expression "(FILE **)puVar5" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "uVar12 = uVar12 + 1;" (assignment_expression "uVar12 = uVar12 + 1" identifier = (binary_expression "uVar12 + 1" identifier + number_literal)) ;) })))) }) (else_clause "else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }" else (compound_statement "{\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }" { (expression_statement "uVar9 = __uflow(p_Var8);" (assignment_expression "uVar9 = __uflow(p_Var8)" identifier = (call_expression "__uflow(p_Var8)" identifier (argument_list "(p_Var8)" ( identifier )))) ;) (expression_statement "pbVar10 = extraout_EDX;" (assignment_expression "pbVar10 = extraout_EDX" identifier = identifier) ;) (if_statement "if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;" if (parenthesized_expression "(uVar9 - 0x20 < 0x5f)" ( (binary_expression "uVar9 - 0x20 < 0x5f" (binary_expression "uVar9 - 0x20" identifier - number_literal) < number_literal) )) (goto_statement "goto LAB_0002c807;" goto statement_identifier ;)) (labeled_statement "LAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;" statement_identifier : (if_statement "if (uVar9 == 9) goto LAB_0002c807;" if (parenthesized_expression "(uVar9 == 9)" ( (binary_expression "uVar9 == 9" identifier == number_literal) )) (goto_statement "goto LAB_0002c807;" goto statement_identifier ;))) (if_statement "if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }" if (parenthesized_expression "(uVar1 < uVar12)" ( (binary_expression "uVar1 < uVar12" identifier < identifier) )) (compound_statement "{\n            FUN_0001a728();\n            uVar12 = 0;\n          }" { (expression_statement "FUN_0001a728();" (call_expression "FUN_0001a728()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            uVar12 = 0;\n          }" else (compound_statement "{\n            uVar12 = 0;\n          }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) }))) }))) (expression_statement "bVar13 = 0xfffffffe < local_4c;" (assignment_expression "bVar13 = 0xfffffffe < local_4c" identifier = (binary_expression "0xfffffffe < local_4c" number_literal < identifier)) ;) (expression_statement "local_4c = local_4c + 1;" (assignment_expression "local_4c = local_4c + 1" identifier = (binary_expression "local_4c + 1" identifier + number_literal)) ;) (expression_statement "local_48 = local_48 + (uint)bVar13;" (assignment_expression "local_48 = local_48 + (uint)bVar13" identifier = (binary_expression "local_48 + (uint)bVar13" identifier + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) while (parenthesized_expression "(uVar9 != 0xffffffff)" ( (binary_expression "uVar9 != 0xffffffff" identifier != number_literal) )) ;) (expression_statement "FUN_000b1203();" (call_expression "FUN_000b1203()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" identifier = (binary_expression "piVar11 + 1" identifier + number_literal)) ;) (if_statement "if (*piVar11 == 0) {\n                    \n      FUN_000b124b();\n    }" if (parenthesized_expression "(*piVar11 == 0)" ( (binary_expression "*piVar11 == 0" (pointer_expression "*piVar11" * identifier) == number_literal) )) (compound_statement "{\n                    \n      FUN_000b124b();\n    }" { (expression_statement "FUN_000b124b();" (call_expression "FUN_000b124b()" identifier (argument_list "()" ( ))) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) ))) )) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) ))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (string_literal " string_content "))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (field_expression IDENT -> field_identifier))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (field_expression IDENT -> field_identifier)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (field_expression IDENT -> field_identifier) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , (pointer_expression * IDENT) , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_0002c6d0(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  int iVar3;\n  byte *pbVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *__s;\n  undefined4 uVar7;\n  _IO_FILE *p_Var8;\n  uint uVar9;\n  byte *extraout_EDX;\n  byte *pbVar10;\n  int *piVar11;\n  uint uVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_4c;\n  int local_48;\n  char *local_44;\n  undefined *local_28;\n  char *local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = &DAT_000d1341;\n  local_24 = "o";\n  FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);\n  iVar3 = *(int *)PTR_optind_000dbf94;\n  iVar6 = FUN_000bee7c();\n  __s = (char *)FUN_0001a2f5();\n  cVar2 = *local_24;\n  if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {\n                    \n    FUN_0001803e();\n  }\n  piVar11 = (int *)(param_2 + iVar3 * 4);\n  uVar7 = FUN_0001a76c("%%7ll%s ",local_24);\n  local_44 = "%s: ";\n  if (*piVar11 == 0) {\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }\n  puVar5 = PTR_stdout_000dbfb4;\n  uVar1 = iVar6 - 1;\n  do {\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    \n      FUN_000b124b();\n    }\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_0002c6d0(undefined4 param_1,int param_2)" (identifier "FUN_0002c6d0") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  int iVar3;\n  byte *pbVar4;\n  undefined *puVar5;\n  int iVar6;\n  char *__s;\n  undefined4 uVar7;\n  _IO_FILE *p_Var8;\n  uint uVar9;\n  byte *extraout_EDX;\n  byte *pbVar10;\n  int *piVar11;\n  uint uVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  uint local_4c;\n  int local_48;\n  char *local_44;\n  undefined *local_28;\n  char *local_24;\n  undefined4 local_20;\n  \n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_28 = &DAT_000d1341;\n  local_24 = "o";\n  FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);\n  iVar3 = *(int *)PTR_optind_000dbf94;\n  iVar6 = FUN_000bee7c();\n  __s = (char *)FUN_0001a2f5();\n  cVar2 = *local_24;\n  if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {\n                    \n    FUN_0001803e();\n  }\n  piVar11 = (int *)(param_2 + iVar3 * 4);\n  uVar7 = FUN_0001a76c("%%7ll%s ",local_24);\n  local_44 = "%s: ";\n  if (*piVar11 == 0) {\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }\n  puVar5 = PTR_stdout_000dbfb4;\n  uVar1 = iVar6 - 1;\n  do {\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    \n      FUN_000b124b();\n    }\n  } while( true );\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "_IO_FILE *p_Var8;" (type_identifier "_IO_FILE") (pointer_declarator "*p_Var8" (* "*") (identifier "p_Var8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "byte *extraout_EDX;" (type_identifier "byte") (pointer_declarator "*extraout_EDX" (* "*") (identifier "extraout_EDX")) (; ";")) (declaration "byte *pbVar10;" (type_identifier "byte") (pointer_declarator "*pbVar10" (* "*") (identifier "pbVar10")) (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar13;" (primitive_type "bool") (identifier "bVar13") (; ";")) (declaration "uint local_4c;" (type_identifier "uint") (identifier "local_4c") (; ";")) (declaration "int local_48;" (primitive_type "int") (identifier "local_48") (; ";")) (declaration "char *local_44;" (primitive_type "char") (pointer_declarator "*local_44" (* "*") (identifier "local_44")) (; ";")) (declaration "undefined *local_28;" (type_identifier "undefined") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "char *local_24;" (primitive_type "char") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_28 = &DAT_000d1341;" (assignment_expression "local_28 = &DAT_000d1341" (identifier "local_28") (= "=") (pointer_expression "&DAT_000d1341" (& "&") (identifier "DAT_000d1341"))) (; ";")) (expression_statement "local_24 = "o";" (assignment_expression "local_24 = "o"" (identifier "local_24") (= "=") (string_literal ""o"" (" """) (string_content "o") (" """))) (; ";")) (expression_statement "FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);" (call_expression "FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24)" (identifier "FUN_000b23d7") (argument_list "(param_2,"afon:t:",&local_28,&local_24)" (( "(") (identifier "param_2") (, ",") (string_literal ""afon:t:"" (" """) (string_content "afon:t:") (" """)) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)PTR_optind_000dbf94;" (assignment_expression "iVar3 = *(int *)PTR_optind_000dbf94" (identifier "iVar3") (= "=") (pointer_expression "*(int *)PTR_optind_000dbf94" (* "*") (cast_expression "(int *)PTR_optind_000dbf94" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_optind_000dbf94")))) (; ";")) (expression_statement "iVar6 = FUN_000bee7c();" (assignment_expression "iVar6 = FUN_000bee7c()" (identifier "iVar6") (= "=") (call_expression "FUN_000bee7c()" (identifier "FUN_000bee7c") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "__s = (char *)FUN_0001a2f5();" (assignment_expression "__s = (char *)FUN_0001a2f5()" (identifier "__s") (= "=") (cast_expression "(char *)FUN_0001a2f5()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001a2f5()" (identifier "FUN_0001a2f5") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "cVar2 = *local_24;" (assignment_expression "cVar2 = *local_24" (identifier "cVar2") (= "=") (pointer_expression "*local_24" (* "*") (identifier "local_24"))) (; ";")) (if_statement "if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {\n                    \n    FUN_0001803e();\n  }" (if "if") (parenthesized_expression "((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0'))" (( "(") (binary_expression "(((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')" (parenthesized_expression "(((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x'))" (( "(") (binary_expression "((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')" (parenthesized_expression "((cVar2 != 'd') && (cVar2 != 'o'))" (( "(") (binary_expression "(cVar2 != 'd') && (cVar2 != 'o')" (parenthesized_expression "(cVar2 != 'd')" (( "(") (binary_expression "cVar2 != 'd'" (identifier "cVar2") (!= "!=") (char_literal "'d'" (' "'") (character "d") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(cVar2 != 'o')" (( "(") (binary_expression "cVar2 != 'o'" (identifier "cVar2") (!= "!=") (char_literal "'o'" (' "'") (character "o") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(cVar2 != 'x')" (( "(") (binary_expression "cVar2 != 'x'" (identifier "cVar2") (!= "!=") (char_literal "'x'" (' "'") (character "x") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(local_24[1] != '\0')" (( "(") (binary_expression "local_24[1] != '\0'" (subscript_expression "local_24[1]" (identifier "local_24") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_0001803e();\n  }" ({ "{") (expression_statement "FUN_0001803e();" (call_expression "FUN_0001803e()" (identifier "FUN_0001803e") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar11 = (int *)(param_2 + iVar3 * 4);" (assignment_expression "piVar11 = (int *)(param_2 + iVar3 * 4)" (identifier "piVar11") (= "=") (cast_expression "(int *)(param_2 + iVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar3 * 4)" (( "(") (binary_expression "param_2 + iVar3 * 4" (identifier "param_2") (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "uVar7 = FUN_0001a76c("%%7ll%s ",local_24);" (assignment_expression "uVar7 = FUN_0001a76c("%%7ll%s ",local_24)" (identifier "uVar7") (= "=") (call_expression "FUN_0001a76c("%%7ll%s ",local_24)" (identifier "FUN_0001a76c") (argument_list "("%%7ll%s ",local_24)" (( "(") (string_literal ""%%7ll%s "" (" """) (string_content "%%7ll%s ") (" """)) (, ",") (identifier "local_24") () ")")))) (; ";")) (expression_statement "local_44 = "%s: ";" (assignment_expression "local_44 = "%s: "" (identifier "local_44") (= "=") (string_literal ""%s: "" (" """) (string_content "%s: ") (" """))) (; ";")) (if_statement "if (*piVar11 == 0) {\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }" (if "if") (parenthesized_expression "(*piVar11 == 0)" (( "(") (binary_expression "*piVar11 == 0" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar11[-1] = (int)"standard input";\n    piVar11 = piVar11 + -1;\n    local_44 = "{%s}: ";\n  }" ({ "{") (expression_statement "piVar11[-1] = (int)"standard input";" (assignment_expression "piVar11[-1] = (int)"standard input"" (subscript_expression "piVar11[-1]" (identifier "piVar11") ([ "[") (number_literal "-1") (] "]")) (= "=") (cast_expression "(int)"standard input"" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (string_literal ""standard input"" (" """) (string_content "standard input") (" """)))) (; ";")) (expression_statement "piVar11 = piVar11 + -1;" (assignment_expression "piVar11 = piVar11 + -1" (identifier "piVar11") (= "=") (binary_expression "piVar11 + -1" (identifier "piVar11") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "local_44 = "{%s}: ";" (assignment_expression "local_44 = "{%s}: "" (identifier "local_44") (= "=") (string_literal ""{%s}: "" (" """) (string_content "{%s}: ") (" """))) (; ";")) (} "}"))) (expression_statement "puVar5 = PTR_stdout_000dbfb4;" (assignment_expression "puVar5 = PTR_stdout_000dbfb4" (identifier "puVar5") (= "=") (identifier "PTR_stdout_000dbfb4")) (; ";")) (expression_statement "uVar1 = iVar6 - 1;" (assignment_expression "uVar1 = iVar6 - 1" (identifier "uVar1") (= "=") (binary_expression "iVar6 - 1" (identifier "iVar6") (- "-") (number_literal "1"))) (; ";")) (do_statement "do {\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    \n      FUN_000b124b();\n    }\n  } while( true );" (do "do") (compound_statement "{\n    p_Var8 = (_IO_FILE *)FUN_000be132();\n    if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }\n    piVar11 = piVar11 + 1;\n    if (*piVar11 == 0) {\n                    \n      FUN_000b124b();\n    }\n  }" ({ "{") (expression_statement "p_Var8 = (_IO_FILE *)FUN_000be132();" (assignment_expression "p_Var8 = (_IO_FILE *)FUN_000be132()" (identifier "p_Var8") (= "=") (cast_expression "(_IO_FILE *)FUN_000be132()" (( "(") (type_descriptor "_IO_FILE *" (type_identifier "_IO_FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000be132()" (identifier "FUN_000be132") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (p_Var8 != (_IO_FILE *)0x0) {\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }" (if "if") (parenthesized_expression "(p_Var8 != (_IO_FILE *)0x0)" (( "(") (binary_expression "p_Var8 != (_IO_FILE *)0x0" (identifier "p_Var8") (!= "!=") (cast_expression "(_IO_FILE *)0x0" (( "(") (type_descriptor "_IO_FILE *" (type_identifier "_IO_FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      local_4c = -uVar1;\n      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));\n      uVar12 = 0;\n      do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);\n      FUN_000b1203();\n    }" ({ "{") (expression_statement "local_4c = -uVar1;" (assignment_expression "local_4c = -uVar1" (identifier "local_4c") (= "=") (unary_expression "-uVar1" (- "-") (identifier "uVar1"))) (; ";")) (expression_statement "local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));" (assignment_expression "local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0))" (identifier "local_48") (= "=") (unary_expression "-(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0))" (- "-") (parenthesized_expression "(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0))" (( "(") (binary_expression "((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0)" (parenthesized_expression "((int)uVar1 >> 0x1f)" (( "(") (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (>> ">>") (number_literal "0x1f")) () ")")) (+ "+") (call_expression "(uint)(uVar1 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      } while (uVar9 != 0xffffffff);" (do "do") (compound_statement "{\n        pbVar4 = (byte *)p_Var8->_IO_read_ptr;\n        if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }\n        bVar13 = 0xfffffffe < local_4c;\n        local_4c = local_4c + 1;\n        local_48 = local_48 + (uint)bVar13;\n      }" ({ "{") (expression_statement "pbVar4 = (byte *)p_Var8->_IO_read_ptr;" (assignment_expression "pbVar4 = (byte *)p_Var8->_IO_read_ptr" (identifier "pbVar4") (= "=") (cast_expression "(byte *)p_Var8->_IO_read_ptr" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (field_expression "p_Var8->_IO_read_ptr" (identifier "p_Var8") (-> "->") (field_identifier "_IO_read_ptr")))) (; ";")) (if_statement "if (pbVar4 < p_Var8->_IO_read_end) {\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }\n        else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }" (if "if") (parenthesized_expression "(pbVar4 < p_Var8->_IO_read_end)" (( "(") (binary_expression "pbVar4 < p_Var8->_IO_read_end" (identifier "pbVar4") (< "<") (field_expression "p_Var8->_IO_read_end" (identifier "p_Var8") (-> "->") (field_identifier "_IO_read_end"))) () ")")) (compound_statement "{\n          pbVar10 = pbVar4 + 1;\n          p_Var8->_IO_read_ptr = (char *)pbVar10;\n          uVar9 = (uint)*pbVar4;\n          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;\nLAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }\n        }" ({ "{") (expression_statement "pbVar10 = pbVar4 + 1;" (assignment_expression "pbVar10 = pbVar4 + 1" (identifier "pbVar10") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "p_Var8->_IO_read_ptr = (char *)pbVar10;" (assignment_expression "p_Var8->_IO_read_ptr = (char *)pbVar10" (field_expression "p_Var8->_IO_read_ptr" (identifier "p_Var8") (-> "->") (field_identifier "_IO_read_ptr")) (= "=") (cast_expression "(char *)pbVar10" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pbVar10"))) (; ";")) (expression_statement "uVar9 = (uint)*pbVar4;" (assignment_expression "uVar9 = (uint)*pbVar4" (identifier "uVar9") (= "=") (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar4"))) (; ";")) (if_statement "if (0x5e < uVar9 - 0x20) goto LAB_0002c827;" (if "if") (parenthesized_expression "(0x5e < uVar9 - 0x20)" (( "(") (binary_expression "0x5e < uVar9 - 0x20" (number_literal "0x5e") (< "<") (binary_expression "uVar9 - 0x20" (identifier "uVar9") (- "-") (number_literal "0x20"))) () ")")) (goto_statement "goto LAB_0002c827;" (goto "goto") (statement_identifier "LAB_0002c827") (; ";"))) (labeled_statement "LAB_0002c807:\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" (statement_identifier "LAB_0002c807") (: ":") (if_statement "if (uVar1 < uVar12) {\n            FUN_0001a728();\n          }\n          else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" (if "if") (parenthesized_expression "(uVar1 < uVar12)" (( "(") (binary_expression "uVar1 < uVar12" (identifier "uVar1") (< "<") (identifier "uVar12")) () ")")) (compound_statement "{\n            FUN_0001a728();\n          }" ({ "{") (expression_statement "FUN_0001a728();" (call_expression "FUN_0001a728()" (identifier "FUN_0001a728") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" (else "else") (compound_statement "{\n            __s[uVar12] = (char)uVar9;\n            if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }\n            uVar12 = uVar12 + 1;\n          }" ({ "{") (expression_statement "__s[uVar12] = (char)uVar9;" (assignment_expression "__s[uVar12] = (char)uVar9" (subscript_expression "__s[uVar12]" (identifier "__s") ([ "[") (identifier "uVar12") (] "]")) (= "=") (cast_expression "(char)uVar9" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar9"))) (; ";")) (if_statement "if (uVar12 == uVar1) {\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }" (if "if") (parenthesized_expression "(uVar12 == uVar1)" (( "(") (binary_expression "uVar12 == uVar1" (identifier "uVar12") (== "==") (identifier "uVar1")) () ")")) (compound_statement "{\n              if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }\n              if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }\n              fputs_unlocked(__s,*(FILE **)puVar5);\n            }" ({ "{") (if_statement "if ((_DAT_000dc71c & 2) != 0) {\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }" (if "if") (parenthesized_expression "((_DAT_000dc71c & 2) != 0)" (( "(") (binary_expression "(_DAT_000dc71c & 2) != 0" (parenthesized_expression "(_DAT_000dc71c & 2)" (( "(") (binary_expression "_DAT_000dc71c & 2" (identifier "_DAT_000dc71c") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                __printf_chk(1,local_44,*piVar11,pbVar10);\n              }" ({ "{") (expression_statement "__printf_chk(1,local_44,*piVar11,pbVar10);" (call_expression "__printf_chk(1,local_44,*piVar11,pbVar10)" (identifier "__printf_chk") (argument_list "(1,local_44,*piVar11,pbVar10)" (( "(") (number_literal "1") (, ",") (identifier "local_44") (, ",") (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (, ",") (identifier "pbVar10") () ")"))) (; ";")) (} "}"))) (if_statement "if ((_DAT_000dc71c & 0x14) != 0) {\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }" (if "if") (parenthesized_expression "((_DAT_000dc71c & 0x14) != 0)" (( "(") (binary_expression "(_DAT_000dc71c & 0x14) != 0" (parenthesized_expression "(_DAT_000dc71c & 0x14)" (( "(") (binary_expression "_DAT_000dc71c & 0x14" (identifier "_DAT_000dc71c") (& "&") (number_literal "0x14")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                __printf_chk(1,uVar7,local_4c,local_48);\n              }" ({ "{") (expression_statement "__printf_chk(1,uVar7,local_4c,local_48);" (call_expression "__printf_chk(1,uVar7,local_4c,local_48)" (identifier "__printf_chk") (argument_list "(1,uVar7,local_4c,local_48)" (( "(") (number_literal "1") (, ",") (identifier "uVar7") (, ",") (identifier "local_4c") (, ",") (identifier "local_48") () ")"))) (; ";")) (} "}"))) (expression_statement "fputs_unlocked(__s,*(FILE **)puVar5);" (call_expression "fputs_unlocked(__s,*(FILE **)puVar5)" (identifier "fputs_unlocked") (argument_list "(__s,*(FILE **)puVar5)" (( "(") (identifier "__s") (, ",") (pointer_expression "*(FILE **)puVar5" (* "*") (cast_expression "(FILE **)puVar5" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar5"))) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar12 = uVar12 + 1;" (assignment_expression "uVar12 = uVar12 + 1" (identifier "uVar12") (= "=") (binary_expression "uVar12 + 1" (identifier "uVar12") (+ "+") (number_literal "1"))) (; ";")) (} "}"))))) (} "}")) (else_clause "else {\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }" (else "else") (compound_statement "{\n          uVar9 = __uflow(p_Var8);\n          pbVar10 = extraout_EDX;\n          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;\nLAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;\n          if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }\n        }" ({ "{") (expression_statement "uVar9 = __uflow(p_Var8);" (assignment_expression "uVar9 = __uflow(p_Var8)" (identifier "uVar9") (= "=") (call_expression "__uflow(p_Var8)" (identifier "__uflow") (argument_list "(p_Var8)" (( "(") (identifier "p_Var8") () ")")))) (; ";")) (expression_statement "pbVar10 = extraout_EDX;" (assignment_expression "pbVar10 = extraout_EDX" (identifier "pbVar10") (= "=") (identifier "extraout_EDX")) (; ";")) (if_statement "if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;" (if "if") (parenthesized_expression "(uVar9 - 0x20 < 0x5f)" (( "(") (binary_expression "uVar9 - 0x20 < 0x5f" (binary_expression "uVar9 - 0x20" (identifier "uVar9") (- "-") (number_literal "0x20")) (< "<") (number_literal "0x5f")) () ")")) (goto_statement "goto LAB_0002c807;" (goto "goto") (statement_identifier "LAB_0002c807") (; ";"))) (labeled_statement "LAB_0002c827:\n          if (uVar9 == 9) goto LAB_0002c807;" (statement_identifier "LAB_0002c827") (: ":") (if_statement "if (uVar9 == 9) goto LAB_0002c807;" (if "if") (parenthesized_expression "(uVar9 == 9)" (( "(") (binary_expression "uVar9 == 9" (identifier "uVar9") (== "==") (number_literal "9")) () ")")) (goto_statement "goto LAB_0002c807;" (goto "goto") (statement_identifier "LAB_0002c807") (; ";")))) (if_statement "if (uVar1 < uVar12) {\n            FUN_0001a728();\n            uVar12 = 0;\n          }\n          else {\n            uVar12 = 0;\n          }" (if "if") (parenthesized_expression "(uVar1 < uVar12)" (( "(") (binary_expression "uVar1 < uVar12" (identifier "uVar1") (< "<") (identifier "uVar12")) () ")")) (compound_statement "{\n            FUN_0001a728();\n            uVar12 = 0;\n          }" ({ "{") (expression_statement "FUN_0001a728();" (call_expression "FUN_0001a728()" (identifier "FUN_0001a728") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n            uVar12 = 0;\n          }" (else "else") (compound_statement "{\n            uVar12 = 0;\n          }" ({ "{") (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")))) (expression_statement "bVar13 = 0xfffffffe < local_4c;" (assignment_expression "bVar13 = 0xfffffffe < local_4c" (identifier "bVar13") (= "=") (binary_expression "0xfffffffe < local_4c" (number_literal "0xfffffffe") (< "<") (identifier "local_4c"))) (; ";")) (expression_statement "local_4c = local_4c + 1;" (assignment_expression "local_4c = local_4c + 1" (identifier "local_4c") (= "=") (binary_expression "local_4c + 1" (identifier "local_4c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_48 = local_48 + (uint)bVar13;" (assignment_expression "local_48 = local_48 + (uint)bVar13" (identifier "local_48") (= "=") (binary_expression "local_48 + (uint)bVar13" (identifier "local_48") (+ "+") (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar9 != 0xffffffff)" (( "(") (binary_expression "uVar9 != 0xffffffff" (identifier "uVar9") (!= "!=") (number_literal "0xffffffff")) () ")")) (; ";")) (expression_statement "FUN_000b1203();" (call_expression "FUN_000b1203()" (identifier "FUN_000b1203") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar11 = piVar11 + 1;" (assignment_expression "piVar11 = piVar11 + 1" (identifier "piVar11") (= "=") (binary_expression "piVar11 + 1" (identifier "piVar11") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*piVar11 == 0) {\n                    \n      FUN_000b124b();\n    }" (if "if") (parenthesized_expression "(*piVar11 == 0)" (( "(") (binary_expression "*piVar11 == 0" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_000b124b();\n    }" ({ "{") (expression_statement "FUN_000b124b();" (call_expression "FUN_000b124b()" (identifier "FUN_000b124b") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

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

int function_1(int argc,char **argv)

{
  char *n_arg;
  char *radix;
  
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (string_literal (string_content))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (field_expression argument: (identifier) field: (field_identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (pointer_expression argument: (identifier)) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (identifier) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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: (binary_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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) condition: (parenthesized_expression (true))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void MASKED(undefined4 param_1,int param_2)

{
  uint uVar1;
  char cVar2;
  int iVar3;
  byte *pbVar4;
  undefined *puVar5;
  int iVar6;
  char *__s;
  undefined4 uVar7;
  _IO_FILE *p_Var8;
  uint uVar9;
  byte *extraout_EDX;
  byte *pbVar10;
  int *piVar11;
  uint uVar12;
  int in_GS_OFFSET;
  bool bVar13;
  uint local_4c;
  int local_48;
  char *local_44;
  undefined *local_28;
  char *local_24;
  undefined4 local_20;
  
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  local_28 = &DAT_000d1341;
  local_24 = "o";
  FUN_000b23d7(param_2,"afon:t:",&local_28,&local_24);
  iVar3 = *(int *)PTR_optind_000dbf94;
  iVar6 = FUN_000bee7c();
  __s = (char *)FUN_0001a2f5();
  cVar2 = *local_24;
  if ((((cVar2 != 'd') && (cVar2 != 'o')) && (cVar2 != 'x')) || (local_24[1] != '\0')) {
                    /* WARNING: Subroutine does not return */
    FUN_0001803e();
  }
  piVar11 = (int *)(param_2 + iVar3 * 4);
  uVar7 = FUN_0001a76c("%%7ll%s ",local_24);
  local_44 = "%s: ";
  if (*piVar11 == 0) {
    piVar11[-1] = (int)"standard input";
    piVar11 = piVar11 + -1;
    local_44 = "{%s}: ";
  }
  puVar5 = PTR_stdout_000dbfb4;
  uVar1 = iVar6 - 1;
  do {
    p_Var8 = (_IO_FILE *)FUN_000be132();
    if (p_Var8 != (_IO_FILE *)0x0) {
      local_4c = -uVar1;
      local_48 = -(((int)uVar1 >> 0x1f) + (uint)(uVar1 != 0));
      uVar12 = 0;
      do {
        pbVar4 = (byte *)p_Var8->_IO_read_ptr;
        if (pbVar4 < p_Var8->_IO_read_end) {
          pbVar10 = pbVar4 + 1;
          p_Var8->_IO_read_ptr = (char *)pbVar10;
          uVar9 = (uint)*pbVar4;
          if (0x5e < uVar9 - 0x20) goto LAB_0002c827;
LAB_0002c807:
          if (uVar1 < uVar12) {
            FUN_0001a728();
          }
          else {
            __s[uVar12] = (char)uVar9;
            if (uVar12 == uVar1) {
              if ((_DAT_000dc71c & 2) != 0) {
                __printf_chk(1,local_44,*piVar11,pbVar10);
              }
              if ((_DAT_000dc71c & 0x14) != 0) {
                __printf_chk(1,uVar7,local_4c,local_48);
              }
              fputs_unlocked(__s,*(FILE **)puVar5);
            }
            uVar12 = uVar12 + 1;
          }
        }
        else {
          uVar9 = __uflow(p_Var8);
          pbVar10 = extraout_EDX;
          if (uVar9 - 0x20 < 0x5f) goto LAB_0002c807;
LAB_0002c827:
          if (uVar9 == 9) goto LAB_0002c807;
          if (uVar1 < uVar12) {
            FUN_0001a728();
            uVar12 = 0;
          }
          else {
            uVar12 = 0;
          }
        }
        bVar13 = 0xfffffffe < local_4c;
        local_4c = local_4c + 1;
        local_48 = local_48 + (uint)bVar13;
      } while (uVar9 != 0xffffffff);
      FUN_000b1203();
    }
    piVar11 = piVar11 + 1;
    if (*piVar11 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_000b124b();
    }
  } while( true );
}

