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

size_t optimal_bufsize(int fd,stat *stb)

{
  size_t sVar1;
  int iVar2;
  size_t sVar3;
  byte *pbVar4;
  ushort **ppuVar5;
  int *piVar6;
  char *pcVar7;
  uint uVar8;
  byte *pbVar9;
  uint uVar10;
  undefined4 *puVar11;
  byte *pbVar12;
  bool bVar13;
  bool bVar14;
  byte bVar15;
  
  bVar15 = 0;
  *(undefined4 *)&stb->st_dev = 0;
  *(undefined4 *)((int)&stb->st_ino + 4) = 0;
  puVar11 = (undefined4 *)((uint)((int)&stb->st_dev + 4U) & 0xfffffffc);
  uVar8 = (uint)((int)stb + (0x60 - (int)puVar11)) >> 2;
  for (; uVar8 != 0; uVar8 = uVar8 - 1) {
    *puVar11 = 0;
    puVar11 = puVar11 + 1;
  }
  iVar2 = __fxstat64(3,fd,(stat64 *)stb);
  if (iVar2 == -1) {
    set_loc("posix/gawkmisc.c",0x68);
    piVar6 = __errno_location();
    pcVar7 = strerror(*piVar6);
    r_fatal("can\'t stat fd %d (%s)",fd,pcVar7);
  }
  if (optimal_bufsize::first == false) {
    if ((optimal_bufsize::exact == false) && (optimal_bufsize::env_val != 0)) {
      return optimal_bufsize::env_val;
    }
  }
  else {
    optimal_bufsize::first = false;
    pbVar4 = (byte *)getenv("AWKBUFSIZE");
    bVar13 = false;
    bVar14 = pbVar4 == (byte *)0x0;
    if (!bVar14) {
      iVar2 = 6;
      pbVar9 = pbVar4;
      pbVar12 = (byte *)"exact";
      do {
        if (iVar2 == 0) break;
        iVar2 = iVar2 + -1;
        bVar13 = *pbVar9 < *pbVar12;
        bVar14 = *pbVar9 == *pbVar12;
        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;
        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
      } while (bVar14);
      if ((!bVar13 && !bVar14) == bVar13) {
        optimal_bufsize::exact = true;
      }
      else {
        ppuVar5 = __ctype_b_loc();
        bVar15 = *pbVar4;
        uVar8 = (uint)bVar15;
        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {
          while( true ) {
            if (bVar15 == 0) {
              return optimal_bufsize::env_val;
            }
            pbVar4 = pbVar4 + 1;
            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;
            uVar8 = (uint)*pbVar4;
            if (*pbVar4 == 0) break;
            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;
          }
          return optimal_bufsize::env_val;
        }
      }
    }
  }
  sVar1 = stb->st_blksize;
  if ((stb->st_mode & 0xf000) == 0x8000) {
    iVar2 = *(int *)((int)&stb->st_size + 4);
    uVar8 = (uint)stb->st_size;
    if ((-1 < iVar2) && ((0 < iVar2 || (uVar8 != 0)))) {
      uVar10 = 0x2000;
      if (0 < (int)sVar1) {
        uVar10 = sVar1;
      }
      if (iVar2 < (int)uVar10 >> 0x1f) {
        return uVar8;
      }
      if ((iVar2 <= (int)uVar10 >> 0x1f) && (uVar8 < uVar10)) {
        return uVar8;
      }
      if (optimal_bufsize::exact != false) {
        return uVar8;
      }
    }
  }
  sVar3 = 0x2000;
  if (0 < (int)sVar1) {
    sVar3 = sVar1;
  }
  return sVar3;
}



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

uint FUN_0005b2c0(int param_1,stat64 *param_2)

{
  int iVar1;
  uint uVar2;
  byte *pbVar3;
  ushort **ppuVar4;
  int *piVar5;
  char *pcVar6;
  uint uVar7;
  byte *pbVar8;
  uint uVar9;
  undefined4 *puVar10;
  byte *pbVar11;
  bool bVar12;
  bool bVar13;
  byte bVar14;
  
  bVar14 = 0;
  *(undefined4 *)&param_2->st_dev = 0;
  *(undefined4 *)((int)&param_2->st_ino + 4) = 0;
  puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);
  uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;
  for (; uVar7 != 0; uVar7 = uVar7 - 1) {
    *puVar10 = 0;
    puVar10 = puVar10 + 1;
  }
  iVar1 = __fxstat64(3,param_1,param_2);
  if (iVar1 == -1) {
    FUN_000660d0("posix/gawkmisc.c",0x68);
    piVar5 = __errno_location();
    pcVar6 = strerror(*piVar5);
    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);
  }
  if (DAT_000bf880 == '\0') {
    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {
      return DAT_000c35f8;
    }
  }
  else {
    DAT_000bf880 = '\0';
    pbVar3 = (byte *)getenv("AWKBUFSIZE");
    bVar12 = false;
    bVar13 = pbVar3 == (byte *)0x0;
    if (!bVar13) {
      iVar1 = 6;
      pbVar8 = pbVar3;
      pbVar11 = (byte *)"exact";
      do {
        if (iVar1 == 0) break;
        iVar1 = iVar1 + -1;
        bVar12 = *pbVar8 < *pbVar11;
        bVar13 = *pbVar8 == *pbVar11;
        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;
        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;
      } while (bVar13);
      if ((!bVar12 && !bVar13) == bVar12) {
        DAT_000c35fc = '\x01';
      }
      else {
        ppuVar4 = __ctype_b_loc();
        bVar14 = *pbVar3;
        uVar7 = (uint)bVar14;
        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {
          while( true ) {
            if (bVar14 == 0) {
              return DAT_000c35f8;
            }
            pbVar3 = pbVar3 + 1;
            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;
            uVar7 = (uint)*pbVar3;
            if (*pbVar3 == 0) break;
            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;
          }
          return DAT_000c35f8;
        }
      }
    }
  }
  uVar7 = param_2->st_blksize;
  if ((param_2->st_mode & 0xf000) == 0x8000) {
    iVar1 = *(int *)((int)&param_2->st_size + 4);
    uVar2 = (uint)param_2->st_size;
    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {
      uVar9 = 0x2000;
      if (0 < (int)uVar7) {
        uVar9 = uVar7;
      }
      if (iVar1 < (int)uVar9 >> 0x1f) {
        return uVar2;
      }
      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {
        return uVar2;
      }
      if (DAT_000c35fc != '\0') {
        return uVar2;
      }
    }
  }
  uVar2 = 0x2000;
  if (0 < (int)uVar7) {
    uVar2 = uVar7;
  }
  return uVar2;
}


PUSH EBP
PUSH EDI
XOR EAX,EAX
PUSH ESI
PUSH EBX
CALL 0x00016f50
ADD EBX,0x63a19
SUB ESP,0x20
MOV EBP,dword ptr [ESP + 0x38]
MOV ESI,dword ptr [ESP + 0x34]
LEA EDI,[EBP + 0x4]
MOV ECX,EBP
MOV dword ptr [EBP],0x0
MOV dword ptr [EBP + 0x5c],0x0
AND EDI,0xfffffffc
SUB ECX,EDI
ADD ECX,0x60
SHR ECX,0x2
STOSD.REP ES:EDI
PUSH EBP
PUSH ESI
PUSH 0x3
CALL 0x00014070
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x0005b440
CMP byte ptr [EBX + 0xb9c],0x0
JNZ 0x0005b360
CMP byte ptr [EBX + 0x4918],0x0
JZ 0x0005b350
MOV EAX,dword ptr [EBP + 0x10]
MOV EDX,dword ptr [EBP + 0x34]
AND EAX,0xf000
CMP EAX,0x8000
JZ 0x0005b400
TEST EDX,EDX
MOV EAX,0x2000
CMOVG EAX,EDX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBX + 0x4914]
TEST EAX,EAX
JZ 0x0005b323
JMP 0x0005b343
LEA EAX,[EBX + 0xfffd3747]
SUB ESP,0xc
MOV byte ptr [EBX + 0xb9c],0x0
PUSH EAX
CALL 0x00014120
ADD ESP,0x10
TEST EAX,EAX
MOV EDX,EAX
JZ 0x0005b323
LEA EDI,[EBX + 0xfffd3752]
MOV ESI,EAX
MOV ECX,0x6
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x0005b480
MOV dword ptr [ESP + 0xc],EDX
CALL 0x00014690
MOV EDX,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [EAX]
MOVZX EAX,byte ptr [EDX]
TEST byte ptr [ESI + EAX*0x2 + 0x1],0x8
MOV ECX,EAX
JZ 0x0005b323
TEST CL,CL
MOV EAX,dword ptr [EBX + 0x4914]
JNZ 0x0005b3da
JMP 0x0005b343
MOVZX EDI,CL
TEST byte ptr [ESI + EDI*0x2 + 0x1],0x8
JZ 0x0005b3ee
LEA EAX,[EAX + EAX*0x4]
MOVSX ECX,CL
ADD EDX,0x1
LEA EAX,[ECX + EAX*0x2 + -0x30]
MOVZX ECX,byte ptr [EDX]
TEST CL,CL
JNZ 0x0005b3d0
MOV dword ptr [EBX + 0x4914],EAX
JMP 0x0005b343
MOV ECX,dword ptr [EBP + 0x30]
MOV EAX,dword ptr [EBP + 0x2c]
CMP ECX,0x0
JL 0x0005b339
JLE 0x0005b490
TEST EDX,EDX
MOV ESI,0x2000
CMOVG ESI,EDX
MOV EDI,ESI
SAR EDI,0x1f
CMP ECX,EDI
JL 0x0005b343
JLE 0x0005b4a0
CMP byte ptr [EBX + 0x4918],0x0
JZ 0x0005b339
JMP 0x0005b343
LEA EAX,[EBX + 0xfffd3720]
SUB ESP,0x8
PUSH 0x68
PUSH EAX
CALL 0x000660d0
CALL 0x00014330
POP EDX
PUSH dword ptr [EAX]
CALL 0x00014180
ADD ESP,0xc
PUSH EAX
LEA EAX,[EBX + 0xfffd3731]
PUSH ESI
PUSH EAX
CALL 0x00066470
ADD ESP,0x10
JMP 0x0005b311
MOV byte ptr [EBX + 0x4918],0x1
JMP 0x0005b323
CMP EAX,0x0
JBE 0x0005b339
JMP 0x0005b411
CMP EAX,ESI
JC 0x0005b343
JMP 0x0005b42a
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_0005b2c0(int param_1,stat64 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  byte *pbVar3;\n  ushort **ppuVar4;\n  int *piVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte *pbVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  \n  bVar14 = 0;\n  *(undefined4 *)&param_2->st_dev = 0;\n  *(undefined4 *)((int)&param_2->st_ino + 4) = 0;\n  puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);\n  uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;\n  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }\n  iVar1 = __fxstat64(3,param_1,param_2);\n  if (iVar1 == -1) {\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }\n  if (DAT_000bf880 == '\0') {\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }\n  else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }\n  uVar7 = param_2->st_blksize;\n  if ((param_2->st_mode & 0xf000) == 0x8000) {\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }\n  uVar2 = 0x2000;\n  if (0 < (int)uVar7) {\n    uVar2 = uVar7;\n  }\n  return uVar2;\n}\n\n" comment (function_definition "uint FUN_0005b2c0(int param_1,stat64 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  byte *pbVar3;\n  ushort **ppuVar4;\n  int *piVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte *pbVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  \n  bVar14 = 0;\n  *(undefined4 *)&param_2->st_dev = 0;\n  *(undefined4 *)((int)&param_2->st_ino + 4) = 0;\n  puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);\n  uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;\n  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }\n  iVar1 = __fxstat64(3,param_1,param_2);\n  if (iVar1 == -1) {\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }\n  if (DAT_000bf880 == '\0') {\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }\n  else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }\n  uVar7 = param_2->st_blksize;\n  if ((param_2->st_mode & 0xf000) == 0x8000) {\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }\n  uVar2 = 0x2000;\n  if (0 < (int)uVar7) {\n    uVar2 = uVar7;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0005b2c0(int param_1,stat64 *param_2)" identifier (parameter_list "(int param_1,stat64 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "stat64 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  byte *pbVar3;\n  ushort **ppuVar4;\n  int *piVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte *pbVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  \n  bVar14 = 0;\n  *(undefined4 *)&param_2->st_dev = 0;\n  *(undefined4 *)((int)&param_2->st_ino + 4) = 0;\n  puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);\n  uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;\n  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }\n  iVar1 = __fxstat64(3,param_1,param_2);\n  if (iVar1 == -1) {\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }\n  if (DAT_000bf880 == '\0') {\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }\n  else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }\n  uVar7 = param_2->st_blksize;\n  if ((param_2->st_mode & 0xf000) == 0x8000) {\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }\n  uVar2 = 0x2000;\n  if (0 < (int)uVar7) {\n    uVar2 = uVar7;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "ushort **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "byte bVar14;" type_identifier identifier ;) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" identifier = number_literal) ;) (expression_statement "*(undefined4 *)&param_2->st_dev = 0;" (assignment_expression "*(undefined4 *)&param_2->st_dev = 0" (pointer_expression "*(undefined4 *)&param_2->st_dev" * (cast_expression "(undefined4 *)&param_2->st_dev" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&param_2->st_dev" & (field_expression "param_2->st_dev" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&param_2->st_ino + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&param_2->st_ino + 4) = 0" (pointer_expression "*(undefined4 *)((int)&param_2->st_ino + 4)" * (cast_expression "(undefined4 *)((int)&param_2->st_ino + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_2->st_ino + 4)" ( (binary_expression "(int)&param_2->st_ino + 4" (cast_expression "(int)&param_2->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_2->st_ino" & (field_expression "param_2->st_ino" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);" (assignment_expression "puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc)" ( (binary_expression "(uint)((int)&param_2->st_dev + 4U) & 0xfffffffc" (call_expression "(uint)((int)&param_2->st_dev + 4U)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)&param_2->st_dev + 4U)" ( (binary_expression "(int)&param_2->st_dev + 4U" (cast_expression "(int)&param_2->st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_2->st_dev" & (field_expression "param_2->st_dev" identifier -> field_identifier))) + number_literal) ))) & number_literal) )))) ;) (expression_statement "uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;" (assignment_expression "uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2" identifier = (binary_expression "(uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2" (call_expression "(uint)((int)param_2 + (0x60 - (int)puVar10))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_2 + (0x60 - (int)puVar10))" ( (binary_expression "(int)param_2 + (0x60 - (int)puVar10)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x60 - (int)puVar10)" ( (binary_expression "0x60 - (int)puVar10" number_literal - (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }" for ( ; (binary_expression "uVar7 != 0" identifier != number_literal) ; (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }" { (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (expression_statement "puVar10 = puVar10 + 1;" (assignment_expression "puVar10 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar1 = __fxstat64(3,param_1,param_2);" (assignment_expression "iVar1 = __fxstat64(3,param_1,param_2)" identifier = (call_expression "__fxstat64(3,param_1,param_2)" identifier (argument_list "(3,param_1,param_2)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar1 == -1) {\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }" { (expression_statement "FUN_000660d0("posix/gawkmisc.c",0x68);" (call_expression "FUN_000660d0("posix/gawkmisc.c",0x68)" identifier (argument_list "("posix/gawkmisc.c",0x68)" ( (string_literal ""posix/gawkmisc.c"" " string_content ") , number_literal ))) ;) (expression_statement "piVar5 = __errno_location();" (assignment_expression "piVar5 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar6 = strerror(*piVar5);" (assignment_expression "pcVar6 = strerror(*piVar5)" identifier = (call_expression "strerror(*piVar5)" identifier (argument_list "(*piVar5)" ( (pointer_expression "*piVar5" * identifier) )))) ;) (expression_statement "FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);" (call_expression "FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6)" identifier (argument_list "("can\'t stat fd %d (%s)",param_1,pcVar6)" ( (string_literal ""can\'t stat fd %d (%s)"" " string_content escape_sequence string_content ") , identifier , identifier ))) ;) })) (if_statement "if (DAT_000bf880 == '\0') {\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }\n  else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(DAT_000bf880 == '\0')" ( (binary_expression "DAT_000bf880 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }" { (if_statement "if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }" if (parenthesized_expression "((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0))" ( (binary_expression "(DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)" (parenthesized_expression "(DAT_000c35fc == '\0')" ( (binary_expression "DAT_000c35fc == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(DAT_000c35f8 != 0)" ( (binary_expression "DAT_000c35f8 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      return DAT_000c35f8;\n    }" { (return_statement "return DAT_000c35f8;" return identifier ;) })) }) (else_clause "else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }" else (compound_statement "{\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }" { (expression_statement "DAT_000bf880 = '\0';" (assignment_expression "DAT_000bf880 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pbVar3 = (byte *)getenv("AWKBUFSIZE");" (assignment_expression "pbVar3 = (byte *)getenv("AWKBUFSIZE")" identifier = (cast_expression "(byte *)getenv("AWKBUFSIZE")" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "getenv("AWKBUFSIZE")" identifier (argument_list "("AWKBUFSIZE")" ( (string_literal ""AWKBUFSIZE"" " string_content ") ))))) ;) (expression_statement "bVar12 = false;" (assignment_expression "bVar12 = false" identifier = false) ;) (expression_statement "bVar13 = pbVar3 == (byte *)0x0;" (assignment_expression "bVar13 = pbVar3 == (byte *)0x0" identifier = (binary_expression "pbVar3 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }" if (parenthesized_expression "(!bVar13)" ( (unary_expression "!bVar13" ! identifier) )) (compound_statement "{\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }" { (expression_statement "iVar1 = 6;" (assignment_expression "iVar1 = 6" identifier = number_literal) ;) (expression_statement "pbVar8 = pbVar3;" (assignment_expression "pbVar8 = pbVar3" identifier = identifier) ;) (expression_statement "pbVar11 = (byte *)"exact";" (assignment_expression "pbVar11 = (byte *)"exact"" identifier = (cast_expression "(byte *)"exact"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""exact"" " string_content "))) ;) (do_statement "do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);" do (compound_statement "{\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      }" { (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "bVar12 = *pbVar8 < *pbVar11;" (assignment_expression "bVar12 = *pbVar8 < *pbVar11" identifier = (binary_expression "*pbVar8 < *pbVar11" (pointer_expression "*pbVar8" * identifier) < (pointer_expression "*pbVar11" * identifier))) ;) (expression_statement "bVar13 = *pbVar8 == *pbVar11;" (assignment_expression "bVar13 = *pbVar8 == *pbVar11" identifier = (binary_expression "*pbVar8 == *pbVar11" (pointer_expression "*pbVar8" * identifier) == (pointer_expression "*pbVar11" * identifier))) ;) (expression_statement "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar8 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar8 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar11 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar11 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar13)" ( identifier )) ;) (if_statement "if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }" if (parenthesized_expression "((!bVar12 && !bVar13) == bVar12)" ( (binary_expression "(!bVar12 && !bVar13) == bVar12" (parenthesized_expression "(!bVar12 && !bVar13)" ( (binary_expression "!bVar12 && !bVar13" (unary_expression "!bVar12" ! identifier) && (unary_expression "!bVar13" ! identifier)) )) == identifier) )) (compound_statement "{\n        DAT_000c35fc = '\x01';\n      }" { (expression_statement "DAT_000c35fc = '\x01';" (assignment_expression "DAT_000c35fc = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) }) (else_clause "else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }" else (compound_statement "{\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }" { (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar14 = *pbVar3;" (assignment_expression "bVar14 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (expression_statement "uVar7 = (uint)bVar14;" (assignment_expression "uVar7 = (uint)bVar14" identifier = (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }" if (parenthesized_expression "((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0)" ( (binary_expression "(*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0" (parenthesized_expression "(*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8)" ( (binary_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8" (pointer_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar4 + uVar7 * 2 + 1)" ( (binary_expression "(int)*ppuVar4 + uVar7 * 2 + 1" (binary_expression "(int)*ppuVar4 + uVar7 * 2" (cast_expression "(int)*ppuVar4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar4" * identifier)) + (binary_expression "uVar7 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }" { (while_statement "while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }" { (if_statement "if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }" if (parenthesized_expression "(bVar14 == 0)" ( (binary_expression "bVar14 == 0" identifier == number_literal) )) (compound_statement "{\n              return DAT_000c35f8;\n            }" { (return_statement "return DAT_000c35f8;" return identifier ;) })) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;" (assignment_expression "DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10" identifier = (binary_expression "(char)uVar7 + -0x30 + DAT_000c35f8 * 10" (binary_expression "(char)uVar7 + -0x30" (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal) + (binary_expression "DAT_000c35f8 * 10" identifier * number_literal))) ;) (expression_statement "uVar7 = (uint)*pbVar3;" (assignment_expression "uVar7 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (*pbVar3 == 0) break;" if (parenthesized_expression "(*pbVar3 == 0)" ( (binary_expression "*pbVar3 == 0" (pointer_expression "*pbVar3" * identifier) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;" (assignment_expression "bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8" identifier = (binary_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8" (pointer_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar4 + uVar7 * 2 + 1)" ( (binary_expression "(int)*ppuVar4 + uVar7 * 2 + 1" (binary_expression "(int)*ppuVar4 + uVar7 * 2" (cast_expression "(int)*ppuVar4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar4" * identifier)) + (binary_expression "uVar7 * 2" identifier * number_literal)) + number_literal) )))) & number_literal)) ;) })) (return_statement "return DAT_000c35f8;" return identifier ;) })) }))) })) }))) (expression_statement "uVar7 = param_2->st_blksize;" (assignment_expression "uVar7 = param_2->st_blksize" identifier = (field_expression "param_2->st_blksize" identifier -> field_identifier)) ;) (if_statement "if ((param_2->st_mode & 0xf000) == 0x8000) {\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }" if (parenthesized_expression "((param_2->st_mode & 0xf000) == 0x8000)" ( (binary_expression "(param_2->st_mode & 0xf000) == 0x8000" (parenthesized_expression "(param_2->st_mode & 0xf000)" ( (binary_expression "param_2->st_mode & 0xf000" (field_expression "param_2->st_mode" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }" { (expression_statement "iVar1 = *(int *)((int)&param_2->st_size + 4);" (assignment_expression "iVar1 = *(int *)((int)&param_2->st_size + 4)" identifier = (pointer_expression "*(int *)((int)&param_2->st_size + 4)" * (cast_expression "(int *)((int)&param_2->st_size + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_2->st_size + 4)" ( (binary_expression "(int)&param_2->st_size + 4" (cast_expression "(int)&param_2->st_size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_2->st_size" & (field_expression "param_2->st_size" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar2 = (uint)param_2->st_size;" (assignment_expression "uVar2 = (uint)param_2->st_size" identifier = (cast_expression "(uint)param_2->st_size" ( (type_descriptor "uint" type_identifier) ) (field_expression "param_2->st_size" identifier -> field_identifier))) ;) (if_statement "if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }" if (parenthesized_expression "((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0))))" ( (binary_expression "(-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))" (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) && (parenthesized_expression "((0 < iVar1 || (uVar2 != 0)))" ( (parenthesized_expression "(0 < iVar1 || (uVar2 != 0))" ( (binary_expression "0 < iVar1 || (uVar2 != 0)" (binary_expression "0 < iVar1" number_literal < identifier) || (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }" { (expression_statement "uVar9 = 0x2000;" (assignment_expression "uVar9 = 0x2000" identifier = number_literal) ;) (if_statement "if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }" if (parenthesized_expression "(0 < (int)uVar7)" ( (binary_expression "0 < (int)uVar7" number_literal < (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        uVar9 = uVar7;\n      }" { (expression_statement "uVar9 = uVar7;" (assignment_expression "uVar9 = uVar7" identifier = identifier) ;) })) (if_statement "if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }" if (parenthesized_expression "(iVar1 < (int)uVar9 >> 0x1f)" ( (binary_expression "iVar1 < (int)uVar9 >> 0x1f" identifier < (binary_expression "(int)uVar9 >> 0x1f" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) (compound_statement "{\n        return uVar2;\n      }" { (return_statement "return uVar2;" return identifier ;) })) (if_statement "if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }" if (parenthesized_expression "((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9))" ( (binary_expression "(iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)" (parenthesized_expression "(iVar1 <= (int)uVar9 >> 0x1f)" ( (binary_expression "iVar1 <= (int)uVar9 >> 0x1f" identifier <= (binary_expression "(int)uVar9 >> 0x1f" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) && (parenthesized_expression "(uVar2 < uVar9)" ( (binary_expression "uVar2 < uVar9" identifier < identifier) ))) )) (compound_statement "{\n        return uVar2;\n      }" { (return_statement "return uVar2;" return identifier ;) })) (if_statement "if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }" if (parenthesized_expression "(DAT_000c35fc != '\0')" ( (binary_expression "DAT_000c35fc != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return uVar2;\n      }" { (return_statement "return uVar2;" return identifier ;) })) })) })) (expression_statement "uVar2 = 0x2000;" (assignment_expression "uVar2 = 0x2000" identifier = number_literal) ;) (if_statement "if (0 < (int)uVar7) {\n    uVar2 = uVar7;\n  }" if (parenthesized_expression "(0 < (int)uVar7)" ( (binary_expression "0 < (int)uVar7" number_literal < (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar2 = uVar7;\n  }" { (expression_statement "uVar2 = uVar7;" (assignment_expression "uVar2 = uVar7" identifier = identifier) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nsize_t optimal_bufsize(int fd,stat *stb)\n\n{\n  size_t sVar1;\n  int iVar2;\n  size_t sVar3;\n  byte *pbVar4;\n  ushort **ppuVar5;\n  int *piVar6;\n  char *pcVar7;\n  uint uVar8;\n  byte *pbVar9;\n  uint uVar10;\n  undefined4 *puVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  \n  bVar15 = 0;\n  *(undefined4 *)&stb->st_dev = 0;\n  *(undefined4 *)((int)&stb->st_ino + 4) = 0;\n  puVar11 = (undefined4 *)((uint)((int)&stb->st_dev + 4U) & 0xfffffffc);\n  uVar8 = (uint)((int)stb + (0x60 - (int)puVar11)) >> 2;\n  for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n    *puVar11 = 0;\n    puVar11 = puVar11 + 1;\n  }\n  iVar2 = __fxstat64(3,fd,(stat64 *)stb);\n  if (iVar2 == -1) {\n    set_loc("posix/gawkmisc.c",0x68);\n    piVar6 = __errno_location();\n    pcVar7 = strerror(*piVar6);\n    r_fatal("can\'t stat fd %d (%s)",fd,pcVar7);\n  }\n  if (optimal_bufsize::first == false) {\n    if ((optimal_bufsize::exact == false) && (optimal_bufsize::env_val != 0)) {\n      return optimal_bufsize::env_val;\n    }\n  }\n  else {\n    optimal_bufsize::first = false;\n    pbVar4 = (byte *)getenv("AWKBUFSIZE");\n    bVar13 = false;\n    bVar14 = pbVar4 == (byte *)0x0;\n    if (!bVar14) {\n      iVar2 = 6;\n      pbVar9 = pbVar4;\n      pbVar12 = (byte *)"exact";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) {\n        optimal_bufsize::exact = true;\n      }\n      else {\n        ppuVar5 = __ctype_b_loc();\n        bVar15 = *pbVar4;\n        uVar8 = (uint)bVar15;\n        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }\n      }\n    }\n  }\n  sVar1 = stb->st_blksize;\n  if ((stb->st_mode & 0xf000) == 0x8000) {\n    iVar2 = *(int *)((int)&stb->st_size + 4);\n    uVar8 = (uint)stb->st_size;\n    if ((-1 < iVar2) && ((0 < iVar2 || (uVar8 != 0)))) {\n      uVar10 = 0x2000;\n      if (0 < (int)sVar1) {\n        uVar10 = sVar1;\n      }\n      if (iVar2 < (int)uVar10 >> 0x1f) {\n        return uVar8;\n      }\n      if ((iVar2 <= (int)uVar10 >> 0x1f) && (uVar8 < uVar10)) {\n        return uVar8;\n      }\n      if (optimal_bufsize::exact != false) {\n        return uVar8;\n      }\n    }\n  }\n  sVar3 = 0x2000;\n  if (0 < (int)sVar1) {\n    sVar3 = sVar1;\n  }\n  return sVar3;\n}\n\n" comment (function_definition "size_t optimal_bufsize(int fd,stat *stb)\n\n{\n  size_t sVar1;\n  int iVar2;\n  size_t sVar3;\n  byte *pbVar4;\n  ushort **ppuVar5;\n  int *piVar6;\n  char *pcVar7;\n  uint uVar8;\n  byte *pbVar9;\n  uint uVar10;\n  undefined4 *puVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  \n  bVar15 = 0;\n  *(undefined4 *)&stb->st_dev = 0;\n  *(undefined4 *)((int)&stb->st_ino + 4) = 0;\n  puVar11 = (undefined4 *)((uint)((int)&stb->st_dev + 4U) & 0xfffffffc);\n  uVar8 = (uint)((int)stb + (0x60 - (int)puVar11)) >> 2;\n  for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n    *puVar11 = 0;\n    puVar11 = puVar11 + 1;\n  }\n  iVar2 = __fxstat64(3,fd,(stat64 *)stb);\n  if (iVar2 == -1) {\n    set_loc("posix/gawkmisc.c",0x68);\n    piVar6 = __errno_location();\n    pcVar7 = strerror(*piVar6);\n    r_fatal("can\'t stat fd %d (%s)",fd,pcVar7);\n  }\n  if (optimal_bufsize::first == false) {\n    if ((optimal_bufsize::exact == false) && (optimal_bufsize::env_val != 0)) {\n      return optimal_bufsize::env_val;\n    }\n  }\n  else {\n    optimal_bufsize::first = false;\n    pbVar4 = (byte *)getenv("AWKBUFSIZE");\n    bVar13 = false;\n    bVar14 = pbVar4 == (byte *)0x0;\n    if (!bVar14) {\n      iVar2 = 6;\n      pbVar9 = pbVar4;\n      pbVar12 = (byte *)"exact";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) {\n        optimal_bufsize::exact = true;\n      }\n      else {\n        ppuVar5 = __ctype_b_loc();\n        bVar15 = *pbVar4;\n        uVar8 = (uint)bVar15;\n        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }\n      }\n    }\n  }\n  sVar1 = stb->st_blksize;\n  if ((stb->st_mode & 0xf000) == 0x8000) {\n    iVar2 = *(int *)((int)&stb->st_size + 4);\n    uVar8 = (uint)stb->st_size;\n    if ((-1 < iVar2) && ((0 < iVar2 || (uVar8 != 0)))) {\n      uVar10 = 0x2000;\n      if (0 < (int)sVar1) {\n        uVar10 = sVar1;\n      }\n      if (iVar2 < (int)uVar10 >> 0x1f) {\n        return uVar8;\n      }\n      if ((iVar2 <= (int)uVar10 >> 0x1f) && (uVar8 < uVar10)) {\n        return uVar8;\n      }\n      if (optimal_bufsize::exact != false) {\n        return uVar8;\n      }\n    }\n  }\n  sVar3 = 0x2000;\n  if (0 < (int)sVar1) {\n    sVar3 = sVar1;\n  }\n  return sVar3;\n}" primitive_type (function_declarator "optimal_bufsize(int fd,stat *stb)" identifier (parameter_list "(int fd,stat *stb)" ( (parameter_declaration "int fd" primitive_type identifier) , (parameter_declaration "stat *stb" type_identifier (pointer_declarator "*stb" * identifier)) ))) (compound_statement "{\n  size_t sVar1;\n  int iVar2;\n  size_t sVar3;\n  byte *pbVar4;\n  ushort **ppuVar5;\n  int *piVar6;\n  char *pcVar7;\n  uint uVar8;\n  byte *pbVar9;\n  uint uVar10;\n  undefined4 *puVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  \n  bVar15 = 0;\n  *(undefined4 *)&stb->st_dev = 0;\n  *(undefined4 *)((int)&stb->st_ino + 4) = 0;\n  puVar11 = (undefined4 *)((uint)((int)&stb->st_dev + 4U) & 0xfffffffc);\n  uVar8 = (uint)((int)stb + (0x60 - (int)puVar11)) >> 2;\n  for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n    *puVar11 = 0;\n    puVar11 = puVar11 + 1;\n  }\n  iVar2 = __fxstat64(3,fd,(stat64 *)stb);\n  if (iVar2 == -1) {\n    set_loc("posix/gawkmisc.c",0x68);\n    piVar6 = __errno_location();\n    pcVar7 = strerror(*piVar6);\n    r_fatal("can\'t stat fd %d (%s)",fd,pcVar7);\n  }\n  if (optimal_bufsize::first == false) {\n    if ((optimal_bufsize::exact == false) && (optimal_bufsize::env_val != 0)) {\n      return optimal_bufsize::env_val;\n    }\n  }\n  else {\n    optimal_bufsize::first = false;\n    pbVar4 = (byte *)getenv("AWKBUFSIZE");\n    bVar13 = false;\n    bVar14 = pbVar4 == (byte *)0x0;\n    if (!bVar14) {\n      iVar2 = 6;\n      pbVar9 = pbVar4;\n      pbVar12 = (byte *)"exact";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) {\n        optimal_bufsize::exact = true;\n      }\n      else {\n        ppuVar5 = __ctype_b_loc();\n        bVar15 = *pbVar4;\n        uVar8 = (uint)bVar15;\n        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }\n      }\n    }\n  }\n  sVar1 = stb->st_blksize;\n  if ((stb->st_mode & 0xf000) == 0x8000) {\n    iVar2 = *(int *)((int)&stb->st_size + 4);\n    uVar8 = (uint)stb->st_size;\n    if ((-1 < iVar2) && ((0 < iVar2 || (uVar8 != 0)))) {\n      uVar10 = 0x2000;\n      if (0 < (int)sVar1) {\n        uVar10 = sVar1;\n      }\n      if (iVar2 < (int)uVar10 >> 0x1f) {\n        return uVar8;\n      }\n      if ((iVar2 <= (int)uVar10 >> 0x1f) && (uVar8 < uVar10)) {\n        return uVar8;\n      }\n      if (optimal_bufsize::exact != false) {\n        return uVar8;\n      }\n    }\n  }\n  sVar3 = 0x2000;\n  if (0 < (int)sVar1) {\n    sVar3 = sVar1;\n  }\n  return sVar3;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "ushort **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "byte bVar15;" type_identifier identifier ;) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" identifier = number_literal) ;) (expression_statement "*(undefined4 *)&stb->st_dev = 0;" (assignment_expression "*(undefined4 *)&stb->st_dev = 0" (pointer_expression "*(undefined4 *)&stb->st_dev" * (cast_expression "(undefined4 *)&stb->st_dev" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stb->st_dev" & (field_expression "stb->st_dev" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&stb->st_ino + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&stb->st_ino + 4) = 0" (pointer_expression "*(undefined4 *)((int)&stb->st_ino + 4)" * (cast_expression "(undefined4 *)((int)&stb->st_ino + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&stb->st_ino + 4)" ( (binary_expression "(int)&stb->st_ino + 4" (cast_expression "(int)&stb->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&stb->st_ino" & (field_expression "stb->st_ino" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "puVar11 = (undefined4 *)((uint)((int)&stb->st_dev + 4U) & 0xfffffffc);" (assignment_expression "puVar11 = (undefined4 *)((uint)((int)&stb->st_dev + 4U) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)((int)&stb->st_dev + 4U) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)((int)&stb->st_dev + 4U) & 0xfffffffc)" ( (binary_expression "(uint)((int)&stb->st_dev + 4U) & 0xfffffffc" (call_expression "(uint)((int)&stb->st_dev + 4U)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)&stb->st_dev + 4U)" ( (binary_expression "(int)&stb->st_dev + 4U" (cast_expression "(int)&stb->st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&stb->st_dev" & (field_expression "stb->st_dev" identifier -> field_identifier))) + number_literal) ))) & number_literal) )))) ;) (expression_statement "uVar8 = (uint)((int)stb + (0x60 - (int)puVar11)) >> 2;" (assignment_expression "uVar8 = (uint)((int)stb + (0x60 - (int)puVar11)) >> 2" identifier = (binary_expression "(uint)((int)stb + (0x60 - (int)puVar11)) >> 2" (call_expression "(uint)((int)stb + (0x60 - (int)puVar11))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)stb + (0x60 - (int)puVar11))" ( (binary_expression "(int)stb + (0x60 - (int)puVar11)" (cast_expression "(int)stb" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x60 - (int)puVar11)" ( (binary_expression "0x60 - (int)puVar11" number_literal - (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n    *puVar11 = 0;\n    puVar11 = puVar11 + 1;\n  }" for ( ; (binary_expression "uVar8 != 0" identifier != number_literal) ; (assignment_expression "uVar8 = uVar8 - 1" identifier = (binary_expression "uVar8 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar11 = 0;\n    puVar11 = puVar11 + 1;\n  }" { (expression_statement "*puVar11 = 0;" (assignment_expression "*puVar11 = 0" (pointer_expression "*puVar11" * identifier) = number_literal) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar2 = __fxstat64(3,fd,(stat64 *)stb);" (assignment_expression "iVar2 = __fxstat64(3,fd,(stat64 *)stb)" identifier = (call_expression "__fxstat64(3,fd,(stat64 *)stb)" identifier (argument_list "(3,fd,(stat64 *)stb)" ( number_literal , identifier , (cast_expression "(stat64 *)stb" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar2 == -1) {\n    set_loc("posix/gawkmisc.c",0x68);\n    piVar6 = __errno_location();\n    pcVar7 = strerror(*piVar6);\n    r_fatal("can\'t stat fd %d (%s)",fd,pcVar7);\n  }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n    set_loc("posix/gawkmisc.c",0x68);\n    piVar6 = __errno_location();\n    pcVar7 = strerror(*piVar6);\n    r_fatal("can\'t stat fd %d (%s)",fd,pcVar7);\n  }" { (expression_statement "set_loc("posix/gawkmisc.c",0x68);" (call_expression "set_loc("posix/gawkmisc.c",0x68)" identifier (argument_list "("posix/gawkmisc.c",0x68)" ( (string_literal ""posix/gawkmisc.c"" " string_content ") , number_literal ))) ;) (expression_statement "piVar6 = __errno_location();" (assignment_expression "piVar6 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar7 = strerror(*piVar6);" (assignment_expression "pcVar7 = strerror(*piVar6)" identifier = (call_expression "strerror(*piVar6)" identifier (argument_list "(*piVar6)" ( (pointer_expression "*piVar6" * identifier) )))) ;) (expression_statement "r_fatal("can\'t stat fd %d (%s)",fd,pcVar7);" (call_expression "r_fatal("can\'t stat fd %d (%s)",fd,pcVar7)" identifier (argument_list "("can\'t stat fd %d (%s)",fd,pcVar7)" ( (string_literal ""can\'t stat fd %d (%s)"" " string_content escape_sequence string_content ") , identifier , identifier ))) ;) })) (if_statement "if (optimal_bufsize::first == false) {\n    if ((optimal_bufsize::exact == false) && (optimal_bufsize::env_val != 0)) {\n      return optimal_bufsize::env_val;\n    }\n  }\n  else {\n    optimal_bufsize::first = false;\n    pbVar4 = (byte *)getenv("AWKBUFSIZE");\n    bVar13 = false;\n    bVar14 = pbVar4 == (byte *)0x0;\n    if (!bVar14) {\n      iVar2 = 6;\n      pbVar9 = pbVar4;\n      pbVar12 = (byte *)"exact";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) {\n        optimal_bufsize::exact = true;\n      }\n      else {\n        ppuVar5 = __ctype_b_loc();\n        bVar15 = *pbVar4;\n        uVar8 = (uint)bVar15;\n        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(optimal_bufsize::first == false)" ( (binary_expression "optimal_bufsize::first == false" identifier (ERROR "::first" : : identifier) == false) )) (compound_statement "{\n    if ((optimal_bufsize::exact == false) && (optimal_bufsize::env_val != 0)) {\n      return optimal_bufsize::env_val;\n    }\n  }" { (if_statement "if ((optimal_bufsize::exact == false) && (optimal_bufsize::env_val != 0)) {\n      return optimal_bufsize::env_val;\n    }" if (parenthesized_expression "((optimal_bufsize::exact == false) && (optimal_bufsize::env_val != 0))" ( (binary_expression "(optimal_bufsize::exact == false) && (optimal_bufsize::env_val != 0)" (parenthesized_expression "(optimal_bufsize::exact == false)" ( (binary_expression "optimal_bufsize::exact == false" identifier (ERROR "::exact" : : identifier) == false) )) && (parenthesized_expression "(optimal_bufsize::env_val != 0)" ( (binary_expression "optimal_bufsize::env_val != 0" identifier (ERROR "::env_val" : : identifier) != number_literal) ))) )) (compound_statement "{\n      return optimal_bufsize::env_val;\n    }" { (return_statement "return optimal_bufsize::env_val;" return identifier (ERROR "::env_val" : : identifier) ;) })) }) (else_clause "else {\n    optimal_bufsize::first = false;\n    pbVar4 = (byte *)getenv("AWKBUFSIZE");\n    bVar13 = false;\n    bVar14 = pbVar4 == (byte *)0x0;\n    if (!bVar14) {\n      iVar2 = 6;\n      pbVar9 = pbVar4;\n      pbVar12 = (byte *)"exact";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) {\n        optimal_bufsize::exact = true;\n      }\n      else {\n        ppuVar5 = __ctype_b_loc();\n        bVar15 = *pbVar4;\n        uVar8 = (uint)bVar15;\n        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }\n      }\n    }\n  }" else (compound_statement "{\n    optimal_bufsize::first = false;\n    pbVar4 = (byte *)getenv("AWKBUFSIZE");\n    bVar13 = false;\n    bVar14 = pbVar4 == (byte *)0x0;\n    if (!bVar14) {\n      iVar2 = 6;\n      pbVar9 = pbVar4;\n      pbVar12 = (byte *)"exact";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) {\n        optimal_bufsize::exact = true;\n      }\n      else {\n        ppuVar5 = __ctype_b_loc();\n        bVar15 = *pbVar4;\n        uVar8 = (uint)bVar15;\n        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }\n      }\n    }\n  }" { (labeled_statement "optimal_bufsize::first = false;" statement_identifier : (ERROR ":" :) (expression_statement "first = false;" (assignment_expression "first = false" identifier = false) ;)) (expression_statement "pbVar4 = (byte *)getenv("AWKBUFSIZE");" (assignment_expression "pbVar4 = (byte *)getenv("AWKBUFSIZE")" identifier = (cast_expression "(byte *)getenv("AWKBUFSIZE")" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "getenv("AWKBUFSIZE")" identifier (argument_list "("AWKBUFSIZE")" ( (string_literal ""AWKBUFSIZE"" " string_content ") ))))) ;) (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" identifier = false) ;) (expression_statement "bVar14 = pbVar4 == (byte *)0x0;" (assignment_expression "bVar14 = pbVar4 == (byte *)0x0" identifier = (binary_expression "pbVar4 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar14) {\n      iVar2 = 6;\n      pbVar9 = pbVar4;\n      pbVar12 = (byte *)"exact";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) {\n        optimal_bufsize::exact = true;\n      }\n      else {\n        ppuVar5 = __ctype_b_loc();\n        bVar15 = *pbVar4;\n        uVar8 = (uint)bVar15;\n        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }\n      }\n    }" if (parenthesized_expression "(!bVar14)" ( (unary_expression "!bVar14" ! identifier) )) (compound_statement "{\n      iVar2 = 6;\n      pbVar9 = pbVar4;\n      pbVar12 = (byte *)"exact";\n      do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) {\n        optimal_bufsize::exact = true;\n      }\n      else {\n        ppuVar5 = __ctype_b_loc();\n        bVar15 = *pbVar4;\n        uVar8 = (uint)bVar15;\n        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }\n      }\n    }" { (expression_statement "iVar2 = 6;" (assignment_expression "iVar2 = 6" identifier = number_literal) ;) (expression_statement "pbVar9 = pbVar4;" (assignment_expression "pbVar9 = pbVar4" identifier = identifier) ;) (expression_statement "pbVar12 = (byte *)"exact";" (assignment_expression "pbVar12 = (byte *)"exact"" identifier = (cast_expression "(byte *)"exact"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""exact"" " string_content "))) ;) (do_statement "do {\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);" do (compound_statement "{\n        if (iVar2 == 0) break;\n        iVar2 = iVar2 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" identifier = (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" identifier = (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\n        optimal_bufsize::exact = true;\n      }\n      else {\n        ppuVar5 = __ctype_b_loc();\n        bVar15 = *pbVar4;\n        uVar8 = (uint)bVar15;\n        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }\n      }" if (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) (compound_statement "{\n        optimal_bufsize::exact = true;\n      }" { (labeled_statement "optimal_bufsize::exact = true;" statement_identifier : (ERROR ":" :) (expression_statement "exact = true;" (assignment_expression "exact = true" identifier = true) ;)) }) (else_clause "else {\n        ppuVar5 = __ctype_b_loc();\n        bVar15 = *pbVar4;\n        uVar8 = (uint)bVar15;\n        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }\n      }" else (compound_statement "{\n        ppuVar5 = __ctype_b_loc();\n        bVar15 = *pbVar4;\n        uVar8 = (uint)bVar15;\n        if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }\n      }" { (expression_statement "ppuVar5 = __ctype_b_loc();" (assignment_expression "ppuVar5 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar15 = *pbVar4;" (assignment_expression "bVar15 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "uVar8 = (uint)bVar15;" (assignment_expression "uVar8 = (uint)bVar15" identifier = (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }" if (parenthesized_expression "((*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0)" ( (binary_expression "(*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8) != 0" (parenthesized_expression "(*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8)" ( (binary_expression "*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8" (pointer_expression "*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar5 + uVar8 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar5 + uVar8 * 2 + 1)" ( (binary_expression "(int)*ppuVar5 + uVar8 * 2 + 1" (binary_expression "(int)*ppuVar5 + uVar8 * 2" (cast_expression "(int)*ppuVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar5" * identifier)) + (binary_expression "uVar8 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n          while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }\n          return optimal_bufsize::env_val;\n        }" { (while_statement "while( true ) {\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }\n            pbVar4 = pbVar4 + 1;\n            optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;\n            uVar8 = (uint)*pbVar4;\n            if (*pbVar4 == 0) break;\n            bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;\n          }" { (if_statement "if (bVar15 == 0) {\n              return optimal_bufsize::env_val;\n            }" if (parenthesized_expression "(bVar15 == 0)" ( (binary_expression "bVar15 == 0" identifier == number_literal) )) (compound_statement "{\n              return optimal_bufsize::env_val;\n            }" { (return_statement "return optimal_bufsize::env_val;" return identifier (ERROR "::env_val" : : identifier) ;) })) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (labeled_statement "optimal_bufsize::env_val = (char)uVar8 + -0x30 + optimal_bufsize::env_val * 10;" statement_identifier (ERROR "::env_val = (char)uVar8 + -0x30 + optimal_bufsize:" : : (assignment_expression "env_val = (char)uVar8 + -0x30 + optimal_bufsize" identifier = (binary_expression "(char)uVar8 + -0x30 + optimal_bufsize" (binary_expression "(char)uVar8 + -0x30" (cast_expression "(char)uVar8" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal) + identifier)) :) : (expression_statement "env_val * 10;" (binary_expression "env_val * 10" identifier * number_literal) ;)) (expression_statement "uVar8 = (uint)*pbVar4;" (assignment_expression "uVar8 = (uint)*pbVar4" identifier = (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (*pbVar4 == 0) break;" if (parenthesized_expression "(*pbVar4 == 0)" ( (binary_expression "*pbVar4 == 0" (pointer_expression "*pbVar4" * identifier) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8;" (assignment_expression "bVar15 = *(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8" identifier = (binary_expression "*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1) & 8" (pointer_expression "*(byte *)((int)*ppuVar5 + uVar8 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar5 + uVar8 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar5 + uVar8 * 2 + 1)" ( (binary_expression "(int)*ppuVar5 + uVar8 * 2 + 1" (binary_expression "(int)*ppuVar5 + uVar8 * 2" (cast_expression "(int)*ppuVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar5" * identifier)) + (binary_expression "uVar8 * 2" identifier * number_literal)) + number_literal) )))) & number_literal)) ;) })) (return_statement "return optimal_bufsize::env_val;" return identifier (ERROR "::env_val" : : identifier) ;) })) }))) })) }))) (expression_statement "sVar1 = stb->st_blksize;" (assignment_expression "sVar1 = stb->st_blksize" identifier = (field_expression "stb->st_blksize" identifier -> field_identifier)) ;) (if_statement "if ((stb->st_mode & 0xf000) == 0x8000) {\n    iVar2 = *(int *)((int)&stb->st_size + 4);\n    uVar8 = (uint)stb->st_size;\n    if ((-1 < iVar2) && ((0 < iVar2 || (uVar8 != 0)))) {\n      uVar10 = 0x2000;\n      if (0 < (int)sVar1) {\n        uVar10 = sVar1;\n      }\n      if (iVar2 < (int)uVar10 >> 0x1f) {\n        return uVar8;\n      }\n      if ((iVar2 <= (int)uVar10 >> 0x1f) && (uVar8 < uVar10)) {\n        return uVar8;\n      }\n      if (optimal_bufsize::exact != false) {\n        return uVar8;\n      }\n    }\n  }" if (parenthesized_expression "((stb->st_mode & 0xf000) == 0x8000)" ( (binary_expression "(stb->st_mode & 0xf000) == 0x8000" (parenthesized_expression "(stb->st_mode & 0xf000)" ( (binary_expression "stb->st_mode & 0xf000" (field_expression "stb->st_mode" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar2 = *(int *)((int)&stb->st_size + 4);\n    uVar8 = (uint)stb->st_size;\n    if ((-1 < iVar2) && ((0 < iVar2 || (uVar8 != 0)))) {\n      uVar10 = 0x2000;\n      if (0 < (int)sVar1) {\n        uVar10 = sVar1;\n      }\n      if (iVar2 < (int)uVar10 >> 0x1f) {\n        return uVar8;\n      }\n      if ((iVar2 <= (int)uVar10 >> 0x1f) && (uVar8 < uVar10)) {\n        return uVar8;\n      }\n      if (optimal_bufsize::exact != false) {\n        return uVar8;\n      }\n    }\n  }" { (expression_statement "iVar2 = *(int *)((int)&stb->st_size + 4);" (assignment_expression "iVar2 = *(int *)((int)&stb->st_size + 4)" identifier = (pointer_expression "*(int *)((int)&stb->st_size + 4)" * (cast_expression "(int *)((int)&stb->st_size + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&stb->st_size + 4)" ( (binary_expression "(int)&stb->st_size + 4" (cast_expression "(int)&stb->st_size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&stb->st_size" & (field_expression "stb->st_size" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar8 = (uint)stb->st_size;" (assignment_expression "uVar8 = (uint)stb->st_size" identifier = (cast_expression "(uint)stb->st_size" ( (type_descriptor "uint" type_identifier) ) (field_expression "stb->st_size" identifier -> field_identifier))) ;) (if_statement "if ((-1 < iVar2) && ((0 < iVar2 || (uVar8 != 0)))) {\n      uVar10 = 0x2000;\n      if (0 < (int)sVar1) {\n        uVar10 = sVar1;\n      }\n      if (iVar2 < (int)uVar10 >> 0x1f) {\n        return uVar8;\n      }\n      if ((iVar2 <= (int)uVar10 >> 0x1f) && (uVar8 < uVar10)) {\n        return uVar8;\n      }\n      if (optimal_bufsize::exact != false) {\n        return uVar8;\n      }\n    }" if (parenthesized_expression "((-1 < iVar2) && ((0 < iVar2 || (uVar8 != 0))))" ( (binary_expression "(-1 < iVar2) && ((0 < iVar2 || (uVar8 != 0)))" (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) && (parenthesized_expression "((0 < iVar2 || (uVar8 != 0)))" ( (parenthesized_expression "(0 < iVar2 || (uVar8 != 0))" ( (binary_expression "0 < iVar2 || (uVar8 != 0)" (binary_expression "0 < iVar2" number_literal < identifier) || (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n      uVar10 = 0x2000;\n      if (0 < (int)sVar1) {\n        uVar10 = sVar1;\n      }\n      if (iVar2 < (int)uVar10 >> 0x1f) {\n        return uVar8;\n      }\n      if ((iVar2 <= (int)uVar10 >> 0x1f) && (uVar8 < uVar10)) {\n        return uVar8;\n      }\n      if (optimal_bufsize::exact != false) {\n        return uVar8;\n      }\n    }" { (expression_statement "uVar10 = 0x2000;" (assignment_expression "uVar10 = 0x2000" identifier = number_literal) ;) (if_statement "if (0 < (int)sVar1) {\n        uVar10 = sVar1;\n      }" if (parenthesized_expression "(0 < (int)sVar1)" ( (binary_expression "0 < (int)sVar1" number_literal < (cast_expression "(int)sVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        uVar10 = sVar1;\n      }" { (expression_statement "uVar10 = sVar1;" (assignment_expression "uVar10 = sVar1" identifier = identifier) ;) })) (if_statement "if (iVar2 < (int)uVar10 >> 0x1f) {\n        return uVar8;\n      }" if (parenthesized_expression "(iVar2 < (int)uVar10 >> 0x1f)" ( (binary_expression "iVar2 < (int)uVar10 >> 0x1f" identifier < (binary_expression "(int)uVar10 >> 0x1f" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) (compound_statement "{\n        return uVar8;\n      }" { (return_statement "return uVar8;" return identifier ;) })) (if_statement "if ((iVar2 <= (int)uVar10 >> 0x1f) && (uVar8 < uVar10)) {\n        return uVar8;\n      }" if (parenthesized_expression "((iVar2 <= (int)uVar10 >> 0x1f) && (uVar8 < uVar10))" ( (binary_expression "(iVar2 <= (int)uVar10 >> 0x1f) && (uVar8 < uVar10)" (parenthesized_expression "(iVar2 <= (int)uVar10 >> 0x1f)" ( (binary_expression "iVar2 <= (int)uVar10 >> 0x1f" identifier <= (binary_expression "(int)uVar10 >> 0x1f" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) && (parenthesized_expression "(uVar8 < uVar10)" ( (binary_expression "uVar8 < uVar10" identifier < identifier) ))) )) (compound_statement "{\n        return uVar8;\n      }" { (return_statement "return uVar8;" return identifier ;) })) (if_statement "if (optimal_bufsize::exact != false) {\n        return uVar8;\n      }" if (parenthesized_expression "(optimal_bufsize::exact != false)" ( (binary_expression "optimal_bufsize::exact != false" identifier (ERROR "::exact" : : identifier) != false) )) (compound_statement "{\n        return uVar8;\n      }" { (return_statement "return uVar8;" return identifier ;) })) })) })) (expression_statement "sVar3 = 0x2000;" (assignment_expression "sVar3 = 0x2000" identifier = number_literal) ;) (if_statement "if (0 < (int)sVar1) {\n    sVar3 = sVar1;\n  }" if (parenthesized_expression "(0 < (int)sVar1)" ( (binary_expression "0 < (int)sVar1" number_literal < (cast_expression "(int)sVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    sVar3 = sVar1;\n  }" { (expression_statement "sVar3 = sVar1;" (assignment_expression "sVar3 = sVar1" identifier = identifier) ;) })) (return_statement "return sVar3;" return identifier ;) })))
(translation_unit "uint FUN_0005b2c0(int param_1,stat64 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  byte *pbVar3;\n  ushort **ppuVar4;\n  int *piVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte *pbVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  \n  bVar14 = 0;\n  *(undefined4 *)&param_2->st_dev = 0;\n  *(undefined4 *)((int)&param_2->st_ino + 4) = 0;\n  puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);\n  uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;\n  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }\n  iVar1 = __fxstat64(3,param_1,param_2);\n  if (iVar1 == -1) {\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }\n  if (DAT_000bf880 == '\0') {\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }\n  else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }\n  uVar7 = param_2->st_blksize;\n  if ((param_2->st_mode & 0xf000) == 0x8000) {\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }\n  uVar2 = 0x2000;\n  if (0 < (int)uVar7) {\n    uVar2 = uVar7;\n  }\n  return uVar2;\n}\n\n" (function_definition "uint FUN_0005b2c0(int param_1,stat64 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  byte *pbVar3;\n  ushort **ppuVar4;\n  int *piVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte *pbVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  \n  bVar14 = 0;\n  *(undefined4 *)&param_2->st_dev = 0;\n  *(undefined4 *)((int)&param_2->st_ino + 4) = 0;\n  puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);\n  uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;\n  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }\n  iVar1 = __fxstat64(3,param_1,param_2);\n  if (iVar1 == -1) {\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }\n  if (DAT_000bf880 == '\0') {\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }\n  else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }\n  uVar7 = param_2->st_blksize;\n  if ((param_2->st_mode & 0xf000) == 0x8000) {\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }\n  uVar2 = 0x2000;\n  if (0 < (int)uVar7) {\n    uVar2 = uVar7;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0005b2c0(int param_1,stat64 *param_2)" identifier (parameter_list "(int param_1,stat64 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "stat64 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  byte *pbVar3;\n  ushort **ppuVar4;\n  int *piVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte *pbVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  \n  bVar14 = 0;\n  *(undefined4 *)&param_2->st_dev = 0;\n  *(undefined4 *)((int)&param_2->st_ino + 4) = 0;\n  puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);\n  uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;\n  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }\n  iVar1 = __fxstat64(3,param_1,param_2);\n  if (iVar1 == -1) {\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }\n  if (DAT_000bf880 == '\0') {\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }\n  else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }\n  uVar7 = param_2->st_blksize;\n  if ((param_2->st_mode & 0xf000) == 0x8000) {\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }\n  uVar2 = 0x2000;\n  if (0 < (int)uVar7) {\n    uVar2 = uVar7;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "ushort **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "byte bVar14;" type_identifier identifier ;) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" identifier = number_literal) ;) (expression_statement "*(undefined4 *)&param_2->st_dev = 0;" (assignment_expression "*(undefined4 *)&param_2->st_dev = 0" (pointer_expression "*(undefined4 *)&param_2->st_dev" * (cast_expression "(undefined4 *)&param_2->st_dev" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&param_2->st_dev" & (field_expression "param_2->st_dev" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&param_2->st_ino + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&param_2->st_ino + 4) = 0" (pointer_expression "*(undefined4 *)((int)&param_2->st_ino + 4)" * (cast_expression "(undefined4 *)((int)&param_2->st_ino + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_2->st_ino + 4)" ( (binary_expression "(int)&param_2->st_ino + 4" (cast_expression "(int)&param_2->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_2->st_ino" & (field_expression "param_2->st_ino" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);" (assignment_expression "puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc)" ( (binary_expression "(uint)((int)&param_2->st_dev + 4U) & 0xfffffffc" (call_expression "(uint)((int)&param_2->st_dev + 4U)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)&param_2->st_dev + 4U)" ( (binary_expression "(int)&param_2->st_dev + 4U" (cast_expression "(int)&param_2->st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_2->st_dev" & (field_expression "param_2->st_dev" identifier -> field_identifier))) + number_literal) ))) & number_literal) )))) ;) (expression_statement "uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;" (assignment_expression "uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2" identifier = (binary_expression "(uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2" (call_expression "(uint)((int)param_2 + (0x60 - (int)puVar10))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_2 + (0x60 - (int)puVar10))" ( (binary_expression "(int)param_2 + (0x60 - (int)puVar10)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x60 - (int)puVar10)" ( (binary_expression "0x60 - (int)puVar10" number_literal - (cast_expression "(int)puVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }" for ( ; (binary_expression "uVar7 != 0" identifier != number_literal) ; (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }" { (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (expression_statement "puVar10 = puVar10 + 1;" (assignment_expression "puVar10 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar1 = __fxstat64(3,param_1,param_2);" (assignment_expression "iVar1 = __fxstat64(3,param_1,param_2)" identifier = (call_expression "__fxstat64(3,param_1,param_2)" identifier (argument_list "(3,param_1,param_2)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar1 == -1) {\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }" { (expression_statement "FUN_000660d0("posix/gawkmisc.c",0x68);" (call_expression "FUN_000660d0("posix/gawkmisc.c",0x68)" identifier (argument_list "("posix/gawkmisc.c",0x68)" ( (string_literal ""posix/gawkmisc.c"" " string_content ") , number_literal ))) ;) (expression_statement "piVar5 = __errno_location();" (assignment_expression "piVar5 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar6 = strerror(*piVar5);" (assignment_expression "pcVar6 = strerror(*piVar5)" identifier = (call_expression "strerror(*piVar5)" identifier (argument_list "(*piVar5)" ( (pointer_expression "*piVar5" * identifier) )))) ;) (expression_statement "FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);" (call_expression "FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6)" identifier (argument_list "("can\'t stat fd %d (%s)",param_1,pcVar6)" ( (string_literal ""can\'t stat fd %d (%s)"" " string_content escape_sequence string_content ") , identifier , identifier ))) ;) })) (if_statement "if (DAT_000bf880 == '\0') {\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }\n  else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }" if (parenthesized_expression "(DAT_000bf880 == '\0')" ( (binary_expression "DAT_000bf880 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }" { (if_statement "if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }" if (parenthesized_expression "((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0))" ( (binary_expression "(DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)" (parenthesized_expression "(DAT_000c35fc == '\0')" ( (binary_expression "DAT_000c35fc == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(DAT_000c35f8 != 0)" ( (binary_expression "DAT_000c35f8 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      return DAT_000c35f8;\n    }" { (return_statement "return DAT_000c35f8;" return identifier ;) })) }) (else_clause "else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }" else (compound_statement "{\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }" { (expression_statement "DAT_000bf880 = '\0';" (assignment_expression "DAT_000bf880 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pbVar3 = (byte *)getenv("AWKBUFSIZE");" (assignment_expression "pbVar3 = (byte *)getenv("AWKBUFSIZE")" identifier = (cast_expression "(byte *)getenv("AWKBUFSIZE")" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "getenv("AWKBUFSIZE")" identifier (argument_list "("AWKBUFSIZE")" ( (string_literal ""AWKBUFSIZE"" " string_content ") ))))) ;) (expression_statement "bVar12 = false;" (assignment_expression "bVar12 = false" identifier = false) ;) (expression_statement "bVar13 = pbVar3 == (byte *)0x0;" (assignment_expression "bVar13 = pbVar3 == (byte *)0x0" identifier = (binary_expression "pbVar3 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }" if (parenthesized_expression "(!bVar13)" ( (unary_expression "!bVar13" ! identifier) )) (compound_statement "{\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }" { (expression_statement "iVar1 = 6;" (assignment_expression "iVar1 = 6" identifier = number_literal) ;) (expression_statement "pbVar8 = pbVar3;" (assignment_expression "pbVar8 = pbVar3" identifier = identifier) ;) (expression_statement "pbVar11 = (byte *)"exact";" (assignment_expression "pbVar11 = (byte *)"exact"" identifier = (cast_expression "(byte *)"exact"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""exact"" " string_content "))) ;) (do_statement "do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);" do (compound_statement "{\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      }" { (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "bVar12 = *pbVar8 < *pbVar11;" (assignment_expression "bVar12 = *pbVar8 < *pbVar11" identifier = (binary_expression "*pbVar8 < *pbVar11" (pointer_expression "*pbVar8" * identifier) < (pointer_expression "*pbVar11" * identifier))) ;) (expression_statement "bVar13 = *pbVar8 == *pbVar11;" (assignment_expression "bVar13 = *pbVar8 == *pbVar11" identifier = (binary_expression "*pbVar8 == *pbVar11" (pointer_expression "*pbVar8" * identifier) == (pointer_expression "*pbVar11" * identifier))) ;) (expression_statement "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar8 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar8 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar11 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar11 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar13)" ( identifier )) ;) (if_statement "if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }" if (parenthesized_expression "((!bVar12 && !bVar13) == bVar12)" ( (binary_expression "(!bVar12 && !bVar13) == bVar12" (parenthesized_expression "(!bVar12 && !bVar13)" ( (binary_expression "!bVar12 && !bVar13" (unary_expression "!bVar12" ! identifier) && (unary_expression "!bVar13" ! identifier)) )) == identifier) )) (compound_statement "{\n        DAT_000c35fc = '\x01';\n      }" { (expression_statement "DAT_000c35fc = '\x01';" (assignment_expression "DAT_000c35fc = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) }) (else_clause "else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }" else (compound_statement "{\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }" { (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar14 = *pbVar3;" (assignment_expression "bVar14 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (expression_statement "uVar7 = (uint)bVar14;" (assignment_expression "uVar7 = (uint)bVar14" identifier = (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }" if (parenthesized_expression "((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0)" ( (binary_expression "(*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0" (parenthesized_expression "(*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8)" ( (binary_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8" (pointer_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar4 + uVar7 * 2 + 1)" ( (binary_expression "(int)*ppuVar4 + uVar7 * 2 + 1" (binary_expression "(int)*ppuVar4 + uVar7 * 2" (cast_expression "(int)*ppuVar4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar4" * identifier)) + (binary_expression "uVar7 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }" { (while_statement "while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }" { (if_statement "if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }" if (parenthesized_expression "(bVar14 == 0)" ( (binary_expression "bVar14 == 0" identifier == number_literal) )) (compound_statement "{\n              return DAT_000c35f8;\n            }" { (return_statement "return DAT_000c35f8;" return identifier ;) })) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;" (assignment_expression "DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10" identifier = (binary_expression "(char)uVar7 + -0x30 + DAT_000c35f8 * 10" (binary_expression "(char)uVar7 + -0x30" (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal) + (binary_expression "DAT_000c35f8 * 10" identifier * number_literal))) ;) (expression_statement "uVar7 = (uint)*pbVar3;" (assignment_expression "uVar7 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (*pbVar3 == 0) break;" if (parenthesized_expression "(*pbVar3 == 0)" ( (binary_expression "*pbVar3 == 0" (pointer_expression "*pbVar3" * identifier) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;" (assignment_expression "bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8" identifier = (binary_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8" (pointer_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar4 + uVar7 * 2 + 1)" ( (binary_expression "(int)*ppuVar4 + uVar7 * 2 + 1" (binary_expression "(int)*ppuVar4 + uVar7 * 2" (cast_expression "(int)*ppuVar4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar4" * identifier)) + (binary_expression "uVar7 * 2" identifier * number_literal)) + number_literal) )))) & number_literal)) ;) })) (return_statement "return DAT_000c35f8;" return identifier ;) })) }))) })) }))) (expression_statement "uVar7 = param_2->st_blksize;" (assignment_expression "uVar7 = param_2->st_blksize" identifier = (field_expression "param_2->st_blksize" identifier -> field_identifier)) ;) (if_statement "if ((param_2->st_mode & 0xf000) == 0x8000) {\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }" if (parenthesized_expression "((param_2->st_mode & 0xf000) == 0x8000)" ( (binary_expression "(param_2->st_mode & 0xf000) == 0x8000" (parenthesized_expression "(param_2->st_mode & 0xf000)" ( (binary_expression "param_2->st_mode & 0xf000" (field_expression "param_2->st_mode" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }" { (expression_statement "iVar1 = *(int *)((int)&param_2->st_size + 4);" (assignment_expression "iVar1 = *(int *)((int)&param_2->st_size + 4)" identifier = (pointer_expression "*(int *)((int)&param_2->st_size + 4)" * (cast_expression "(int *)((int)&param_2->st_size + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_2->st_size + 4)" ( (binary_expression "(int)&param_2->st_size + 4" (cast_expression "(int)&param_2->st_size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_2->st_size" & (field_expression "param_2->st_size" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar2 = (uint)param_2->st_size;" (assignment_expression "uVar2 = (uint)param_2->st_size" identifier = (cast_expression "(uint)param_2->st_size" ( (type_descriptor "uint" type_identifier) ) (field_expression "param_2->st_size" identifier -> field_identifier))) ;) (if_statement "if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }" if (parenthesized_expression "((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0))))" ( (binary_expression "(-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))" (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) && (parenthesized_expression "((0 < iVar1 || (uVar2 != 0)))" ( (parenthesized_expression "(0 < iVar1 || (uVar2 != 0))" ( (binary_expression "0 < iVar1 || (uVar2 != 0)" (binary_expression "0 < iVar1" number_literal < identifier) || (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }" { (expression_statement "uVar9 = 0x2000;" (assignment_expression "uVar9 = 0x2000" identifier = number_literal) ;) (if_statement "if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }" if (parenthesized_expression "(0 < (int)uVar7)" ( (binary_expression "0 < (int)uVar7" number_literal < (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        uVar9 = uVar7;\n      }" { (expression_statement "uVar9 = uVar7;" (assignment_expression "uVar9 = uVar7" identifier = identifier) ;) })) (if_statement "if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }" if (parenthesized_expression "(iVar1 < (int)uVar9 >> 0x1f)" ( (binary_expression "iVar1 < (int)uVar9 >> 0x1f" identifier < (binary_expression "(int)uVar9 >> 0x1f" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) (compound_statement "{\n        return uVar2;\n      }" { (return_statement "return uVar2;" return identifier ;) })) (if_statement "if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }" if (parenthesized_expression "((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9))" ( (binary_expression "(iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)" (parenthesized_expression "(iVar1 <= (int)uVar9 >> 0x1f)" ( (binary_expression "iVar1 <= (int)uVar9 >> 0x1f" identifier <= (binary_expression "(int)uVar9 >> 0x1f" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) && (parenthesized_expression "(uVar2 < uVar9)" ( (binary_expression "uVar2 < uVar9" identifier < identifier) ))) )) (compound_statement "{\n        return uVar2;\n      }" { (return_statement "return uVar2;" return identifier ;) })) (if_statement "if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }" if (parenthesized_expression "(DAT_000c35fc != '\0')" ( (binary_expression "DAT_000c35fc != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return uVar2;\n      }" { (return_statement "return uVar2;" return identifier ;) })) })) })) (expression_statement "uVar2 = 0x2000;" (assignment_expression "uVar2 = 0x2000" identifier = number_literal) ;) (if_statement "if (0 < (int)uVar7) {\n    uVar2 = uVar7;\n  }" if (parenthesized_expression "(0 < (int)uVar7)" ( (binary_expression "0 < (int)uVar7" number_literal < (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar2 = uVar7;\n  }" { (expression_statement "uVar2 = uVar7;" (assignment_expression "uVar2 = uVar7" identifier = identifier) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & (field_expression IDENT -> field_identifier)))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & (field_expression IDENT -> field_identifier))) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & (field_expression IDENT -> field_identifier))) + LIT) ))) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))) >> LIT)) ;) (for_statement for ( ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content ") , IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") ))))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT)) ;) })) (return_statement return IDENT ;) })) }))) })) }))) (expression_statement (assignment_expression IDENT = (field_expression IDENT -> field_identifier)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT -> field_identifier) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & (field_expression IDENT -> field_identifier))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (field_expression IDENT -> field_identifier))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression LIT < IDENT) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return IDENT ;) })) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0005b2c0(int param_1,stat64 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  byte *pbVar3;\n  ushort **ppuVar4;\n  int *piVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte *pbVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  \n  bVar14 = 0;\n  *(undefined4 *)&param_2->st_dev = 0;\n  *(undefined4 *)((int)&param_2->st_ino + 4) = 0;\n  puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);\n  uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;\n  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }\n  iVar1 = __fxstat64(3,param_1,param_2);\n  if (iVar1 == -1) {\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }\n  if (DAT_000bf880 == '\0') {\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }\n  else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }\n  uVar7 = param_2->st_blksize;\n  if ((param_2->st_mode & 0xf000) == 0x8000) {\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }\n  uVar2 = 0x2000;\n  if (0 < (int)uVar7) {\n    uVar2 = uVar7;\n  }\n  return uVar2;\n}" (type_identifier "uint") (function_declarator "FUN_0005b2c0(int param_1,stat64 *param_2)" (identifier "FUN_0005b2c0") (parameter_list "(int param_1,stat64 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "stat64 *param_2" (type_identifier "stat64") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  byte *pbVar3;\n  ushort **ppuVar4;\n  int *piVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte *pbVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  \n  bVar14 = 0;\n  *(undefined4 *)&param_2->st_dev = 0;\n  *(undefined4 *)((int)&param_2->st_ino + 4) = 0;\n  puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);\n  uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;\n  for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }\n  iVar1 = __fxstat64(3,param_1,param_2);\n  if (iVar1 == -1) {\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }\n  if (DAT_000bf880 == '\0') {\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }\n  else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }\n  uVar7 = param_2->st_blksize;\n  if ((param_2->st_mode & 0xf000) == 0x8000) {\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }\n  uVar2 = 0x2000;\n  if (0 < (int)uVar7) {\n    uVar2 = uVar7;\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "ushort **ppuVar4;" (type_identifier "ushort") (pointer_declarator "**ppuVar4" (* "*") (pointer_declarator "*ppuVar4" (* "*") (identifier "ppuVar4"))) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "byte *pbVar11;" (type_identifier "byte") (pointer_declarator "*pbVar11" (* "*") (identifier "pbVar11")) (; ";")) (declaration "bool bVar12;" (primitive_type "bool") (identifier "bVar12") (; ";")) (declaration "bool bVar13;" (primitive_type "bool") (identifier "bVar13") (; ";")) (declaration "byte bVar14;" (type_identifier "byte") (identifier "bVar14") (; ";")) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" (identifier "bVar14") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)&param_2->st_dev = 0;" (assignment_expression "*(undefined4 *)&param_2->st_dev = 0" (pointer_expression "*(undefined4 *)&param_2->st_dev" (* "*") (cast_expression "(undefined4 *)&param_2->st_dev" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&param_2->st_dev" (& "&") (field_expression "param_2->st_dev" (identifier "param_2") (-> "->") (field_identifier "st_dev"))))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)((int)&param_2->st_ino + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&param_2->st_ino + 4) = 0" (pointer_expression "*(undefined4 *)((int)&param_2->st_ino + 4)" (* "*") (cast_expression "(undefined4 *)((int)&param_2->st_ino + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&param_2->st_ino + 4)" (( "(") (binary_expression "(int)&param_2->st_ino + 4" (cast_expression "(int)&param_2->st_ino" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&param_2->st_ino" (& "&") (field_expression "param_2->st_ino" (identifier "param_2") (-> "->") (field_identifier "st_ino")))) (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);" (assignment_expression "puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc)" (( "(") (binary_expression "(uint)((int)&param_2->st_dev + 4U) & 0xfffffffc" (call_expression "(uint)((int)&param_2->st_dev + 4U)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)&param_2->st_dev + 4U)" (( "(") (binary_expression "(int)&param_2->st_dev + 4U" (cast_expression "(int)&param_2->st_dev" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&param_2->st_dev" (& "&") (field_expression "param_2->st_dev" (identifier "param_2") (-> "->") (field_identifier "st_dev")))) (+ "+") (number_literal "4U")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (expression_statement "uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;" (assignment_expression "uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2" (identifier "uVar7") (= "=") (binary_expression "(uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2" (call_expression "(uint)((int)param_2 + (0x60 - (int)puVar10))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)param_2 + (0x60 - (int)puVar10))" (( "(") (binary_expression "(int)param_2 + (0x60 - (int)puVar10)" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (parenthesized_expression "(0x60 - (int)puVar10)" (( "(") (binary_expression "0x60 - (int)puVar10" (number_literal "0x60") (- "-") (cast_expression "(int)puVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar10"))) () ")"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";")) (for_statement "for (; uVar7 != 0; uVar7 = uVar7 - 1) {\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }" (for "for") (( "(") (; ";") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar7 = uVar7 - 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 - 1" (identifier "uVar7") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *puVar10 = 0;\n    puVar10 = puVar10 + 1;\n  }" ({ "{") (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar10 = puVar10 + 1;" (assignment_expression "puVar10 = puVar10 + 1" (identifier "puVar10") (= "=") (binary_expression "puVar10 + 1" (identifier "puVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar1 = __fxstat64(3,param_1,param_2);" (assignment_expression "iVar1 = __fxstat64(3,param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "__fxstat64(3,param_1,param_2)" (identifier "__fxstat64") (argument_list "(3,param_1,param_2)" (( "(") (number_literal "3") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 == -1) {\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }" (if "if") (parenthesized_expression "(iVar1 == -1)" (( "(") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    FUN_000660d0("posix/gawkmisc.c",0x68);\n    piVar5 = __errno_location();\n    pcVar6 = strerror(*piVar5);\n    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);\n  }" ({ "{") (expression_statement "FUN_000660d0("posix/gawkmisc.c",0x68);" (call_expression "FUN_000660d0("posix/gawkmisc.c",0x68)" (identifier "FUN_000660d0") (argument_list "("posix/gawkmisc.c",0x68)" (( "(") (string_literal ""posix/gawkmisc.c"" (" """) (string_content "posix/gawkmisc.c") (" """)) (, ",") (number_literal "0x68") () ")"))) (; ";")) (expression_statement "piVar5 = __errno_location();" (assignment_expression "piVar5 = __errno_location()" (identifier "piVar5") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar6 = strerror(*piVar5);" (assignment_expression "pcVar6 = strerror(*piVar5)" (identifier "pcVar6") (= "=") (call_expression "strerror(*piVar5)" (identifier "strerror") (argument_list "(*piVar5)" (( "(") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) () ")")))) (; ";")) (expression_statement "FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);" (call_expression "FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6)" (identifier "FUN_00066470") (argument_list "("can\'t stat fd %d (%s)",param_1,pcVar6)" (( "(") (string_literal ""can\'t stat fd %d (%s)"" (" """) (string_content "can") (escape_sequence "\'") (string_content "t stat fd %d (%s)") (" """)) (, ",") (identifier "param_1") (, ",") (identifier "pcVar6") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_000bf880 == '\0') {\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }\n  else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(DAT_000bf880 == '\0')" (( "(") (binary_expression "DAT_000bf880 == '\0'" (identifier "DAT_000bf880") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }\n  }" ({ "{") (if_statement "if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {\n      return DAT_000c35f8;\n    }" (if "if") (parenthesized_expression "((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0))" (( "(") (binary_expression "(DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)" (parenthesized_expression "(DAT_000c35fc == '\0')" (( "(") (binary_expression "DAT_000c35fc == '\0'" (identifier "DAT_000c35fc") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(DAT_000c35f8 != 0)" (( "(") (binary_expression "DAT_000c35f8 != 0" (identifier "DAT_000c35f8") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      return DAT_000c35f8;\n    }" ({ "{") (return_statement "return DAT_000c35f8;" (return "return") (identifier "DAT_000c35f8") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }" (else "else") (compound_statement "{\n    DAT_000bf880 = '\0';\n    pbVar3 = (byte *)getenv("AWKBUFSIZE");\n    bVar12 = false;\n    bVar13 = pbVar3 == (byte *)0x0;\n    if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "DAT_000bf880 = '\0';" (assignment_expression "DAT_000bf880 = '\0'" (identifier "DAT_000bf880") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "pbVar3 = (byte *)getenv("AWKBUFSIZE");" (assignment_expression "pbVar3 = (byte *)getenv("AWKBUFSIZE")" (identifier "pbVar3") (= "=") (cast_expression "(byte *)getenv("AWKBUFSIZE")" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "getenv("AWKBUFSIZE")" (identifier "getenv") (argument_list "("AWKBUFSIZE")" (( "(") (string_literal ""AWKBUFSIZE"" (" """) (string_content "AWKBUFSIZE") (" """)) () ")"))))) (; ";")) (expression_statement "bVar12 = false;" (assignment_expression "bVar12 = false" (identifier "bVar12") (= "=") (false "false")) (; ";")) (expression_statement "bVar13 = pbVar3 == (byte *)0x0;" (assignment_expression "bVar13 = pbVar3 == (byte *)0x0" (identifier "bVar13") (= "=") (binary_expression "pbVar3 == (byte *)0x0" (identifier "pbVar3") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";")) (if_statement "if (!bVar13) {\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(!bVar13)" (( "(") (unary_expression "!bVar13" (! "!") (identifier "bVar13")) () ")")) (compound_statement "{\n      iVar1 = 6;\n      pbVar8 = pbVar3;\n      pbVar11 = (byte *)"exact";\n      do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }\n    }" ({ "{") (expression_statement "iVar1 = 6;" (assignment_expression "iVar1 = 6" (identifier "iVar1") (= "=") (number_literal "6")) (; ";")) (expression_statement "pbVar8 = pbVar3;" (assignment_expression "pbVar8 = pbVar3" (identifier "pbVar8") (= "=") (identifier "pbVar3")) (; ";")) (expression_statement "pbVar11 = (byte *)"exact";" (assignment_expression "pbVar11 = (byte *)"exact"" (identifier "pbVar11") (= "=") (cast_expression "(byte *)"exact"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""exact"" (" """) (string_content "exact") (" """)))) (; ";")) (do_statement "do {\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);" (do "do") (compound_statement "{\n        if (iVar1 == 0) break;\n        iVar1 = iVar1 + -1;\n        bVar12 = *pbVar8 < *pbVar11;\n        bVar13 = *pbVar8 == *pbVar11;\n        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      }" ({ "{") (if_statement "if (iVar1 == 0) break;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar12 = *pbVar8 < *pbVar11;" (assignment_expression "bVar12 = *pbVar8 < *pbVar11" (identifier "bVar12") (= "=") (binary_expression "*pbVar8 < *pbVar11" (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8")) (< "<") (pointer_expression "*pbVar11" (* "*") (identifier "pbVar11")))) (; ";")) (expression_statement "bVar13 = *pbVar8 == *pbVar11;" (assignment_expression "bVar13 = *pbVar8 == *pbVar11" (identifier "bVar13") (= "=") (binary_expression "*pbVar8 == *pbVar11" (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8")) (== "==") (pointer_expression "*pbVar11" (* "*") (identifier "pbVar11")))) (; ";")) (expression_statement "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar8 + (uint)bVar14 * -2" (identifier "pbVar8") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1" (identifier "pbVar11") (= "=") (binary_expression "pbVar11 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar11 + (uint)bVar14 * -2" (identifier "pbVar11") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar13)" (( "(") (identifier "bVar13") () ")")) (; ";")) (if_statement "if ((!bVar12 && !bVar13) == bVar12) {\n        DAT_000c35fc = '\x01';\n      }\n      else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }" (if "if") (parenthesized_expression "((!bVar12 && !bVar13) == bVar12)" (( "(") (binary_expression "(!bVar12 && !bVar13) == bVar12" (parenthesized_expression "(!bVar12 && !bVar13)" (( "(") (binary_expression "!bVar12 && !bVar13" (unary_expression "!bVar12" (! "!") (identifier "bVar12")) (&& "&&") (unary_expression "!bVar13" (! "!") (identifier "bVar13"))) () ")")) (== "==") (identifier "bVar12")) () ")")) (compound_statement "{\n        DAT_000c35fc = '\x01';\n      }" ({ "{") (expression_statement "DAT_000c35fc = '\x01';" (assignment_expression "DAT_000c35fc = '\x01'" (identifier "DAT_000c35fc") (= "=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) (; ";")) (} "}")) (else_clause "else {\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }" (else "else") (compound_statement "{\n        ppuVar4 = __ctype_b_loc();\n        bVar14 = *pbVar3;\n        uVar7 = (uint)bVar14;\n        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }\n      }" ({ "{") (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" (identifier "ppuVar4") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "bVar14 = *pbVar3;" (assignment_expression "bVar14 = *pbVar3" (identifier "bVar14") (= "=") (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3"))) (; ";")) (expression_statement "uVar7 = (uint)bVar14;" (assignment_expression "uVar7 = (uint)bVar14" (identifier "uVar7") (= "=") (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14"))) (; ";")) (if_statement "if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }" (if "if") (parenthesized_expression "((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0)" (( "(") (binary_expression "(*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0" (parenthesized_expression "(*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8)" (( "(") (binary_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8" (pointer_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)*ppuVar4 + uVar7 * 2 + 1)" (( "(") (binary_expression "(int)*ppuVar4 + uVar7 * 2 + 1" (binary_expression "(int)*ppuVar4 + uVar7 * 2" (cast_expression "(int)*ppuVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar4" (* "*") (identifier "ppuVar4"))) (+ "+") (binary_expression "uVar7 * 2" (identifier "uVar7") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }\n          return DAT_000c35f8;\n        }" ({ "{") (while_statement "while( true ) {\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }\n            pbVar3 = pbVar3 + 1;\n            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;\n            uVar7 = (uint)*pbVar3;\n            if (*pbVar3 == 0) break;\n            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;\n          }" ({ "{") (if_statement "if (bVar14 == 0) {\n              return DAT_000c35f8;\n            }" (if "if") (parenthesized_expression "(bVar14 == 0)" (( "(") (binary_expression "bVar14 == 0" (identifier "bVar14") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              return DAT_000c35f8;\n            }" ({ "{") (return_statement "return DAT_000c35f8;" (return "return") (identifier "DAT_000c35f8") (; ";")) (} "}"))) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;" (assignment_expression "DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10" (identifier "DAT_000c35f8") (= "=") (binary_expression "(char)uVar7 + -0x30 + DAT_000c35f8 * 10" (binary_expression "(char)uVar7 + -0x30" (cast_expression "(char)uVar7" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar7")) (+ "+") (number_literal "-0x30")) (+ "+") (binary_expression "DAT_000c35f8 * 10" (identifier "DAT_000c35f8") (* "*") (number_literal "10")))) (; ";")) (expression_statement "uVar7 = (uint)*pbVar3;" (assignment_expression "uVar7 = (uint)*pbVar3" (identifier "uVar7") (= "=") (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar3"))) (; ";")) (if_statement "if (*pbVar3 == 0) break;" (if "if") (parenthesized_expression "(*pbVar3 == 0)" (( "(") (binary_expression "*pbVar3 == 0" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;" (assignment_expression "bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8" (identifier "bVar14") (= "=") (binary_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8" (pointer_expression "*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)*ppuVar4 + uVar7 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)*ppuVar4 + uVar7 * 2 + 1)" (( "(") (binary_expression "(int)*ppuVar4 + uVar7 * 2 + 1" (binary_expression "(int)*ppuVar4 + uVar7 * 2" (cast_expression "(int)*ppuVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar4" (* "*") (identifier "ppuVar4"))) (+ "+") (binary_expression "uVar7 * 2" (identifier "uVar7") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "8"))) (; ";")) (} "}"))) (return_statement "return DAT_000c35f8;" (return "return") (identifier "DAT_000c35f8") (; ";")) (} "}"))) (} "}")))) (} "}"))) (} "}")))) (expression_statement "uVar7 = param_2->st_blksize;" (assignment_expression "uVar7 = param_2->st_blksize" (identifier "uVar7") (= "=") (field_expression "param_2->st_blksize" (identifier "param_2") (-> "->") (field_identifier "st_blksize"))) (; ";")) (if_statement "if ((param_2->st_mode & 0xf000) == 0x8000) {\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }" (if "if") (parenthesized_expression "((param_2->st_mode & 0xf000) == 0x8000)" (( "(") (binary_expression "(param_2->st_mode & 0xf000) == 0x8000" (parenthesized_expression "(param_2->st_mode & 0xf000)" (( "(") (binary_expression "param_2->st_mode & 0xf000" (field_expression "param_2->st_mode" (identifier "param_2") (-> "->") (field_identifier "st_mode")) (& "&") (number_literal "0xf000")) () ")")) (== "==") (number_literal "0x8000")) () ")")) (compound_statement "{\n    iVar1 = *(int *)((int)&param_2->st_size + 4);\n    uVar2 = (uint)param_2->st_size;\n    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar1 = *(int *)((int)&param_2->st_size + 4);" (assignment_expression "iVar1 = *(int *)((int)&param_2->st_size + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)((int)&param_2->st_size + 4)" (* "*") (cast_expression "(int *)((int)&param_2->st_size + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&param_2->st_size + 4)" (( "(") (binary_expression "(int)&param_2->st_size + 4" (cast_expression "(int)&param_2->st_size" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&param_2->st_size" (& "&") (field_expression "param_2->st_size" (identifier "param_2") (-> "->") (field_identifier "st_size")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar2 = (uint)param_2->st_size;" (assignment_expression "uVar2 = (uint)param_2->st_size" (identifier "uVar2") (= "=") (cast_expression "(uint)param_2->st_size" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (field_expression "param_2->st_size" (identifier "param_2") (-> "->") (field_identifier "st_size")))) (; ";")) (if_statement "if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }" (if "if") (parenthesized_expression "((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0))))" (( "(") (binary_expression "(-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))" (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (&& "&&") (parenthesized_expression "((0 < iVar1 || (uVar2 != 0)))" (( "(") (parenthesized_expression "(0 < iVar1 || (uVar2 != 0))" (( "(") (binary_expression "0 < iVar1 || (uVar2 != 0)" (binary_expression "0 < iVar1" (number_literal "0") (< "<") (identifier "iVar1")) (|| "||") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      uVar9 = 0x2000;\n      if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }\n      if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }\n      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }\n      if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }\n    }" ({ "{") (expression_statement "uVar9 = 0x2000;" (assignment_expression "uVar9 = 0x2000" (identifier "uVar9") (= "=") (number_literal "0x2000")) (; ";")) (if_statement "if (0 < (int)uVar7) {\n        uVar9 = uVar7;\n      }" (if "if") (parenthesized_expression "(0 < (int)uVar7)" (( "(") (binary_expression "0 < (int)uVar7" (number_literal "0") (< "<") (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7"))) () ")")) (compound_statement "{\n        uVar9 = uVar7;\n      }" ({ "{") (expression_statement "uVar9 = uVar7;" (assignment_expression "uVar9 = uVar7" (identifier "uVar9") (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (if_statement "if (iVar1 < (int)uVar9 >> 0x1f) {\n        return uVar2;\n      }" (if "if") (parenthesized_expression "(iVar1 < (int)uVar9 >> 0x1f)" (( "(") (binary_expression "iVar1 < (int)uVar9 >> 0x1f" (identifier "iVar1") (< "<") (binary_expression "(int)uVar9 >> 0x1f" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (>> ">>") (number_literal "0x1f"))) () ")")) (compound_statement "{\n        return uVar2;\n      }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (if_statement "if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {\n        return uVar2;\n      }" (if "if") (parenthesized_expression "((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9))" (( "(") (binary_expression "(iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)" (parenthesized_expression "(iVar1 <= (int)uVar9 >> 0x1f)" (( "(") (binary_expression "iVar1 <= (int)uVar9 >> 0x1f" (identifier "iVar1") (<= "<=") (binary_expression "(int)uVar9 >> 0x1f" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (>> ">>") (number_literal "0x1f"))) () ")")) (&& "&&") (parenthesized_expression "(uVar2 < uVar9)" (( "(") (binary_expression "uVar2 < uVar9" (identifier "uVar2") (< "<") (identifier "uVar9")) () ")"))) () ")")) (compound_statement "{\n        return uVar2;\n      }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (if_statement "if (DAT_000c35fc != '\0') {\n        return uVar2;\n      }" (if "if") (parenthesized_expression "(DAT_000c35fc != '\0')" (( "(") (binary_expression "DAT_000c35fc != '\0'" (identifier "DAT_000c35fc") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        return uVar2;\n      }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "uVar2 = 0x2000;" (assignment_expression "uVar2 = 0x2000" (identifier "uVar2") (= "=") (number_literal "0x2000")) (; ";")) (if_statement "if (0 < (int)uVar7) {\n    uVar2 = uVar7;\n  }" (if "if") (parenthesized_expression "(0 < (int)uVar7)" (( "(") (binary_expression "0 < (int)uVar7" (number_literal "0") (< "<") (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7"))) () ")")) (compound_statement "{\n    uVar2 = uVar7;\n  }" ({ "{") (expression_statement "uVar2 = uVar7;" (assignment_expression "uVar2 = uVar7" (identifier "uVar2") (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

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

size_t function_1(int fd,type_1 *stb)

{
  size_t sVar1;
  int var_4;
  size_t sVar3;
  type_2 *var_10;
  type_3 **ppuVar5;
  int *piVar6;
  char *pcVar7;
  type_4 var_1;
  type_2 *var_11;
  type_4 var_17;
  type_5 *var_2;
  type_2 *var_12;
  bool var_13;
  bool bVar14;
  type_2 var_15;
  
  var_15 = 0;
  *(type_5 *)&stb->st_dev = 0;
  *(type_5 *)((int)&stb->st_ino + 4) = 0;
  var_2 = (type_5 *)((type_4)((int)&stb->st_dev + 4U) & 0xfffffffc);
  var_1 = (type_4)((int)stb + (0x60 - (int)var_2)) >> 2;
  for (; var_1 != 0; var_1 = var_1 - 1) {
    *var_2 = 0;
    var_2 = var_2 + 1;
  }
  var_4 = var_3(3,fd,(type_6 *)stb);
  if (var_4 == -1) {
    var_5("posix/gawkmisc.c",0x68);
    piVar6 = var_6();
    pcVar7 = var_7(*piVar6);
    var_8("can\'t stat fd %d (%s)",fd,pcVar7);
  }
  if (function_1::first == false) {
    if ((function_1::exact == false) && (function_1::var_16 != 0)) {
      return function_1::var_16;
    }
  }
  else {
    optimal_bufsize::first = false;
    var_10 = (type_2 *)var_9("AWKBUFSIZE");
    var_13 = false;
    bVar14 = var_10 == (type_2 *)0x0;
    if (!bVar14) {
      var_4 = 6;
      var_11 = var_10;
      var_12 = (type_2 *)"exact";
      do {
        if (var_4 == 0) break;
        var_4 = var_4 + -1;
        var_13 = *var_11 < *var_12;
        bVar14 = *var_11 == *var_12;
        var_11 = var_11 + (type_4)var_15 * -2 + 1;
        var_12 = var_12 + (type_4)var_15 * -2 + 1;
      } while (bVar14);
      if ((!var_13 && !bVar14) == var_13) {
        optimal_bufsize::exact = true;
      }
      else {
        ppuVar5 = var_14();
        var_15 = *var_10;
        var_1 = (type_4)var_15;
        if ((*(type_2 *)((int)*ppuVar5 + var_1 * 2 + 1) & 8) != 0) {
          while( true ) {
            if (var_15 == 0) {
              return function_1::var_16;
            }
            var_10 = var_10 + 1;
            optimal_bufsize::var_16 = (char)var_1 + -0x30 + function_1::var_16 * 10;
            var_1 = (type_4)*var_10;
            if (*var_10 == 0) break;
            var_15 = *(type_2 *)((int)*ppuVar5 + var_1 * 2 + 1) & 8;
          }
          return function_1::var_16;
        }
      }
    }
  }
  sVar1 = stb->st_blksize;
  if ((stb->st_mode & 0xf000) == 0x8000) {
    var_4 = *(int *)((int)&stb->st_size + 4);
    var_1 = (type_4)stb->st_size;
    if ((-1 < var_4) && ((0 < var_4 || (var_1 != 0)))) {
      var_17 = 0x2000;
      if (0 < (int)sVar1) {
        var_17 = sVar1;
      }
      if (var_4 < (int)var_17 >> 0x1f) {
        return var_1;
      }
      if ((var_4 <= (int)var_17 >> 0x1f) && (var_1 < var_17)) {
        return var_1;
      }
      if (function_1::exact != false) {
        return var_1;
      }
    }
  }
  sVar3 = 0x2000;
  if (0 < (int)sVar1) {
    sVar3 = sVar1;
  }
  return sVar3;
}


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

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

uint MASKED(int param_1,stat64 *param_2)

{
  int iVar1;
  uint uVar2;
  byte *pbVar3;
  ushort **ppuVar4;
  int *piVar5;
  char *pcVar6;
  uint uVar7;
  byte *pbVar8;
  uint uVar9;
  undefined4 *puVar10;
  byte *pbVar11;
  bool bVar12;
  bool bVar13;
  byte bVar14;
  
  bVar14 = 0;
  *(undefined4 *)&param_2->st_dev = 0;
  *(undefined4 *)((int)&param_2->st_ino + 4) = 0;
  puVar10 = (undefined4 *)((uint)((int)&param_2->st_dev + 4U) & 0xfffffffc);
  uVar7 = (uint)((int)param_2 + (0x60 - (int)puVar10)) >> 2;
  for (; uVar7 != 0; uVar7 = uVar7 - 1) {
    *puVar10 = 0;
    puVar10 = puVar10 + 1;
  }
  iVar1 = __fxstat64(3,param_1,param_2);
  if (iVar1 == -1) {
    FUN_000660d0("posix/gawkmisc.c",0x68);
    piVar5 = __errno_location();
    pcVar6 = strerror(*piVar5);
    FUN_00066470("can\'t stat fd %d (%s)",param_1,pcVar6);
  }
  if (DAT_000bf880 == '\0') {
    if ((DAT_000c35fc == '\0') && (DAT_000c35f8 != 0)) {
      return DAT_000c35f8;
    }
  }
  else {
    DAT_000bf880 = '\0';
    pbVar3 = (byte *)getenv("AWKBUFSIZE");
    bVar12 = false;
    bVar13 = pbVar3 == (byte *)0x0;
    if (!bVar13) {
      iVar1 = 6;
      pbVar8 = pbVar3;
      pbVar11 = (byte *)"exact";
      do {
        if (iVar1 == 0) break;
        iVar1 = iVar1 + -1;
        bVar12 = *pbVar8 < *pbVar11;
        bVar13 = *pbVar8 == *pbVar11;
        pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;
        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;
      } while (bVar13);
      if ((!bVar12 && !bVar13) == bVar12) {
        DAT_000c35fc = '\x01';
      }
      else {
        ppuVar4 = __ctype_b_loc();
        bVar14 = *pbVar3;
        uVar7 = (uint)bVar14;
        if ((*(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8) != 0) {
          while( true ) {
            if (bVar14 == 0) {
              return DAT_000c35f8;
            }
            pbVar3 = pbVar3 + 1;
            DAT_000c35f8 = (char)uVar7 + -0x30 + DAT_000c35f8 * 10;
            uVar7 = (uint)*pbVar3;
            if (*pbVar3 == 0) break;
            bVar14 = *(byte *)((int)*ppuVar4 + uVar7 * 2 + 1) & 8;
          }
          return DAT_000c35f8;
        }
      }
    }
  }
  uVar7 = param_2->st_blksize;
  if ((param_2->st_mode & 0xf000) == 0x8000) {
    iVar1 = *(int *)((int)&param_2->st_size + 4);
    uVar2 = (uint)param_2->st_size;
    if ((-1 < iVar1) && ((0 < iVar1 || (uVar2 != 0)))) {
      uVar9 = 0x2000;
      if (0 < (int)uVar7) {
        uVar9 = uVar7;
      }
      if (iVar1 < (int)uVar9 >> 0x1f) {
        return uVar2;
      }
      if ((iVar1 <= (int)uVar9 >> 0x1f) && (uVar2 < uVar9)) {
        return uVar2;
      }
      if (DAT_000c35fc != '\0') {
        return uVar2;
      }
    }
  }
  uVar2 = 0x2000;
  if (0 < (int)uVar7) {
    uVar2 = uVar7;
  }
  return uVar2;
}

