
int defragmentPage(MemPage *pPage,int nMaxFrag)

{
  uint uVar1;
  byte *pbVar2;
  ushort uVar3;
  char cVar4;
  ushort *puVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  int lineno;
  int iVar9;
  uint uVar10;
  ushort *puVar11;
  uint uVar12;
  void *__src;
  ushort *puVar13;
  uint uVar14;
  uint uVar15;
  uint uVar16;
  undefined8 uVar17;
  uint local_50;
  ushort *local_48;
  uint local_44;
  int local_38;
  
  uVar17 = __x86_get_pc_thunk_di();
  iVar6 = (int)uVar17;
  iVar9 = *(int *)(iVar6 + 0x38);
  uVar16 = (uint)*(ushort *)(iVar6 + 0x12);
  uVar7 = (uint)*(ushort *)(iVar6 + 0x16);
  uVar1 = uVar16 + uVar7 * 2;
  uVar12 = (uint)*(byte *)(iVar6 + 9);
  uVar14 = *(uint *)(*(int *)(iVar6 + 0x34) + 0x24);
  pbVar2 = (byte *)(iVar9 + 7 + uVar12);
  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar17 >> 0x20)) &&
     (uVar10 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),
                              *(undefined1 *)(iVar9 + 2 + uVar12)), uVar10 != 0)) {
    uVar15 = (uint)CONCAT11(*(undefined1 *)(iVar9 + uVar10),*(undefined1 *)(iVar9 + 1 + uVar10));
    if ((int)(uVar14 - 3) <= (int)uVar15) {
      lineno = 0xfbf9;
      goto LAB_00052bcd;
    }
    if ((uVar15 == 0) ||
       ((*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0')))) {
      local_48 = (ushort *)
                 (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),
                                *(undefined1 *)(iVar9 + 3 + uVar10));
      uVar7 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)
                            );
      lineno = 0xfc01;
      if (uVar10 <= uVar7) goto LAB_00052bcd;
      if (uVar15 == 0) {
        local_44 = 0;
      }
      else {
        uVar8 = (int)local_48 + uVar10;
        if (uVar15 < uVar8) {
          lineno = 0xfc04;
LAB_00052bcd:
          iVar9 = sqlite3CorruptError(lineno);
          return iVar9;
        }
        local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),
                                  *(undefined1 *)(iVar9 + 3 + uVar15));
        if ((int)uVar14 < (int)(uVar15 + local_44)) {
          lineno = 0xfc06;
          goto LAB_00052bcd;
        }
        memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);
        local_48 = (ushort *)((int)local_48 + local_44);
      }
      uVar14 = (int)local_48 + uVar7;
      memmove((void *)(iVar9 + uVar14),(void *)(iVar9 + uVar7),uVar10 - uVar7);
      for (puVar11 = (ushort *)(iVar9 + uVar16); puVar11 < (ushort *)(uVar1 + iVar9);
          puVar11 = puVar11 + 1) {
        uVar3 = *puVar11;
        uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);
        cVar4 = (char)(uVar3 >> 8);
        if (uVar7 < uVar10) {
          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);
          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;
        }
        else if (uVar7 < uVar15) {
          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);
          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;
        }
      }
      uVar10 = *pbVar2 + uVar14;
      goto LAB_00052c0b;
    }
  }
  uVar10 = uVar14;
  if (uVar7 != 0) {
    puVar11 = (ushort *)(iVar9 + uVar16);
    uVar15 = (uint)(ushort)(*puVar11 << 8 | *puVar11 >> 8);
    if (((int)uVar15 <= (int)(uVar14 - 4)) && (uVar1 <= uVar15)) {
      local_44 = 0;
      puVar5 = (ushort *)(iVar9 + 2 + uVar16);
      local_50 = uVar14;
      local_48 = puVar11;
      local_38 = iVar9;
      do {
        puVar13 = puVar5;
        __src = (void *)(local_38 + uVar15);
        uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src);
        uVar16 = uVar16 & 0xffff;
        uVar10 = local_50 - uVar16;
        if (((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))) {
          lineno = 0xfc29;
          goto LAB_00052bcd;
        }
        *local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8;
        if (local_44 == 0) {
          if (uVar10 != uVar15) {
            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);
            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),
                                   *(undefined1 *)(iVar9 + 6 + uVar12));
            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);
            __src = (void *)(local_44 + uVar15);
            local_38 = local_44;
            goto LAB_00052940;
          }
        }
        else {
LAB_00052940:
          memcpy((void *)(iVar9 + uVar10),__src,uVar16);
        }
        if (puVar11 + uVar7 == puVar13) goto LAB_00052c02;
        uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8);
      } while ((uVar1 <= uVar15) &&
              (puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,
              (int)uVar15 <= (int)(uVar14 - 4)));
    }
    iVar9 = sqlite3CorruptError(0xfc23);
    return iVar9;
  }
LAB_00052c02:
  *pbVar2 = 0;
  uVar14 = uVar10;
LAB_00052c0b:
  if (uVar10 - uVar1 != (uint)*(ushort *)(iVar6 + 0x14)) {
    iVar9 = sqlite3CorruptError(0xfc3d);
    return iVar9;
  }
  *(char *)(iVar9 + 5 + uVar12) = (char)(uVar14 >> 8);
  *(char *)(iVar9 + 6 + uVar12) = (char)uVar14;
  *(undefined1 *)(iVar9 + 1 + uVar12) = 0;
  *(undefined1 *)(iVar9 + 2 + uVar12) = 0;
  memset((void *)(iVar9 + uVar1),0,uVar14 - uVar1);
  return 0;
}



undefined4 FUN_00052870(void)

{
  uint uVar1;
  byte *pbVar2;
  ushort uVar3;
  int iVar4;
  char cVar5;
  ushort *puVar6;
  int iVar7;
  uint uVar8;
  uint uVar9;
  undefined4 uVar10;
  uint uVar11;
  ushort *puVar12;
  uint uVar13;
  void *__src;
  ushort *puVar14;
  uint uVar15;
  uint uVar16;
  uint uVar17;
  undefined8 uVar18;
  uint local_50;
  ushort *local_48;
  uint local_44;
  int local_38;
  
  uVar18 = FUN_000196fd();
  iVar7 = (int)uVar18;
  iVar4 = *(int *)(iVar7 + 0x38);
  uVar17 = (uint)*(ushort *)(iVar7 + 0x12);
  uVar8 = (uint)*(ushort *)(iVar7 + 0x16);
  uVar1 = uVar17 + uVar8 * 2;
  uVar13 = (uint)*(byte *)(iVar7 + 9);
  uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);
  pbVar2 = (byte *)(iVar4 + 7 + uVar13);
  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&
     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),
                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {
    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));
    if ((int)(uVar15 - 3) <= (int)uVar16) {
LAB_00052bcd:
      uVar10 = FUN_00051360();
      return uVar10;
    }
    if ((uVar16 == 0) ||
       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {
      local_48 = (ushort *)
                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),
                                *(undefined1 *)(iVar4 + 3 + uVar11));
      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)
                            );
      if (uVar11 <= uVar8) goto LAB_00052bcd;
      if (uVar16 == 0) {
        local_44 = 0;
      }
      else {
        uVar9 = (int)local_48 + uVar11;
        if ((uVar16 < uVar9) ||
           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),
                                      *(undefined1 *)(iVar4 + 3 + uVar16)),
           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;
        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);
        local_48 = (ushort *)((int)local_48 + local_44);
      }
      uVar15 = (int)local_48 + uVar8;
      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);
      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);
          puVar12 = puVar12 + 1) {
        uVar3 = *puVar12;
        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);
        cVar5 = (char)(uVar3 >> 8);
        if (uVar8 < uVar11) {
          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);
          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;
        }
        else if (uVar8 < uVar16) {
          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);
          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;
        }
      }
      uVar11 = *pbVar2 + uVar15;
      goto LAB_00052c0b;
    }
  }
  uVar11 = uVar15;
  if (uVar8 != 0) {
    puVar12 = (ushort *)(iVar4 + uVar17);
    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);
    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {
      local_44 = 0;
      puVar6 = (ushort *)(iVar4 + 2 + uVar17);
      local_50 = uVar15;
      local_48 = puVar12;
      local_38 = iVar4;
      do {
        puVar14 = puVar6;
        __src = (void *)(local_38 + uVar16);
        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);
        uVar17 = uVar17 & 0xffff;
        uVar11 = local_50 - uVar17;
        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;
        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;
        if (local_44 == 0) {
          if (uVar11 != uVar16) {
            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);
            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),
                                   *(undefined1 *)(iVar4 + 6 + uVar13));
            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);
            __src = (void *)(local_44 + uVar16);
            local_38 = local_44;
            goto LAB_00052940;
          }
        }
        else {
LAB_00052940:
          memcpy((void *)(iVar4 + uVar11),__src,uVar17);
        }
        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;
        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);
      } while ((uVar1 <= uVar16) &&
              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,
              (int)uVar16 <= (int)(uVar15 - 4)));
    }
    uVar10 = FUN_00051360();
    return uVar10;
  }
LAB_00052c02:
  *pbVar2 = 0;
  uVar15 = uVar11;
LAB_00052c0b:
  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {
    uVar10 = FUN_00051360();
    return uVar10;
  }
  *(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);
  *(char *)(iVar4 + 6 + uVar13) = (char)uVar15;
  *(undefined1 *)(iVar4 + 1 + uVar13) = 0;
  *(undefined1 *)(iVar4 + 2 + uVar13) = 0;
  memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);
  return 0;
}


PUSH EBP
PUSH EDI
CALL 0x000196fd
ADD EDI,0xf665d
PUSH ESI
PUSH EBX
MOV EBX,EAX
SUB ESP,0x4c
MOV ESI,dword ptr [EAX + 0x38]
MOV dword ptr [ESP + 0x1c],EAX
MOV dword ptr [ESP + 0x28],EDI
MOVZX EDI,word ptr [EAX + 0x12]
MOVZX EAX,word ptr [EAX + 0x16]
MOV dword ptr [ESP + 0x20],ESI
LEA ECX,[EDI + EAX*0x2]
MOV dword ptr [ESP + 0x10],ECX
MOV ECX,dword ptr [EBX + 0x34]
MOVZX EBX,byte ptr [EBX + 0x9]
MOV EBP,dword ptr [ECX + 0x24]
LEA ECX,[ESI + EBX*0x1 + 0x7]
MOV dword ptr [ESP + 0x38],EBX
MOV dword ptr [ESP + 0x3c],ECX
MOVZX ECX,byte ptr [ECX]
MOV dword ptr [ESP + 0x2c],EBP
CMP ECX,EDX
JG 0x000528de
MOVZX EDX,byte ptr [ESI + EBX*0x1 + 0x1]
MOV ECX,EBX
MOV EBX,ESI
MOVZX ECX,byte ptr [ESI + ECX*0x1 + 0x2]
SHL EDX,0x8
OR EDX,ECX
MOV ESI,EDX
JNZ 0x00052a48
MOV EBP,dword ptr [ESP + 0x2c]
LEA EBX,[EBP + -0x4]
MOV dword ptr [ESP + 0x34],EBX
TEST EAX,EAX
JZ 0x00052c89
MOV EDX,dword ptr [ESP + 0x20]
LEA ECX,[EDX + EDI*0x1]
MOVZX ESI,word ptr [ECX]
ROL SI,0x8
MOVZX ESI,SI
CMP EBX,ESI
JL 0x00052be0
CMP dword ptr [ESP + 0x10],ESI
JG 0x00052be0
LEA EDI,[EDX + EDI*0x1 + 0x2]
LEA EAX,[ECX + EAX*0x2]
MOV dword ptr [ESP + 0xc],EBP
MOV dword ptr [ESP + 0x30],EAX
MOV EBP,EDI
MOV dword ptr [ESP + 0x24],EDX
MOV dword ptr [ESP + 0x18],0x0
MOV dword ptr [ESP + 0x14],ECX
JMP 0x0005298c
MOV EAX,dword ptr [ESP + 0x20]
SUB ESP,0x4
PUSH EDX
ADD EAX,EDI
PUSH EBX
PUSH EAX
MOV EBX,dword ptr [ESP + 0x38]
CALL 0x000140d0
ADD ESP,0x10
CMP dword ptr [ESP + 0x30],EBP
JZ 0x00052c00
MOVZX ESI,word ptr [EBP]
MOV dword ptr [ESP + 0x14],EBP
ADD EBP,0x2
MOV dword ptr [ESP + 0xc],EDI
ROL SI,0x8
MOVZX ESI,SI
CMP dword ptr [ESP + 0x10],ESI
JG 0x00052be0
CMP dword ptr [ESP + 0x34],ESI
JL 0x00052be0
MOV EAX,dword ptr [ESP + 0x24]
SUB ESP,0x8
LEA EBX,[EAX + ESI*0x1]
PUSH EBX
MOV EAX,dword ptr [ESP + 0x28]
PUSH EAX
CALL dword ptr [EAX + 0x4c]
MOV EDI,dword ptr [ESP + 0x1c]
MOVZX EDX,AX
ADD ESP,0x10
SUB EDI,EDX
CMP dword ptr [ESP + 0x10],EDI
JG 0x00052bc8
LEA EAX,[EDX + ESI*0x1]
CMP EAX,dword ptr [ESP + 0x2c]
JG 0x00052bc8
MOV EAX,EDI
MOV ECX,dword ptr [ESP + 0x14]
ROL AX,0x8
MOV word ptr [ECX],AX
MOV EAX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JNZ 0x00052940
MOV dword ptr [ESP + 0x14],EDX
CMP EDI,ESI
JZ 0x00052958
MOV EAX,dword ptr [ESP + 0x1c]
MOV EDX,dword ptr [ESP + 0x20]
SUB ESP,0x4
MOV ECX,dword ptr [ESP + 0x3c]
MOV EAX,dword ptr [EAX + 0x34]
MOV EAX,dword ptr [EAX]
MOV EBX,dword ptr [EAX + 0xcc]
MOVZX EAX,byte ptr [EDX + ECX*0x1 + 0x5]
MOVZX ECX,byte ptr [EDX + ECX*0x1 + 0x6]
SHL EAX,0x8
MOV dword ptr [ESP + 0x1c],EBX
OR EAX,ECX
LEA ECX,[EBX + EAX*0x1]
MOV EBX,dword ptr [ESP + 0x10]
SUB EBX,EAX
ADD EAX,EDX
PUSH EBX
PUSH EAX
PUSH ECX
MOV EBX,dword ptr [ESP + 0x38]
CALL 0x000140d0
MOV EAX,dword ptr [ESP + 0x28]
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x14]
LEA EBX,[EAX + ESI*0x1]
MOV dword ptr [ESP + 0x24],EAX
JMP 0x00052940
MOVZX EDX,byte ptr [EBX + EDX*0x1]
MOVZX ECX,byte ptr [EBX + ESI*0x1 + 0x1]
SHL EDX,0x8
OR EDX,ECX
MOV ECX,EDX
MOV dword ptr [ESP + 0xc],EDX
LEA EDX,[EBP + -0x3]
CMP EDX,ECX
JLE 0x00052bf1
MOV ECX,dword ptr [ESP + 0xc]
TEST ECX,ECX
JZ 0x00052a88
MOV EDX,dword ptr [ESP + 0x20]
CMP byte ptr [EDX + ECX*0x1],0x0
JNZ 0x000528de
CMP byte ptr [EDX + ECX*0x1 + 0x1],0x0
JNZ 0x000528de
MOV ECX,dword ptr [ESP + 0x20]
MOVZX EAX,byte ptr [ECX + ESI*0x1 + 0x2]
MOVZX EDX,byte ptr [ECX + ESI*0x1 + 0x3]
SHL EAX,0x8
OR EAX,EDX
MOV EDX,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0x14],EAX
MOVZX EAX,byte ptr [ECX + EDX*0x1 + 0x5]
MOVZX EDX,byte ptr [ECX + EDX*0x1 + 0x6]
SHL EAX,0x8
OR EDX,EAX
MOV EAX,0xfc01
CMP ESI,EDX
JLE 0x00052bcd
MOV EAX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JZ 0x00052c92
MOV ECX,dword ptr [ESP + 0x14]
ADD ECX,ESI
CMP ECX,EAX
JG 0x00052c9f
MOV EBP,dword ptr [ESP + 0xc]
MOV EBX,dword ptr [ESP + 0x20]
MOVZX EAX,byte ptr [EBX + EBP*0x1 + 0x2]
MOVZX EBX,byte ptr [EBX + EBP*0x1 + 0x3]
SHL EAX,0x8
OR EAX,EBX
MOV EBX,EAX
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,EBP
ADD EAX,EBX
CMP EAX,dword ptr [ESP + 0x2c]
JG 0x00052c70
MOV dword ptr [ESP + 0x24],EDX
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x10]
SUB EAX,ECX
PUSH EAX
MOV EDX,dword ptr [ESP + 0x28]
LEA EAX,[EDX + ECX*0x1]
PUSH EAX
MOV EBP,dword ptr [ESP + 0x24]
LEA EAX,[ECX + EBP*0x1]
ADD EAX,EDX
PUSH EAX
MOV EBX,dword ptr [ESP + 0x38]
CALL 0x000140b0
ADD dword ptr [ESP + 0x24],EBP
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x20]
MOV EBX,dword ptr [ESP + 0x14]
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x14]
LEA EBP,[EBX + EDX*0x1]
MOV EBX,ESI
ADD EAX,ECX
SUB EBX,EDX
MOV dword ptr [ESP + 0x28],EAX
LEA EAX,[ECX + EDX*0x1]
PUSH EBX
PUSH EAX
LEA EAX,[ECX + EBP*0x1]
MOV dword ptr [ESP + 0x2c],ECX
PUSH EAX
MOV EBX,dword ptr [ESP + 0x38]
CALL 0x000140b0
MOV ECX,dword ptr [ESP + 0x30]
ADD ESP,0x10
LEA EDX,[ECX + EDI*0x1]
CMP dword ptr [ESP + 0x24],EDX
JBE 0x00052c7e
MOV EDI,dword ptr [ESP + 0x14]
MOV EBX,dword ptr [ESP + 0x24]
MOV dword ptr [ESP + 0x14],EBP
MOV EBP,dword ptr [ESP + 0x18]
JMP 0x00052ba4
ADD ECX,EDI
ADD EAX,EDI
MOV byte ptr [EDX],CH
MOV byte ptr [EDX + 0x1],AL
ADD EDX,0x2
CMP EBX,EDX
JBE 0x00052c7a
MOVZX EAX,word ptr [EDX]
ROL AX,0x8
MOVZX ECX,AX
CMP ESI,ECX
JG 0x00052b90
CMP dword ptr [ESP + 0xc],ECX
JLE 0x00052b99
ADD ECX,EBP
ADD EAX,EBP
MOV byte ptr [EDX],CH
MOV byte ptr [EDX + 0x1],AL
JMP 0x00052b99
MOV EAX,0xfc29
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x00051360
ADD ESP,0x4c
MOV EAX,0xfc23
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x00051360
MOV EAX,0xfbf9
JMP 0x00052bcd
MOV EBP,EDI
MOV EAX,dword ptr [ESP + 0x3c]
MOV byte ptr [EAX],0x0
MOV EAX,EBP
MOV EDI,dword ptr [ESP + 0x1c]
SUB EAX,dword ptr [ESP + 0x10]
MOVZX EDX,word ptr [EDI + 0x14]
CMP EAX,EDX
JZ 0x00052c30
ADD ESP,0x4c
MOV EAX,0xfc3d
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x00051360
MOV EDI,dword ptr [ESP + 0x20]
MOV ECX,dword ptr [ESP + 0x38]
MOV EAX,EBP
SUB ESP,0x4
MOV byte ptr [EDI + ECX*0x1 + 0x5],AH
MOV byte ptr [EDI + ECX*0x1 + 0x6],AL
MOV EAX,EDI
MOV EDI,dword ptr [ESP + 0x14]
MOV byte ptr [EAX + ECX*0x1 + 0x1],0x0
MOV byte ptr [EAX + ECX*0x1 + 0x2],0x0
SUB EBP,EDI
ADD EAX,EDI
PUSH EBP
PUSH 0x0
PUSH EAX
MOV EBX,dword ptr [ESP + 0x38]
CALL 0x00014280
ADD ESP,0x5c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,0xfc06
JMP 0x00052bcd
MOV EBP,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x3c]
MOVZX EAX,byte ptr [EAX]
ADD EAX,EBP
JMP 0x00052c0b
MOV EBP,dword ptr [ESP + 0x2c]
JMP 0x00052c02
MOV dword ptr [ESP + 0x18],0x0
JMP 0x00052b38
MOV EAX,0xfc04
JMP 0x00052bcd
(translation_unit "undefined4 FUN_00052870(void)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  ushort uVar3;\n  int iVar4;\n  char cVar5;\n  ushort *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  ushort *puVar12;\n  uint uVar13;\n  void *__src;\n  ushort *puVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  undefined8 uVar18;\n  uint local_50;\n  ushort *local_48;\n  uint local_44;\n  int local_38;\n  \n  uVar18 = FUN_000196fd();\n  iVar7 = (int)uVar18;\n  iVar4 = *(int *)(iVar7 + 0x38);\n  uVar17 = (uint)*(ushort *)(iVar7 + 0x12);\n  uVar8 = (uint)*(ushort *)(iVar7 + 0x16);\n  uVar1 = uVar17 + uVar8 * 2;\n  uVar13 = (uint)*(byte *)(iVar7 + 9);\n  uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);\n  pbVar2 = (byte *)(iVar4 + 7 + uVar13);\n  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }\n  uVar11 = uVar15;\n  if (uVar8 != 0) {\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\nLAB_00052c02:\n  *pbVar2 = 0;\n  uVar15 = uVar11;\nLAB_00052c0b:\n  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\n  *(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);\n  *(char *)(iVar4 + 6 + uVar13) = (char)uVar15;\n  *(undefined1 *)(iVar4 + 1 + uVar13) = 0;\n  *(undefined1 *)(iVar4 + 2 + uVar13) = 0;\n  memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00052870(void)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  ushort uVar3;\n  int iVar4;\n  char cVar5;\n  ushort *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  ushort *puVar12;\n  uint uVar13;\n  void *__src;\n  ushort *puVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  undefined8 uVar18;\n  uint local_50;\n  ushort *local_48;\n  uint local_44;\n  int local_38;\n  \n  uVar18 = FUN_000196fd();\n  iVar7 = (int)uVar18;\n  iVar4 = *(int *)(iVar7 + 0x38);\n  uVar17 = (uint)*(ushort *)(iVar7 + 0x12);\n  uVar8 = (uint)*(ushort *)(iVar7 + 0x16);\n  uVar1 = uVar17 + uVar8 * 2;\n  uVar13 = (uint)*(byte *)(iVar7 + 9);\n  uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);\n  pbVar2 = (byte *)(iVar4 + 7 + uVar13);\n  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }\n  uVar11 = uVar15;\n  if (uVar8 != 0) {\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\nLAB_00052c02:\n  *pbVar2 = 0;\n  uVar15 = uVar11;\nLAB_00052c0b:\n  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\n  *(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);\n  *(char *)(iVar4 + 6 + uVar13) = (char)uVar15;\n  *(undefined1 *)(iVar4 + 1 + uVar13) = 0;\n  *(undefined1 *)(iVar4 + 2 + uVar13) = 0;\n  memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_00052870(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  byte *pbVar2;\n  ushort uVar3;\n  int iVar4;\n  char cVar5;\n  ushort *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  ushort *puVar12;\n  uint uVar13;\n  void *__src;\n  ushort *puVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  undefined8 uVar18;\n  uint local_50;\n  ushort *local_48;\n  uint local_44;\n  int local_38;\n  \n  uVar18 = FUN_000196fd();\n  iVar7 = (int)uVar18;\n  iVar4 = *(int *)(iVar7 + 0x38);\n  uVar17 = (uint)*(ushort *)(iVar7 + 0x12);\n  uVar8 = (uint)*(ushort *)(iVar7 + 0x16);\n  uVar1 = uVar17 + uVar8 * 2;\n  uVar13 = (uint)*(byte *)(iVar7 + 9);\n  uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);\n  pbVar2 = (byte *)(iVar4 + 7 + uVar13);\n  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }\n  uVar11 = uVar15;\n  if (uVar8 != 0) {\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\nLAB_00052c02:\n  *pbVar2 = 0;\n  uVar15 = uVar11;\nLAB_00052c0b:\n  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\n  *(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);\n  *(char *)(iVar4 + 6 + uVar13) = (char)uVar15;\n  *(undefined1 *)(iVar4 + 1 + uVar13) = 0;\n  *(undefined1 *)(iVar4 + 2 + uVar13) = 0;\n  memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "ushort *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "ushort *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "ushort *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "undefined8 uVar18;" type_identifier identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "ushort *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (expression_statement "uVar18 = FUN_000196fd();" (assignment_expression "uVar18 = FUN_000196fd()" identifier = (call_expression "FUN_000196fd()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar7 = (int)uVar18;" (assignment_expression "iVar7 = (int)uVar18" identifier = (cast_expression "(int)uVar18" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar4 = *(int *)(iVar7 + 0x38);" (assignment_expression "iVar4 = *(int *)(iVar7 + 0x38)" identifier = (pointer_expression "*(int *)(iVar7 + 0x38)" * (cast_expression "(int *)(iVar7 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x38)" ( (binary_expression "iVar7 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar17 = (uint)*(ushort *)(iVar7 + 0x12);" (assignment_expression "uVar17 = (uint)*(ushort *)(iVar7 + 0x12)" identifier = (binary_expression "(uint)*(ushort *)(iVar7 + 0x12)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(iVar7 + 0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x12)" ( (binary_expression "iVar7 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = (uint)*(ushort *)(iVar7 + 0x16);" (assignment_expression "uVar8 = (uint)*(ushort *)(iVar7 + 0x16)" identifier = (binary_expression "(uint)*(ushort *)(iVar7 + 0x16)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(iVar7 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x16)" ( (binary_expression "iVar7 + 0x16" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = uVar17 + uVar8 * 2;" (assignment_expression "uVar1 = uVar17 + uVar8 * 2" identifier = (binary_expression "uVar17 + uVar8 * 2" identifier + (binary_expression "uVar8 * 2" identifier * number_literal))) ;) (expression_statement "uVar13 = (uint)*(byte *)(iVar7 + 9);" (assignment_expression "uVar13 = (uint)*(byte *)(iVar7 + 9)" identifier = (binary_expression "(uint)*(byte *)(iVar7 + 9)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar7 + 9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 9)" ( (binary_expression "iVar7 + 9" identifier + number_literal) ))))) ;) (expression_statement "uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);" (assignment_expression "uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24)" identifier = (pointer_expression "*(uint *)(*(int *)(iVar7 + 0x34) + 0x24)" * (cast_expression "(uint *)(*(int *)(iVar7 + 0x34) + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 0x34) + 0x24)" ( (binary_expression "*(int *)(iVar7 + 0x34) + 0x24" (pointer_expression "*(int *)(iVar7 + 0x34)" * (cast_expression "(int *)(iVar7 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x34)" ( (binary_expression "iVar7 + 0x34" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "pbVar2 = (byte *)(iVar4 + 7 + uVar13);" (assignment_expression "pbVar2 = (byte *)(iVar4 + 7 + uVar13)" identifier = (cast_expression "(byte *)(iVar4 + 7 + uVar13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 7 + uVar13)" ( (binary_expression "iVar4 + 7 + uVar13" (binary_expression "iVar4 + 7" identifier + number_literal) + identifier) )))) ;) (if_statement "if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }" if (parenthesized_expression "(((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0))" ( (binary_expression "((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)" (parenthesized_expression "((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20))" ( (binary_expression "(int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)" (binary_expression "(int)(uint)*pbVar2" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) <= (cast_expression "(int)((ulonglong)uVar18 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar18 >> 0x20)" ( (binary_expression "(ulonglong)uVar18 >> 0x20" (cast_expression "(ulonglong)uVar18" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) )) && (parenthesized_expression "(uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)" ( (comma_expression "uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0" (assignment_expression "uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" identifier (argument_list "(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" ( (pointer_expression "*(undefined1 *)(iVar4 + 1 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 1 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 1 + uVar13)" ( (binary_expression "iVar4 + 1 + uVar13" (binary_expression "iVar4 + 1" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 2 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 2 + uVar13)" ( (binary_expression "iVar4 + 2 + uVar13" (binary_expression "iVar4 + 2" identifier + number_literal) + identifier) )))) ))))) , (binary_expression "uVar11 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }" { (expression_statement "uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));" (assignment_expression "uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" identifier (argument_list "(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" ( (pointer_expression "*(undefined1 *)(iVar4 + uVar11)" * (cast_expression "(undefined1 *)(iVar4 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar11)" ( (binary_expression "iVar4 + uVar11" identifier + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 1 + uVar11)" * (cast_expression "(undefined1 *)(iVar4 + 1 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 1 + uVar11)" ( (binary_expression "iVar4 + 1 + uVar11" (binary_expression "iVar4 + 1" identifier + number_literal) + identifier) )))) ))))) ;) (if_statement "if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }" if (parenthesized_expression "((int)(uVar15 - 3) <= (int)uVar16)" ( (binary_expression "(int)(uVar15 - 3) <= (int)uVar16" (cast_expression "(int)(uVar15 - 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar15 - 3)" ( (binary_expression "uVar15 - 3" identifier - number_literal) ))) <= (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }" { (labeled_statement "LAB_00052bcd:\n      uVar10 = FUN_00051360();" statement_identifier : (expression_statement "uVar10 = FUN_00051360();" (assignment_expression "uVar10 = FUN_00051360()" identifier = (call_expression "FUN_00051360()" identifier (argument_list "()" ( )))) ;)) (return_statement "return uVar10;" return identifier ;) })) (if_statement "if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }" if (parenthesized_expression "((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0'))))" ( (binary_expression "(uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))" (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) || (parenthesized_expression "((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))" ( (parenthesized_expression "(*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0'))" ( (binary_expression "*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')" (binary_expression "*(char *)(iVar4 + uVar16) == '\0'" (pointer_expression "*(char *)(iVar4 + uVar16)" * (cast_expression "(char *)(iVar4 + uVar16)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar16)" ( (binary_expression "iVar4 + uVar16" identifier + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(*(char *)(iVar4 + 1 + uVar16) == '\0')" ( (binary_expression "*(char *)(iVar4 + 1 + uVar16) == '\0'" (pointer_expression "*(char *)(iVar4 + 1 + uVar16)" * (cast_expression "(char *)(iVar4 + 1 + uVar16)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 1 + uVar16)" ( (binary_expression "iVar4 + 1 + uVar16" (binary_expression "iVar4 + 1" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }" { (expression_statement "local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));" (assignment_expression "local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" identifier = (cast_expression "(ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" identifier (argument_list "(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" ( (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar11)" * (cast_expression "(undefined1 *)(iVar4 + 2 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 2 + uVar11)" ( (binary_expression "iVar4 + 2 + uVar11" (binary_expression "iVar4 + 2" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 3 + uVar11)" * (cast_expression "(undefined1 *)(iVar4 + 3 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 3 + uVar11)" ( (binary_expression "iVar4 + 3 + uVar11" (binary_expression "iVar4 + 3" identifier + number_literal) + identifier) )))) )))))) ;) (expression_statement "uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );" (assignment_expression "uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" identifier (argument_list "(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" ( (pointer_expression "*(undefined1 *)(iVar4 + 5 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 5 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 5 + uVar13)" ( (binary_expression "iVar4 + 5 + uVar13" (binary_expression "iVar4 + 5" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 6 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 6 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 6 + uVar13)" ( (binary_expression "iVar4 + 6 + uVar13" (binary_expression "iVar4 + 6" identifier + number_literal) + identifier) )))) ))))) ;) (if_statement "if (uVar11 <= uVar8) goto LAB_00052bcd;" if (parenthesized_expression "(uVar11 <= uVar8)" ( (binary_expression "uVar11 <= uVar8" identifier <= identifier) )) (goto_statement "goto LAB_00052bcd;" goto statement_identifier ;)) (if_statement "if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n        local_44 = 0;\n      }" { (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" else (compound_statement "{\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" { (expression_statement "uVar9 = (int)local_48 + uVar11;" (assignment_expression "uVar9 = (int)local_48 + uVar11" identifier = (binary_expression "(int)local_48 + uVar11" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (if_statement "if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;" if (parenthesized_expression "((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44)))" ( (binary_expression "(uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))" (parenthesized_expression "(uVar16 < uVar9)" ( (binary_expression "uVar16 < uVar9" identifier < identifier) )) || (parenthesized_expression "(local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))" ( (comma_expression "local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44)" (assignment_expression "local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" identifier (argument_list "(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" ( (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar16)" * (cast_expression "(undefined1 *)(iVar4 + 2 + uVar16)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 2 + uVar16)" ( (binary_expression "iVar4 + 2 + uVar16" (binary_expression "iVar4 + 2" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 3 + uVar16)" * (cast_expression "(undefined1 *)(iVar4 + 3 + uVar16)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 3 + uVar16)" ( (binary_expression "iVar4 + 3 + uVar16" (binary_expression "iVar4 + 3" identifier + number_literal) + identifier) )))) ))))) , (binary_expression "(int)uVar15 < (int)(uVar16 + local_44)" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)(uVar16 + local_44)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar16 + local_44)" ( (binary_expression "uVar16 + local_44" identifier + identifier) ))))) ))) )) (goto_statement "goto LAB_00052bcd;" goto statement_identifier ;)) (expression_statement "memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);" (call_expression "memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9)" identifier (argument_list "((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9)" ( (cast_expression "(void *)(uVar9 + local_44 + iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar9 + local_44 + iVar4)" ( (binary_expression "uVar9 + local_44 + iVar4" (binary_expression "uVar9 + local_44" identifier + identifier) + identifier) ))) , (cast_expression "(void *)(iVar4 + uVar9)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar9)" ( (binary_expression "iVar4 + uVar9" identifier + identifier) ))) , (binary_expression "uVar16 - uVar9" identifier - identifier) ))) ;) (expression_statement "local_48 = (ushort *)((int)local_48 + local_44);" (assignment_expression "local_48 = (ushort *)((int)local_48 + local_44)" identifier = (cast_expression "(ushort *)((int)local_48 + local_44)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_48 + local_44)" ( (binary_expression "(int)local_48 + local_44" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }))) (expression_statement "uVar15 = (int)local_48 + uVar8;" (assignment_expression "uVar15 = (int)local_48 + uVar8" identifier = (binary_expression "(int)local_48 + uVar8" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);" (call_expression "memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8)" identifier (argument_list "((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8)" ( (cast_expression "(void *)(iVar4 + uVar15)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar15)" ( (binary_expression "iVar4 + uVar15" identifier + identifier) ))) , (cast_expression "(void *)(iVar4 + uVar8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar8)" ( (binary_expression "iVar4 + uVar8" identifier + identifier) ))) , (binary_expression "uVar11 - uVar8" identifier - identifier) ))) ;) (for_statement "for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }" for ( (assignment_expression "puVar12 = (ushort *)(iVar4 + uVar17)" identifier = (cast_expression "(ushort *)(iVar4 + uVar17)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar17)" ( (binary_expression "iVar4 + uVar17" identifier + identifier) )))) ; (binary_expression "puVar12 < (ushort *)(uVar1 + iVar4)" identifier < (cast_expression "(ushort *)(uVar1 + iVar4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar1 + iVar4)" ( (binary_expression "uVar1 + iVar4" identifier + identifier) )))) ; (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ) (compound_statement "{\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }" { (expression_statement "uVar3 = *puVar12;" (assignment_expression "uVar3 = *puVar12" identifier = (pointer_expression "*puVar12" * identifier)) ;) (expression_statement "uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);" (assignment_expression "uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8)" identifier = (call_expression "(uint)(ushort)(uVar3 << 8 | uVar3 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(uVar3 << 8 | uVar3 >> 8)" ( (binary_expression "uVar3 << 8 | uVar3 >> 8" (binary_expression "uVar3 << 8" identifier << number_literal) | (binary_expression "uVar3 >> 8" identifier >> number_literal)) )))) ;) (expression_statement "cVar5 = (char)(uVar3 >> 8);" (assignment_expression "cVar5 = (char)(uVar3 >> 8)" identifier = (cast_expression "(char)(uVar3 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 8)" ( (binary_expression "uVar3 >> 8" identifier >> number_literal) )))) ;) (if_statement "if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" if (parenthesized_expression "(uVar8 < uVar11)" ( (binary_expression "uVar8 < uVar11" identifier < identifier) )) (compound_statement "{\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }" { (expression_statement "*(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);" (assignment_expression "*(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8)" (pointer_expression "*(char *)puVar12" * (cast_expression "(char *)puVar12" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)(uVar8 + (int)local_48 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar8 + (int)local_48 >> 8)" ( (binary_expression "uVar8 + (int)local_48 >> 8" (binary_expression "uVar8 + (int)local_48" identifier + (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) ;) (expression_statement "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;" (assignment_expression "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_48" (pointer_expression "*(char *)((int)puVar12 + 1)" * (cast_expression "(char *)((int)puVar12 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 1)" ( (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "cVar5 + (char)local_48" identifier + (cast_expression "(char)local_48" ( (type_descriptor "char" primitive_type) ) identifier))) ;) }) (else_clause "else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" else (if_statement "if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" if (parenthesized_expression "(uVar8 < uVar16)" ( (binary_expression "uVar8 < uVar16" identifier < identifier) )) (compound_statement "{\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" { (expression_statement "*(char *)puVar12 = (char)(uVar8 + local_44 >> 8);" (assignment_expression "*(char *)puVar12 = (char)(uVar8 + local_44 >> 8)" (pointer_expression "*(char *)puVar12" * (cast_expression "(char *)puVar12" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)(uVar8 + local_44 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar8 + local_44 >> 8)" ( (binary_expression "uVar8 + local_44 >> 8" (binary_expression "uVar8 + local_44" identifier + identifier) >> number_literal) )))) ;) (expression_statement "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;" (assignment_expression "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_44" (pointer_expression "*(char *)((int)puVar12 + 1)" * (cast_expression "(char *)((int)puVar12 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 1)" ( (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "cVar5 + (char)local_44" identifier + (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier))) ;) })))) })) (expression_statement "uVar11 = *pbVar2 + uVar15;" (assignment_expression "uVar11 = *pbVar2 + uVar15" identifier = (binary_expression "*pbVar2 + uVar15" (pointer_expression "*pbVar2" * identifier) + identifier)) ;) (goto_statement "goto LAB_00052c0b;" goto statement_identifier ;) })) })) (expression_statement "uVar11 = uVar15;" (assignment_expression "uVar11 = uVar15" identifier = identifier) ;) (if_statement "if (uVar8 != 0) {\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" { (expression_statement "puVar12 = (ushort *)(iVar4 + uVar17);" (assignment_expression "puVar12 = (ushort *)(iVar4 + uVar17)" identifier = (cast_expression "(ushort *)(iVar4 + uVar17)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar17)" ( (binary_expression "iVar4 + uVar17" identifier + identifier) )))) ;) (expression_statement "uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);" (assignment_expression "uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8)" identifier = (call_expression "(uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(*puVar12 << 8 | *puVar12 >> 8)" ( (binary_expression "*puVar12 << 8 | *puVar12 >> 8" (binary_expression "*puVar12 << 8" (pointer_expression "*puVar12" * identifier) << number_literal) | (binary_expression "*puVar12 >> 8" (pointer_expression "*puVar12" * identifier) >> number_literal)) )))) ;) (if_statement "if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }" if (parenthesized_expression "(((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16))" ( (binary_expression "((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)" (parenthesized_expression "((int)uVar16 <= (int)(uVar15 - 4))" ( (binary_expression "(int)uVar16 <= (int)(uVar15 - 4)" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)(uVar15 - 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar15 - 4)" ( (binary_expression "uVar15 - 4" identifier - number_literal) )))) )) && (parenthesized_expression "(uVar1 <= uVar16)" ( (binary_expression "uVar1 <= uVar16" identifier <= identifier) ))) )) (compound_statement "{\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }" { (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (expression_statement "puVar6 = (ushort *)(iVar4 + 2 + uVar17);" (assignment_expression "puVar6 = (ushort *)(iVar4 + 2 + uVar17)" identifier = (cast_expression "(ushort *)(iVar4 + 2 + uVar17)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 2 + uVar17)" ( (binary_expression "iVar4 + 2 + uVar17" (binary_expression "iVar4 + 2" identifier + number_literal) + identifier) )))) ;) (expression_statement "local_50 = uVar15;" (assignment_expression "local_50 = uVar15" identifier = identifier) ;) (expression_statement "local_48 = puVar12;" (assignment_expression "local_48 = puVar12" identifier = identifier) ;) (expression_statement "local_38 = iVar4;" (assignment_expression "local_38 = iVar4" identifier = identifier) ;) (do_statement "do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));" do (compound_statement "{\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      }" { (expression_statement "puVar14 = puVar6;" (assignment_expression "puVar14 = puVar6" identifier = identifier) ;) (expression_statement "__src = (void *)(local_38 + uVar16);" (assignment_expression "__src = (void *)(local_38 + uVar16)" identifier = (cast_expression "(void *)(local_38 + uVar16)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + uVar16)" ( (binary_expression "local_38 + uVar16" identifier + identifier) )))) ;) (expression_statement "uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);" (assignment_expression "uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src)" identifier = (call_expression "(**(code **)(iVar7 + 0x4c))(iVar7,__src)" (parenthesized_expression "(**(code **)(iVar7 + 0x4c))" ( (pointer_expression "**(code **)(iVar7 + 0x4c)" * (pointer_expression "*(code **)(iVar7 + 0x4c)" * (cast_expression "(code **)(iVar7 + 0x4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x4c)" ( (binary_expression "iVar7 + 0x4c" identifier + number_literal) ))))) )) (argument_list "(iVar7,__src)" ( identifier , identifier )))) ;) (expression_statement "uVar17 = uVar17 & 0xffff;" (assignment_expression "uVar17 = uVar17 & 0xffff" identifier = (binary_expression "uVar17 & 0xffff" identifier & number_literal)) ;) (expression_statement "uVar11 = local_50 - uVar17;" (assignment_expression "uVar11 = local_50 - uVar17" identifier = (binary_expression "local_50 - uVar17" identifier - identifier)) ;) (if_statement "if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;" if (parenthesized_expression "(((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16)))" ( (binary_expression "((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))" (parenthesized_expression "((int)uVar11 < (int)uVar1)" ( (binary_expression "(int)uVar11 < (int)uVar1" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) || (parenthesized_expression "((int)uVar15 < (int)(uVar17 + uVar16))" ( (binary_expression "(int)uVar15 < (int)(uVar17 + uVar16)" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)(uVar17 + uVar16)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar17 + uVar16)" ( (binary_expression "uVar17 + uVar16" identifier + identifier) )))) ))) )) (goto_statement "goto LAB_00052bcd;" goto statement_identifier ;)) (expression_statement "*local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;" (assignment_expression "*local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8" (pointer_expression "*local_48" * identifier) = (binary_expression "(ushort)uVar11 << 8 | (ushort)uVar11 >> 8" (binary_expression "(ushort)uVar11 << 8" (cast_expression "(ushort)uVar11" ( (type_descriptor "ushort" type_identifier) ) identifier) << number_literal) | (binary_expression "(ushort)uVar11 >> 8" (cast_expression "(ushort)uVar11" ( (type_descriptor "ushort" type_identifier) ) identifier) >> number_literal))) ;) (if_statement "if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }" if (parenthesized_expression "(local_44 == 0)" ( (binary_expression "local_44 == 0" identifier == number_literal) )) (compound_statement "{\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }" { (if_statement "if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }" if (parenthesized_expression "(uVar11 != uVar16)" ( (binary_expression "uVar11 != uVar16" identifier != identifier) )) (compound_statement "{\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }" { (expression_statement "local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);" (assignment_expression "local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc)" identifier = (pointer_expression "*(int *)(**(int **)(iVar7 + 0x34) + 0xcc)" * (cast_expression "(int *)(**(int **)(iVar7 + 0x34) + 0xcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(iVar7 + 0x34) + 0xcc)" ( (binary_expression "**(int **)(iVar7 + 0x34) + 0xcc" (pointer_expression "**(int **)(iVar7 + 0x34)" * (pointer_expression "*(int **)(iVar7 + 0x34)" * (cast_expression "(int **)(iVar7 + 0x34)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x34)" ( (binary_expression "iVar7 + 0x34" identifier + number_literal) ))))) + number_literal) ))))) ;) (expression_statement "uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));" (assignment_expression "uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" identifier (argument_list "(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" ( (pointer_expression "*(undefined1 *)(iVar4 + 5 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 5 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 5 + uVar13)" ( (binary_expression "iVar4 + 5 + uVar13" (binary_expression "iVar4 + 5" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 6 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 6 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 6 + uVar13)" ( (binary_expression "iVar4 + 6 + uVar13" (binary_expression "iVar4 + 6" identifier + number_literal) + identifier) )))) ))))) ;) (expression_statement "memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);" (call_expression "memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9)" identifier (argument_list "((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9)" ( (cast_expression "(void *)(local_44 + uVar9)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + uVar9)" ( (binary_expression "local_44 + uVar9" identifier + identifier) ))) , (cast_expression "(void *)(uVar9 + iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar9 + iVar4)" ( (binary_expression "uVar9 + iVar4" identifier + identifier) ))) , (binary_expression "local_50 - uVar9" identifier - identifier) ))) ;) (expression_statement "__src = (void *)(local_44 + uVar16);" (assignment_expression "__src = (void *)(local_44 + uVar16)" identifier = (cast_expression "(void *)(local_44 + uVar16)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + uVar16)" ( (binary_expression "local_44 + uVar16" identifier + identifier) )))) ;) (expression_statement "local_38 = local_44;" (assignment_expression "local_38 = local_44" identifier = identifier) ;) (goto_statement "goto LAB_00052940;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }" else (compound_statement "{\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }" { (labeled_statement "LAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);" statement_identifier : (expression_statement "memcpy((void *)(iVar4 + uVar11),__src,uVar17);" (call_expression "memcpy((void *)(iVar4 + uVar11),__src,uVar17)" identifier (argument_list "((void *)(iVar4 + uVar11),__src,uVar17)" ( (cast_expression "(void *)(iVar4 + uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar11)" ( (binary_expression "iVar4 + uVar11" identifier + identifier) ))) , identifier , identifier ))) ;)) }))) (if_statement "if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;" if (parenthesized_expression "(puVar12 + uVar8 == puVar14)" ( (binary_expression "puVar12 + uVar8 == puVar14" (binary_expression "puVar12 + uVar8" identifier + identifier) == identifier) )) (goto_statement "goto LAB_00052c02;" goto statement_identifier ;)) (expression_statement "uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);" (assignment_expression "uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8)" identifier = (call_expression "(uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(*puVar14 << 8 | *puVar14 >> 8)" ( (binary_expression "*puVar14 << 8 | *puVar14 >> 8" (binary_expression "*puVar14 << 8" (pointer_expression "*puVar14" * identifier) << number_literal) | (binary_expression "*puVar14 >> 8" (pointer_expression "*puVar14" * identifier) >> number_literal)) )))) ;) }) while (parenthesized_expression "((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)))" ( (binary_expression "(uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4))" (parenthesized_expression "(uVar1 <= uVar16)" ( (binary_expression "uVar1 <= uVar16" identifier <= identifier) )) && (parenthesized_expression "(puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4))" ( (comma_expression "puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)" (assignment_expression "puVar6 = puVar14 + 1" identifier = (binary_expression "puVar14 + 1" identifier + number_literal)) , (comma_expression "local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)" (assignment_expression "local_50 = uVar11" identifier = identifier) , (comma_expression "local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)" (assignment_expression "local_48 = puVar14" identifier = identifier) , (binary_expression "(int)uVar16 <= (int)(uVar15 - 4)" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)(uVar15 - 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar15 - 4)" ( (binary_expression "uVar15 - 4" identifier - number_literal) ))))))) ))) )) ;) })) (expression_statement "uVar10 = FUN_00051360();" (assignment_expression "uVar10 = FUN_00051360()" identifier = (call_expression "FUN_00051360()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) })) (labeled_statement "LAB_00052c02:\n  *pbVar2 = 0;" statement_identifier : (expression_statement "*pbVar2 = 0;" (assignment_expression "*pbVar2 = 0" (pointer_expression "*pbVar2" * identifier) = number_literal) ;)) (expression_statement "uVar15 = uVar11;" (assignment_expression "uVar15 = uVar11" identifier = identifier) ;) (labeled_statement "LAB_00052c0b:\n  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" statement_identifier : (if_statement "if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" if (parenthesized_expression "(uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14))" ( (binary_expression "uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)" (binary_expression "uVar11 - uVar1" identifier - identifier) != (binary_expression "(uint)*(ushort *)(iVar7 + 0x14)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(iVar7 + 0x14)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" { (expression_statement "uVar10 = FUN_00051360();" (assignment_expression "uVar10 = FUN_00051360()" identifier = (call_expression "FUN_00051360()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) }))) (expression_statement "*(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);" (assignment_expression "*(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8)" (pointer_expression "*(char *)(iVar4 + 5 + uVar13)" * (cast_expression "(char *)(iVar4 + 5 + uVar13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 5 + uVar13)" ( (binary_expression "iVar4 + 5 + uVar13" (binary_expression "iVar4 + 5" identifier + number_literal) + identifier) )))) = (cast_expression "(char)(uVar15 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar15 >> 8)" ( (binary_expression "uVar15 >> 8" identifier >> number_literal) )))) ;) (expression_statement "*(char *)(iVar4 + 6 + uVar13) = (char)uVar15;" (assignment_expression "*(char *)(iVar4 + 6 + uVar13) = (char)uVar15" (pointer_expression "*(char *)(iVar4 + 6 + uVar13)" * (cast_expression "(char *)(iVar4 + 6 + uVar13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 6 + uVar13)" ( (binary_expression "iVar4 + 6 + uVar13" (binary_expression "iVar4 + 6" identifier + number_literal) + identifier) )))) = (cast_expression "(char)uVar15" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(undefined1 *)(iVar4 + 1 + uVar13) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + 1 + uVar13) = 0" (pointer_expression "*(undefined1 *)(iVar4 + 1 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 1 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 1 + uVar13)" ( (binary_expression "iVar4 + 1 + uVar13" (binary_expression "iVar4 + 1" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar4 + 2 + uVar13) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + 2 + uVar13) = 0" (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 2 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 2 + uVar13)" ( (binary_expression "iVar4 + 2 + uVar13" (binary_expression "iVar4 + 2" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);" (call_expression "memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1)" identifier (argument_list "((void *)(iVar4 + uVar1),0,uVar15 - uVar1)" ( (cast_expression "(void *)(iVar4 + uVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar1)" ( (binary_expression "iVar4 + uVar1" identifier + identifier) ))) , number_literal , (binary_expression "uVar15 - uVar1" identifier - identifier) ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int defragmentPage(MemPage *pPage,int nMaxFrag)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  ushort uVar3;\n  char cVar4;\n  ushort *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int lineno;\n  int iVar9;\n  uint uVar10;\n  ushort *puVar11;\n  uint uVar12;\n  void *__src;\n  ushort *puVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  undefined8 uVar17;\n  uint local_50;\n  ushort *local_48;\n  uint local_44;\n  int local_38;\n  \n  uVar17 = __x86_get_pc_thunk_di();\n  iVar6 = (int)uVar17;\n  iVar9 = *(int *)(iVar6 + 0x38);\n  uVar16 = (uint)*(ushort *)(iVar6 + 0x12);\n  uVar7 = (uint)*(ushort *)(iVar6 + 0x16);\n  uVar1 = uVar16 + uVar7 * 2;\n  uVar12 = (uint)*(byte *)(iVar6 + 9);\n  uVar14 = *(uint *)(*(int *)(iVar6 + 0x34) + 0x24);\n  pbVar2 = (byte *)(iVar9 + 7 + uVar12);\n  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar17 >> 0x20)) &&\n     (uVar10 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12)), uVar10 != 0)) {\n    uVar15 = (uint)CONCAT11(*(undefined1 *)(iVar9 + uVar10),*(undefined1 *)(iVar9 + 1 + uVar10));\n    if ((int)(uVar14 - 3) <= (int)uVar15) {\n      lineno = 0xfbf9;\n      goto LAB_00052bcd;\n    }\n    if ((uVar15 == 0) ||\n       ((*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10));\n      uVar7 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            );\n      lineno = 0xfc01;\n      if (uVar10 <= uVar7) goto LAB_00052bcd;\n      if (uVar15 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar8 = (int)local_48 + uVar10;\n        if (uVar15 < uVar8) {\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }\n        local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15));\n        if ((int)uVar14 < (int)(uVar15 + local_44)) {\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }\n        memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar14 = (int)local_48 + uVar7;\n      memmove((void *)(iVar9 + uVar14),(void *)(iVar9 + uVar7),uVar10 - uVar7);\n      for (puVar11 = (ushort *)(iVar9 + uVar16); puVar11 < (ushort *)(uVar1 + iVar9);\n          puVar11 = puVar11 + 1) {\n        uVar3 = *puVar11;\n        uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar4 = (char)(uVar3 >> 8);\n        if (uVar7 < uVar10) {\n          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;\n        }\n        else if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }\n      }\n      uVar10 = *pbVar2 + uVar14;\n      goto LAB_00052c0b;\n    }\n  }\n  uVar10 = uVar14;\n  if (uVar7 != 0) {\n    puVar11 = (ushort *)(iVar9 + uVar16);\n    uVar15 = (uint)(ushort)(*puVar11 << 8 | *puVar11 >> 8);\n    if (((int)uVar15 <= (int)(uVar14 - 4)) && (uVar1 <= uVar15)) {\n      local_44 = 0;\n      puVar5 = (ushort *)(iVar9 + 2 + uVar16);\n      local_50 = uVar14;\n      local_48 = puVar11;\n      local_38 = iVar9;\n      do {\n        puVar13 = puVar5;\n        __src = (void *)(local_38 + uVar15);\n        uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src);\n        uVar16 = uVar16 & 0xffff;\n        uVar10 = local_50 - uVar16;\n        if (((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))) {\n          lineno = 0xfc29;\n          goto LAB_00052bcd;\n        }\n        *local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8;\n        if (local_44 == 0) {\n          if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }\n        if (puVar11 + uVar7 == puVar13) goto LAB_00052c02;\n        uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8);\n      } while ((uVar1 <= uVar15) &&\n              (puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)));\n    }\n    iVar9 = sqlite3CorruptError(0xfc23);\n    return iVar9;\n  }\nLAB_00052c02:\n  *pbVar2 = 0;\n  uVar14 = uVar10;\nLAB_00052c0b:\n  if (uVar10 - uVar1 != (uint)*(ushort *)(iVar6 + 0x14)) {\n    iVar9 = sqlite3CorruptError(0xfc3d);\n    return iVar9;\n  }\n  *(char *)(iVar9 + 5 + uVar12) = (char)(uVar14 >> 8);\n  *(char *)(iVar9 + 6 + uVar12) = (char)uVar14;\n  *(undefined1 *)(iVar9 + 1 + uVar12) = 0;\n  *(undefined1 *)(iVar9 + 2 + uVar12) = 0;\n  memset((void *)(iVar9 + uVar1),0,uVar14 - uVar1);\n  return 0;\n}\n\n" (function_definition "int defragmentPage(MemPage *pPage,int nMaxFrag)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  ushort uVar3;\n  char cVar4;\n  ushort *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int lineno;\n  int iVar9;\n  uint uVar10;\n  ushort *puVar11;\n  uint uVar12;\n  void *__src;\n  ushort *puVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  undefined8 uVar17;\n  uint local_50;\n  ushort *local_48;\n  uint local_44;\n  int local_38;\n  \n  uVar17 = __x86_get_pc_thunk_di();\n  iVar6 = (int)uVar17;\n  iVar9 = *(int *)(iVar6 + 0x38);\n  uVar16 = (uint)*(ushort *)(iVar6 + 0x12);\n  uVar7 = (uint)*(ushort *)(iVar6 + 0x16);\n  uVar1 = uVar16 + uVar7 * 2;\n  uVar12 = (uint)*(byte *)(iVar6 + 9);\n  uVar14 = *(uint *)(*(int *)(iVar6 + 0x34) + 0x24);\n  pbVar2 = (byte *)(iVar9 + 7 + uVar12);\n  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar17 >> 0x20)) &&\n     (uVar10 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12)), uVar10 != 0)) {\n    uVar15 = (uint)CONCAT11(*(undefined1 *)(iVar9 + uVar10),*(undefined1 *)(iVar9 + 1 + uVar10));\n    if ((int)(uVar14 - 3) <= (int)uVar15) {\n      lineno = 0xfbf9;\n      goto LAB_00052bcd;\n    }\n    if ((uVar15 == 0) ||\n       ((*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10));\n      uVar7 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            );\n      lineno = 0xfc01;\n      if (uVar10 <= uVar7) goto LAB_00052bcd;\n      if (uVar15 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar8 = (int)local_48 + uVar10;\n        if (uVar15 < uVar8) {\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }\n        local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15));\n        if ((int)uVar14 < (int)(uVar15 + local_44)) {\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }\n        memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar14 = (int)local_48 + uVar7;\n      memmove((void *)(iVar9 + uVar14),(void *)(iVar9 + uVar7),uVar10 - uVar7);\n      for (puVar11 = (ushort *)(iVar9 + uVar16); puVar11 < (ushort *)(uVar1 + iVar9);\n          puVar11 = puVar11 + 1) {\n        uVar3 = *puVar11;\n        uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar4 = (char)(uVar3 >> 8);\n        if (uVar7 < uVar10) {\n          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;\n        }\n        else if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }\n      }\n      uVar10 = *pbVar2 + uVar14;\n      goto LAB_00052c0b;\n    }\n  }\n  uVar10 = uVar14;\n  if (uVar7 != 0) {\n    puVar11 = (ushort *)(iVar9 + uVar16);\n    uVar15 = (uint)(ushort)(*puVar11 << 8 | *puVar11 >> 8);\n    if (((int)uVar15 <= (int)(uVar14 - 4)) && (uVar1 <= uVar15)) {\n      local_44 = 0;\n      puVar5 = (ushort *)(iVar9 + 2 + uVar16);\n      local_50 = uVar14;\n      local_48 = puVar11;\n      local_38 = iVar9;\n      do {\n        puVar13 = puVar5;\n        __src = (void *)(local_38 + uVar15);\n        uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src);\n        uVar16 = uVar16 & 0xffff;\n        uVar10 = local_50 - uVar16;\n        if (((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))) {\n          lineno = 0xfc29;\n          goto LAB_00052bcd;\n        }\n        *local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8;\n        if (local_44 == 0) {\n          if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }\n        if (puVar11 + uVar7 == puVar13) goto LAB_00052c02;\n        uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8);\n      } while ((uVar1 <= uVar15) &&\n              (puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)));\n    }\n    iVar9 = sqlite3CorruptError(0xfc23);\n    return iVar9;\n  }\nLAB_00052c02:\n  *pbVar2 = 0;\n  uVar14 = uVar10;\nLAB_00052c0b:\n  if (uVar10 - uVar1 != (uint)*(ushort *)(iVar6 + 0x14)) {\n    iVar9 = sqlite3CorruptError(0xfc3d);\n    return iVar9;\n  }\n  *(char *)(iVar9 + 5 + uVar12) = (char)(uVar14 >> 8);\n  *(char *)(iVar9 + 6 + uVar12) = (char)uVar14;\n  *(undefined1 *)(iVar9 + 1 + uVar12) = 0;\n  *(undefined1 *)(iVar9 + 2 + uVar12) = 0;\n  memset((void *)(iVar9 + uVar1),0,uVar14 - uVar1);\n  return 0;\n}" primitive_type (function_declarator "defragmentPage(MemPage *pPage,int nMaxFrag)" identifier (parameter_list "(MemPage *pPage,int nMaxFrag)" ( (parameter_declaration "MemPage *pPage" type_identifier (pointer_declarator "*pPage" * identifier)) , (parameter_declaration "int nMaxFrag" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  byte *pbVar2;\n  ushort uVar3;\n  char cVar4;\n  ushort *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int lineno;\n  int iVar9;\n  uint uVar10;\n  ushort *puVar11;\n  uint uVar12;\n  void *__src;\n  ushort *puVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  undefined8 uVar17;\n  uint local_50;\n  ushort *local_48;\n  uint local_44;\n  int local_38;\n  \n  uVar17 = __x86_get_pc_thunk_di();\n  iVar6 = (int)uVar17;\n  iVar9 = *(int *)(iVar6 + 0x38);\n  uVar16 = (uint)*(ushort *)(iVar6 + 0x12);\n  uVar7 = (uint)*(ushort *)(iVar6 + 0x16);\n  uVar1 = uVar16 + uVar7 * 2;\n  uVar12 = (uint)*(byte *)(iVar6 + 9);\n  uVar14 = *(uint *)(*(int *)(iVar6 + 0x34) + 0x24);\n  pbVar2 = (byte *)(iVar9 + 7 + uVar12);\n  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar17 >> 0x20)) &&\n     (uVar10 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12)), uVar10 != 0)) {\n    uVar15 = (uint)CONCAT11(*(undefined1 *)(iVar9 + uVar10),*(undefined1 *)(iVar9 + 1 + uVar10));\n    if ((int)(uVar14 - 3) <= (int)uVar15) {\n      lineno = 0xfbf9;\n      goto LAB_00052bcd;\n    }\n    if ((uVar15 == 0) ||\n       ((*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10));\n      uVar7 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            );\n      lineno = 0xfc01;\n      if (uVar10 <= uVar7) goto LAB_00052bcd;\n      if (uVar15 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar8 = (int)local_48 + uVar10;\n        if (uVar15 < uVar8) {\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }\n        local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15));\n        if ((int)uVar14 < (int)(uVar15 + local_44)) {\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }\n        memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar14 = (int)local_48 + uVar7;\n      memmove((void *)(iVar9 + uVar14),(void *)(iVar9 + uVar7),uVar10 - uVar7);\n      for (puVar11 = (ushort *)(iVar9 + uVar16); puVar11 < (ushort *)(uVar1 + iVar9);\n          puVar11 = puVar11 + 1) {\n        uVar3 = *puVar11;\n        uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar4 = (char)(uVar3 >> 8);\n        if (uVar7 < uVar10) {\n          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;\n        }\n        else if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }\n      }\n      uVar10 = *pbVar2 + uVar14;\n      goto LAB_00052c0b;\n    }\n  }\n  uVar10 = uVar14;\n  if (uVar7 != 0) {\n    puVar11 = (ushort *)(iVar9 + uVar16);\n    uVar15 = (uint)(ushort)(*puVar11 << 8 | *puVar11 >> 8);\n    if (((int)uVar15 <= (int)(uVar14 - 4)) && (uVar1 <= uVar15)) {\n      local_44 = 0;\n      puVar5 = (ushort *)(iVar9 + 2 + uVar16);\n      local_50 = uVar14;\n      local_48 = puVar11;\n      local_38 = iVar9;\n      do {\n        puVar13 = puVar5;\n        __src = (void *)(local_38 + uVar15);\n        uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src);\n        uVar16 = uVar16 & 0xffff;\n        uVar10 = local_50 - uVar16;\n        if (((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))) {\n          lineno = 0xfc29;\n          goto LAB_00052bcd;\n        }\n        *local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8;\n        if (local_44 == 0) {\n          if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }\n        if (puVar11 + uVar7 == puVar13) goto LAB_00052c02;\n        uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8);\n      } while ((uVar1 <= uVar15) &&\n              (puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)));\n    }\n    iVar9 = sqlite3CorruptError(0xfc23);\n    return iVar9;\n  }\nLAB_00052c02:\n  *pbVar2 = 0;\n  uVar14 = uVar10;\nLAB_00052c0b:\n  if (uVar10 - uVar1 != (uint)*(ushort *)(iVar6 + 0x14)) {\n    iVar9 = sqlite3CorruptError(0xfc3d);\n    return iVar9;\n  }\n  *(char *)(iVar9 + 5 + uVar12) = (char)(uVar14 >> 8);\n  *(char *)(iVar9 + 6 + uVar12) = (char)uVar14;\n  *(undefined1 *)(iVar9 + 1 + uVar12) = 0;\n  *(undefined1 *)(iVar9 + 2 + uVar12) = 0;\n  memset((void *)(iVar9 + uVar1),0,uVar14 - uVar1);\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "ushort *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int lineno;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "ushort *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "ushort *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "undefined8 uVar17;" type_identifier identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "ushort *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (expression_statement "uVar17 = __x86_get_pc_thunk_di();" (assignment_expression "uVar17 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = (int)uVar17;" (assignment_expression "iVar6 = (int)uVar17" identifier = (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar9 = *(int *)(iVar6 + 0x38);" (assignment_expression "iVar9 = *(int *)(iVar6 + 0x38)" identifier = (pointer_expression "*(int *)(iVar6 + 0x38)" * (cast_expression "(int *)(iVar6 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38)" ( (binary_expression "iVar6 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar16 = (uint)*(ushort *)(iVar6 + 0x12);" (assignment_expression "uVar16 = (uint)*(ushort *)(iVar6 + 0x12)" identifier = (binary_expression "(uint)*(ushort *)(iVar6 + 0x12)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(iVar6 + 0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x12)" ( (binary_expression "iVar6 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = (uint)*(ushort *)(iVar6 + 0x16);" (assignment_expression "uVar7 = (uint)*(ushort *)(iVar6 + 0x16)" identifier = (binary_expression "(uint)*(ushort *)(iVar6 + 0x16)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(iVar6 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x16)" ( (binary_expression "iVar6 + 0x16" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = uVar16 + uVar7 * 2;" (assignment_expression "uVar1 = uVar16 + uVar7 * 2" identifier = (binary_expression "uVar16 + uVar7 * 2" identifier + (binary_expression "uVar7 * 2" identifier * number_literal))) ;) (expression_statement "uVar12 = (uint)*(byte *)(iVar6 + 9);" (assignment_expression "uVar12 = (uint)*(byte *)(iVar6 + 9)" identifier = (binary_expression "(uint)*(byte *)(iVar6 + 9)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar6 + 9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 9)" ( (binary_expression "iVar6 + 9" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = *(uint *)(*(int *)(iVar6 + 0x34) + 0x24);" (assignment_expression "uVar14 = *(uint *)(*(int *)(iVar6 + 0x34) + 0x24)" identifier = (pointer_expression "*(uint *)(*(int *)(iVar6 + 0x34) + 0x24)" * (cast_expression "(uint *)(*(int *)(iVar6 + 0x34) + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar6 + 0x34) + 0x24)" ( (binary_expression "*(int *)(iVar6 + 0x34) + 0x24" (pointer_expression "*(int *)(iVar6 + 0x34)" * (cast_expression "(int *)(iVar6 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x34)" ( (binary_expression "iVar6 + 0x34" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "pbVar2 = (byte *)(iVar9 + 7 + uVar12);" (assignment_expression "pbVar2 = (byte *)(iVar9 + 7 + uVar12)" identifier = (cast_expression "(byte *)(iVar9 + 7 + uVar12)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 7 + uVar12)" ( (binary_expression "iVar9 + 7 + uVar12" (binary_expression "iVar9 + 7" identifier + number_literal) + identifier) )))) ;) (if_statement "if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar17 >> 0x20)) &&\n     (uVar10 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12)), uVar10 != 0)) {\n    uVar15 = (uint)CONCAT11(*(undefined1 *)(iVar9 + uVar10),*(undefined1 *)(iVar9 + 1 + uVar10));\n    if ((int)(uVar14 - 3) <= (int)uVar15) {\n      lineno = 0xfbf9;\n      goto LAB_00052bcd;\n    }\n    if ((uVar15 == 0) ||\n       ((*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10));\n      uVar7 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            );\n      lineno = 0xfc01;\n      if (uVar10 <= uVar7) goto LAB_00052bcd;\n      if (uVar15 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar8 = (int)local_48 + uVar10;\n        if (uVar15 < uVar8) {\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }\n        local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15));\n        if ((int)uVar14 < (int)(uVar15 + local_44)) {\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }\n        memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar14 = (int)local_48 + uVar7;\n      memmove((void *)(iVar9 + uVar14),(void *)(iVar9 + uVar7),uVar10 - uVar7);\n      for (puVar11 = (ushort *)(iVar9 + uVar16); puVar11 < (ushort *)(uVar1 + iVar9);\n          puVar11 = puVar11 + 1) {\n        uVar3 = *puVar11;\n        uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar4 = (char)(uVar3 >> 8);\n        if (uVar7 < uVar10) {\n          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;\n        }\n        else if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }\n      }\n      uVar10 = *pbVar2 + uVar14;\n      goto LAB_00052c0b;\n    }\n  }" if (parenthesized_expression "(((int)(uint)*pbVar2 <= (int)((ulonglong)uVar17 >> 0x20)) &&\n     (uVar10 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12)), uVar10 != 0))" ( (binary_expression "((int)(uint)*pbVar2 <= (int)((ulonglong)uVar17 >> 0x20)) &&\n     (uVar10 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12)), uVar10 != 0)" (parenthesized_expression "((int)(uint)*pbVar2 <= (int)((ulonglong)uVar17 >> 0x20))" ( (binary_expression "(int)(uint)*pbVar2 <= (int)((ulonglong)uVar17 >> 0x20)" (binary_expression "(int)(uint)*pbVar2" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) <= (cast_expression "(int)((ulonglong)uVar17 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar17 >> 0x20)" ( (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) )) && (parenthesized_expression "(uVar10 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12)), uVar10 != 0)" ( (comma_expression "uVar10 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12)), uVar10 != 0" (assignment_expression "uVar10 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12))" identifier (argument_list "(*(undefined1 *)(iVar9 + 1 + uVar12),\n                              *(undefined1 *)(iVar9 + 2 + uVar12))" ( (pointer_expression "*(undefined1 *)(iVar9 + 1 + uVar12)" * (cast_expression "(undefined1 *)(iVar9 + 1 + uVar12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 1 + uVar12)" ( (binary_expression "iVar9 + 1 + uVar12" (binary_expression "iVar9 + 1" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar9 + 2 + uVar12)" * (cast_expression "(undefined1 *)(iVar9 + 2 + uVar12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 2 + uVar12)" ( (binary_expression "iVar9 + 2 + uVar12" (binary_expression "iVar9 + 2" identifier + number_literal) + identifier) )))) ))))) , (binary_expression "uVar10 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar15 = (uint)CONCAT11(*(undefined1 *)(iVar9 + uVar10),*(undefined1 *)(iVar9 + 1 + uVar10));\n    if ((int)(uVar14 - 3) <= (int)uVar15) {\n      lineno = 0xfbf9;\n      goto LAB_00052bcd;\n    }\n    if ((uVar15 == 0) ||\n       ((*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10));\n      uVar7 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            );\n      lineno = 0xfc01;\n      if (uVar10 <= uVar7) goto LAB_00052bcd;\n      if (uVar15 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar8 = (int)local_48 + uVar10;\n        if (uVar15 < uVar8) {\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }\n        local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15));\n        if ((int)uVar14 < (int)(uVar15 + local_44)) {\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }\n        memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar14 = (int)local_48 + uVar7;\n      memmove((void *)(iVar9 + uVar14),(void *)(iVar9 + uVar7),uVar10 - uVar7);\n      for (puVar11 = (ushort *)(iVar9 + uVar16); puVar11 < (ushort *)(uVar1 + iVar9);\n          puVar11 = puVar11 + 1) {\n        uVar3 = *puVar11;\n        uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar4 = (char)(uVar3 >> 8);\n        if (uVar7 < uVar10) {\n          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;\n        }\n        else if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }\n      }\n      uVar10 = *pbVar2 + uVar14;\n      goto LAB_00052c0b;\n    }\n  }" { (expression_statement "uVar15 = (uint)CONCAT11(*(undefined1 *)(iVar9 + uVar10),*(undefined1 *)(iVar9 + 1 + uVar10));" (assignment_expression "uVar15 = (uint)CONCAT11(*(undefined1 *)(iVar9 + uVar10),*(undefined1 *)(iVar9 + 1 + uVar10))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar9 + uVar10),*(undefined1 *)(iVar9 + 1 + uVar10))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar9 + uVar10),*(undefined1 *)(iVar9 + 1 + uVar10))" identifier (argument_list "(*(undefined1 *)(iVar9 + uVar10),*(undefined1 *)(iVar9 + 1 + uVar10))" ( (pointer_expression "*(undefined1 *)(iVar9 + uVar10)" * (cast_expression "(undefined1 *)(iVar9 + uVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + uVar10)" ( (binary_expression "iVar9 + uVar10" identifier + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar9 + 1 + uVar10)" * (cast_expression "(undefined1 *)(iVar9 + 1 + uVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 1 + uVar10)" ( (binary_expression "iVar9 + 1 + uVar10" (binary_expression "iVar9 + 1" identifier + number_literal) + identifier) )))) ))))) ;) (if_statement "if ((int)(uVar14 - 3) <= (int)uVar15) {\n      lineno = 0xfbf9;\n      goto LAB_00052bcd;\n    }" if (parenthesized_expression "((int)(uVar14 - 3) <= (int)uVar15)" ( (binary_expression "(int)(uVar14 - 3) <= (int)uVar15" (cast_expression "(int)(uVar14 - 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar14 - 3)" ( (binary_expression "uVar14 - 3" identifier - number_literal) ))) <= (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      lineno = 0xfbf9;\n      goto LAB_00052bcd;\n    }" { (expression_statement "lineno = 0xfbf9;" (assignment_expression "lineno = 0xfbf9" identifier = number_literal) ;) (goto_statement "goto LAB_00052bcd;" goto statement_identifier ;) })) (if_statement "if ((uVar15 == 0) ||\n       ((*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10));\n      uVar7 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            );\n      lineno = 0xfc01;\n      if (uVar10 <= uVar7) goto LAB_00052bcd;\n      if (uVar15 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar8 = (int)local_48 + uVar10;\n        if (uVar15 < uVar8) {\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }\n        local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15));\n        if ((int)uVar14 < (int)(uVar15 + local_44)) {\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }\n        memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar14 = (int)local_48 + uVar7;\n      memmove((void *)(iVar9 + uVar14),(void *)(iVar9 + uVar7),uVar10 - uVar7);\n      for (puVar11 = (ushort *)(iVar9 + uVar16); puVar11 < (ushort *)(uVar1 + iVar9);\n          puVar11 = puVar11 + 1) {\n        uVar3 = *puVar11;\n        uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar4 = (char)(uVar3 >> 8);\n        if (uVar7 < uVar10) {\n          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;\n        }\n        else if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }\n      }\n      uVar10 = *pbVar2 + uVar14;\n      goto LAB_00052c0b;\n    }" if (parenthesized_expression "((uVar15 == 0) ||\n       ((*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0'))))" ( (binary_expression "(uVar15 == 0) ||\n       ((*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0')))" (parenthesized_expression "(uVar15 == 0)" ( (binary_expression "uVar15 == 0" identifier == number_literal) )) || (parenthesized_expression "((*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0')))" ( (parenthesized_expression "(*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0'))" ( (binary_expression "*(char *)(iVar9 + uVar15) == '\0' && (*(char *)(iVar9 + 1 + uVar15) == '\0')" (binary_expression "*(char *)(iVar9 + uVar15) == '\0'" (pointer_expression "*(char *)(iVar9 + uVar15)" * (cast_expression "(char *)(iVar9 + uVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + uVar15)" ( (binary_expression "iVar9 + uVar15" identifier + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(*(char *)(iVar9 + 1 + uVar15) == '\0')" ( (binary_expression "*(char *)(iVar9 + 1 + uVar15) == '\0'" (pointer_expression "*(char *)(iVar9 + 1 + uVar15)" * (cast_expression "(char *)(iVar9 + 1 + uVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 1 + uVar15)" ( (binary_expression "iVar9 + 1 + uVar15" (binary_expression "iVar9 + 1" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10));\n      uVar7 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            );\n      lineno = 0xfc01;\n      if (uVar10 <= uVar7) goto LAB_00052bcd;\n      if (uVar15 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar8 = (int)local_48 + uVar10;\n        if (uVar15 < uVar8) {\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }\n        local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15));\n        if ((int)uVar14 < (int)(uVar15 + local_44)) {\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }\n        memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar14 = (int)local_48 + uVar7;\n      memmove((void *)(iVar9 + uVar14),(void *)(iVar9 + uVar7),uVar10 - uVar7);\n      for (puVar11 = (ushort *)(iVar9 + uVar16); puVar11 < (ushort *)(uVar1 + iVar9);\n          puVar11 = puVar11 + 1) {\n        uVar3 = *puVar11;\n        uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar4 = (char)(uVar3 >> 8);\n        if (uVar7 < uVar10) {\n          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;\n        }\n        else if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }\n      }\n      uVar10 = *pbVar2 + uVar14;\n      goto LAB_00052c0b;\n    }" { (expression_statement "local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10));" (assignment_expression "local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10))" identifier = (cast_expression "(ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10))" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10))" identifier (argument_list "(*(undefined1 *)(iVar9 + 2 + uVar10),\n                                *(undefined1 *)(iVar9 + 3 + uVar10))" ( (pointer_expression "*(undefined1 *)(iVar9 + 2 + uVar10)" * (cast_expression "(undefined1 *)(iVar9 + 2 + uVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 2 + uVar10)" ( (binary_expression "iVar9 + 2 + uVar10" (binary_expression "iVar9 + 2" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar9 + 3 + uVar10)" * (cast_expression "(undefined1 *)(iVar9 + 3 + uVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 3 + uVar10)" ( (binary_expression "iVar9 + 3 + uVar10" (binary_expression "iVar9 + 3" identifier + number_literal) + identifier) )))) )))))) ;) (expression_statement "uVar7 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            );" (assignment_expression "uVar7 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            )" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            )" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            )" identifier (argument_list "(*(undefined1 *)(iVar9 + 5 + uVar12),*(undefined1 *)(iVar9 + 6 + uVar12)\n                            )" ( (pointer_expression "*(undefined1 *)(iVar9 + 5 + uVar12)" * (cast_expression "(undefined1 *)(iVar9 + 5 + uVar12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 5 + uVar12)" ( (binary_expression "iVar9 + 5 + uVar12" (binary_expression "iVar9 + 5" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar9 + 6 + uVar12)" * (cast_expression "(undefined1 *)(iVar9 + 6 + uVar12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 6 + uVar12)" ( (binary_expression "iVar9 + 6 + uVar12" (binary_expression "iVar9 + 6" identifier + number_literal) + identifier) )))) ))))) ;) (expression_statement "lineno = 0xfc01;" (assignment_expression "lineno = 0xfc01" identifier = number_literal) ;) (if_statement "if (uVar10 <= uVar7) goto LAB_00052bcd;" if (parenthesized_expression "(uVar10 <= uVar7)" ( (binary_expression "uVar10 <= uVar7" identifier <= identifier) )) (goto_statement "goto LAB_00052bcd;" goto statement_identifier ;)) (if_statement "if (uVar15 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar8 = (int)local_48 + uVar10;\n        if (uVar15 < uVar8) {\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }\n        local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15));\n        if ((int)uVar14 < (int)(uVar15 + local_44)) {\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }\n        memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" if (parenthesized_expression "(uVar15 == 0)" ( (binary_expression "uVar15 == 0" identifier == number_literal) )) (compound_statement "{\n        local_44 = 0;\n      }" { (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        uVar8 = (int)local_48 + uVar10;\n        if (uVar15 < uVar8) {\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }\n        local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15));\n        if ((int)uVar14 < (int)(uVar15 + local_44)) {\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }\n        memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" else (compound_statement "{\n        uVar8 = (int)local_48 + uVar10;\n        if (uVar15 < uVar8) {\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }\n        local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15));\n        if ((int)uVar14 < (int)(uVar15 + local_44)) {\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }\n        memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" { (expression_statement "uVar8 = (int)local_48 + uVar10;" (assignment_expression "uVar8 = (int)local_48 + uVar10" identifier = (binary_expression "(int)local_48 + uVar10" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (if_statement "if (uVar15 < uVar8) {\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }" if (parenthesized_expression "(uVar15 < uVar8)" ( (binary_expression "uVar15 < uVar8" identifier < identifier) )) (compound_statement "{\n          lineno = 0xfc04;\nLAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);\n          return iVar9;\n        }" { (expression_statement "lineno = 0xfc04;" (assignment_expression "lineno = 0xfc04" identifier = number_literal) ;) (labeled_statement "LAB_00052bcd:\n          iVar9 = sqlite3CorruptError(lineno);" statement_identifier : (expression_statement "iVar9 = sqlite3CorruptError(lineno);" (assignment_expression "iVar9 = sqlite3CorruptError(lineno)" identifier = (call_expression "sqlite3CorruptError(lineno)" identifier (argument_list "(lineno)" ( identifier )))) ;)) (return_statement "return iVar9;" return identifier ;) })) (expression_statement "local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15));" (assignment_expression "local_44 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15))" identifier (argument_list "(*(undefined1 *)(iVar9 + 2 + uVar15),\n                                  *(undefined1 *)(iVar9 + 3 + uVar15))" ( (pointer_expression "*(undefined1 *)(iVar9 + 2 + uVar15)" * (cast_expression "(undefined1 *)(iVar9 + 2 + uVar15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 2 + uVar15)" ( (binary_expression "iVar9 + 2 + uVar15" (binary_expression "iVar9 + 2" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar9 + 3 + uVar15)" * (cast_expression "(undefined1 *)(iVar9 + 3 + uVar15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 3 + uVar15)" ( (binary_expression "iVar9 + 3 + uVar15" (binary_expression "iVar9 + 3" identifier + number_literal) + identifier) )))) ))))) ;) (if_statement "if ((int)uVar14 < (int)(uVar15 + local_44)) {\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }" if (parenthesized_expression "((int)uVar14 < (int)(uVar15 + local_44))" ( (binary_expression "(int)uVar14 < (int)(uVar15 + local_44)" (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)(uVar15 + local_44)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar15 + local_44)" ( (binary_expression "uVar15 + local_44" identifier + identifier) )))) )) (compound_statement "{\n          lineno = 0xfc06;\n          goto LAB_00052bcd;\n        }" { (expression_statement "lineno = 0xfc06;" (assignment_expression "lineno = 0xfc06" identifier = number_literal) ;) (goto_statement "goto LAB_00052bcd;" goto statement_identifier ;) })) (expression_statement "memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8);" (call_expression "memmove((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8)" identifier (argument_list "((void *)(uVar8 + local_44 + iVar9),(void *)(iVar9 + uVar8),uVar15 - uVar8)" ( (cast_expression "(void *)(uVar8 + local_44 + iVar9)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar8 + local_44 + iVar9)" ( (binary_expression "uVar8 + local_44 + iVar9" (binary_expression "uVar8 + local_44" identifier + identifier) + identifier) ))) , (cast_expression "(void *)(iVar9 + uVar8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + uVar8)" ( (binary_expression "iVar9 + uVar8" identifier + identifier) ))) , (binary_expression "uVar15 - uVar8" identifier - identifier) ))) ;) (expression_statement "local_48 = (ushort *)((int)local_48 + local_44);" (assignment_expression "local_48 = (ushort *)((int)local_48 + local_44)" identifier = (cast_expression "(ushort *)((int)local_48 + local_44)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_48 + local_44)" ( (binary_expression "(int)local_48 + local_44" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }))) (expression_statement "uVar14 = (int)local_48 + uVar7;" (assignment_expression "uVar14 = (int)local_48 + uVar7" identifier = (binary_expression "(int)local_48 + uVar7" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "memmove((void *)(iVar9 + uVar14),(void *)(iVar9 + uVar7),uVar10 - uVar7);" (call_expression "memmove((void *)(iVar9 + uVar14),(void *)(iVar9 + uVar7),uVar10 - uVar7)" identifier (argument_list "((void *)(iVar9 + uVar14),(void *)(iVar9 + uVar7),uVar10 - uVar7)" ( (cast_expression "(void *)(iVar9 + uVar14)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + uVar14)" ( (binary_expression "iVar9 + uVar14" identifier + identifier) ))) , (cast_expression "(void *)(iVar9 + uVar7)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + uVar7)" ( (binary_expression "iVar9 + uVar7" identifier + identifier) ))) , (binary_expression "uVar10 - uVar7" identifier - identifier) ))) ;) (for_statement "for (puVar11 = (ushort *)(iVar9 + uVar16); puVar11 < (ushort *)(uVar1 + iVar9);\n          puVar11 = puVar11 + 1) {\n        uVar3 = *puVar11;\n        uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar4 = (char)(uVar3 >> 8);\n        if (uVar7 < uVar10) {\n          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;\n        }\n        else if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }\n      }" for ( (assignment_expression "puVar11 = (ushort *)(iVar9 + uVar16)" identifier = (cast_expression "(ushort *)(iVar9 + uVar16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + uVar16)" ( (binary_expression "iVar9 + uVar16" identifier + identifier) )))) ; (binary_expression "puVar11 < (ushort *)(uVar1 + iVar9)" identifier < (cast_expression "(ushort *)(uVar1 + iVar9)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar1 + iVar9)" ( (binary_expression "uVar1 + iVar9" identifier + identifier) )))) ; (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ) (compound_statement "{\n        uVar3 = *puVar11;\n        uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar4 = (char)(uVar3 >> 8);\n        if (uVar7 < uVar10) {\n          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;\n        }\n        else if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }\n      }" { (expression_statement "uVar3 = *puVar11;" (assignment_expression "uVar3 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);" (assignment_expression "uVar7 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8)" identifier = (call_expression "(uint)(ushort)(uVar3 << 8 | uVar3 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(uVar3 << 8 | uVar3 >> 8)" ( (binary_expression "uVar3 << 8 | uVar3 >> 8" (binary_expression "uVar3 << 8" identifier << number_literal) | (binary_expression "uVar3 >> 8" identifier >> number_literal)) )))) ;) (expression_statement "cVar4 = (char)(uVar3 >> 8);" (assignment_expression "cVar4 = (char)(uVar3 >> 8)" identifier = (cast_expression "(char)(uVar3 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 8)" ( (binary_expression "uVar3 >> 8" identifier >> number_literal) )))) ;) (if_statement "if (uVar7 < uVar10) {\n          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;\n        }\n        else if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }" if (parenthesized_expression "(uVar7 < uVar10)" ( (binary_expression "uVar7 < uVar10" identifier < identifier) )) (compound_statement "{\n          *(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;\n        }" { (expression_statement "*(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8);" (assignment_expression "*(char *)puVar11 = (char)(uVar7 + (int)local_48 >> 8)" (pointer_expression "*(char *)puVar11" * (cast_expression "(char *)puVar11" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)(uVar7 + (int)local_48 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 + (int)local_48 >> 8)" ( (binary_expression "uVar7 + (int)local_48 >> 8" (binary_expression "uVar7 + (int)local_48" identifier + (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) ;) (expression_statement "*(char *)((int)puVar11 + 1) = cVar4 + (char)local_48;" (assignment_expression "*(char *)((int)puVar11 + 1) = cVar4 + (char)local_48" (pointer_expression "*(char *)((int)puVar11 + 1)" * (cast_expression "(char *)((int)puVar11 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + 1)" ( (binary_expression "(int)puVar11 + 1" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "cVar4 + (char)local_48" identifier + (cast_expression "(char)local_48" ( (type_descriptor "char" primitive_type) ) identifier))) ;) }) (else_clause "else if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }" else (if_statement "if (uVar7 < uVar15) {\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }" if (parenthesized_expression "(uVar7 < uVar15)" ( (binary_expression "uVar7 < uVar15" identifier < identifier) )) (compound_statement "{\n          *(char *)puVar11 = (char)(uVar7 + local_44 >> 8);\n          *(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;\n        }" { (expression_statement "*(char *)puVar11 = (char)(uVar7 + local_44 >> 8);" (assignment_expression "*(char *)puVar11 = (char)(uVar7 + local_44 >> 8)" (pointer_expression "*(char *)puVar11" * (cast_expression "(char *)puVar11" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)(uVar7 + local_44 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 + local_44 >> 8)" ( (binary_expression "uVar7 + local_44 >> 8" (binary_expression "uVar7 + local_44" identifier + identifier) >> number_literal) )))) ;) (expression_statement "*(char *)((int)puVar11 + 1) = cVar4 + (char)local_44;" (assignment_expression "*(char *)((int)puVar11 + 1) = cVar4 + (char)local_44" (pointer_expression "*(char *)((int)puVar11 + 1)" * (cast_expression "(char *)((int)puVar11 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + 1)" ( (binary_expression "(int)puVar11 + 1" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "cVar4 + (char)local_44" identifier + (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier))) ;) })))) })) (expression_statement "uVar10 = *pbVar2 + uVar14;" (assignment_expression "uVar10 = *pbVar2 + uVar14" identifier = (binary_expression "*pbVar2 + uVar14" (pointer_expression "*pbVar2" * identifier) + identifier)) ;) (goto_statement "goto LAB_00052c0b;" goto statement_identifier ;) })) })) (expression_statement "uVar10 = uVar14;" (assignment_expression "uVar10 = uVar14" identifier = identifier) ;) (if_statement "if (uVar7 != 0) {\n    puVar11 = (ushort *)(iVar9 + uVar16);\n    uVar15 = (uint)(ushort)(*puVar11 << 8 | *puVar11 >> 8);\n    if (((int)uVar15 <= (int)(uVar14 - 4)) && (uVar1 <= uVar15)) {\n      local_44 = 0;\n      puVar5 = (ushort *)(iVar9 + 2 + uVar16);\n      local_50 = uVar14;\n      local_48 = puVar11;\n      local_38 = iVar9;\n      do {\n        puVar13 = puVar5;\n        __src = (void *)(local_38 + uVar15);\n        uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src);\n        uVar16 = uVar16 & 0xffff;\n        uVar10 = local_50 - uVar16;\n        if (((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))) {\n          lineno = 0xfc29;\n          goto LAB_00052bcd;\n        }\n        *local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8;\n        if (local_44 == 0) {\n          if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }\n        if (puVar11 + uVar7 == puVar13) goto LAB_00052c02;\n        uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8);\n      } while ((uVar1 <= uVar15) &&\n              (puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)));\n    }\n    iVar9 = sqlite3CorruptError(0xfc23);\n    return iVar9;\n  }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar11 = (ushort *)(iVar9 + uVar16);\n    uVar15 = (uint)(ushort)(*puVar11 << 8 | *puVar11 >> 8);\n    if (((int)uVar15 <= (int)(uVar14 - 4)) && (uVar1 <= uVar15)) {\n      local_44 = 0;\n      puVar5 = (ushort *)(iVar9 + 2 + uVar16);\n      local_50 = uVar14;\n      local_48 = puVar11;\n      local_38 = iVar9;\n      do {\n        puVar13 = puVar5;\n        __src = (void *)(local_38 + uVar15);\n        uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src);\n        uVar16 = uVar16 & 0xffff;\n        uVar10 = local_50 - uVar16;\n        if (((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))) {\n          lineno = 0xfc29;\n          goto LAB_00052bcd;\n        }\n        *local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8;\n        if (local_44 == 0) {\n          if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }\n        if (puVar11 + uVar7 == puVar13) goto LAB_00052c02;\n        uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8);\n      } while ((uVar1 <= uVar15) &&\n              (puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)));\n    }\n    iVar9 = sqlite3CorruptError(0xfc23);\n    return iVar9;\n  }" { (expression_statement "puVar11 = (ushort *)(iVar9 + uVar16);" (assignment_expression "puVar11 = (ushort *)(iVar9 + uVar16)" identifier = (cast_expression "(ushort *)(iVar9 + uVar16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + uVar16)" ( (binary_expression "iVar9 + uVar16" identifier + identifier) )))) ;) (expression_statement "uVar15 = (uint)(ushort)(*puVar11 << 8 | *puVar11 >> 8);" (assignment_expression "uVar15 = (uint)(ushort)(*puVar11 << 8 | *puVar11 >> 8)" identifier = (call_expression "(uint)(ushort)(*puVar11 << 8 | *puVar11 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(*puVar11 << 8 | *puVar11 >> 8)" ( (binary_expression "*puVar11 << 8 | *puVar11 >> 8" (binary_expression "*puVar11 << 8" (pointer_expression "*puVar11" * identifier) << number_literal) | (binary_expression "*puVar11 >> 8" (pointer_expression "*puVar11" * identifier) >> number_literal)) )))) ;) (if_statement "if (((int)uVar15 <= (int)(uVar14 - 4)) && (uVar1 <= uVar15)) {\n      local_44 = 0;\n      puVar5 = (ushort *)(iVar9 + 2 + uVar16);\n      local_50 = uVar14;\n      local_48 = puVar11;\n      local_38 = iVar9;\n      do {\n        puVar13 = puVar5;\n        __src = (void *)(local_38 + uVar15);\n        uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src);\n        uVar16 = uVar16 & 0xffff;\n        uVar10 = local_50 - uVar16;\n        if (((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))) {\n          lineno = 0xfc29;\n          goto LAB_00052bcd;\n        }\n        *local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8;\n        if (local_44 == 0) {\n          if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }\n        if (puVar11 + uVar7 == puVar13) goto LAB_00052c02;\n        uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8);\n      } while ((uVar1 <= uVar15) &&\n              (puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)));\n    }" if (parenthesized_expression "(((int)uVar15 <= (int)(uVar14 - 4)) && (uVar1 <= uVar15))" ( (binary_expression "((int)uVar15 <= (int)(uVar14 - 4)) && (uVar1 <= uVar15)" (parenthesized_expression "((int)uVar15 <= (int)(uVar14 - 4))" ( (binary_expression "(int)uVar15 <= (int)(uVar14 - 4)" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)(uVar14 - 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar14 - 4)" ( (binary_expression "uVar14 - 4" identifier - number_literal) )))) )) && (parenthesized_expression "(uVar1 <= uVar15)" ( (binary_expression "uVar1 <= uVar15" identifier <= identifier) ))) )) (compound_statement "{\n      local_44 = 0;\n      puVar5 = (ushort *)(iVar9 + 2 + uVar16);\n      local_50 = uVar14;\n      local_48 = puVar11;\n      local_38 = iVar9;\n      do {\n        puVar13 = puVar5;\n        __src = (void *)(local_38 + uVar15);\n        uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src);\n        uVar16 = uVar16 & 0xffff;\n        uVar10 = local_50 - uVar16;\n        if (((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))) {\n          lineno = 0xfc29;\n          goto LAB_00052bcd;\n        }\n        *local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8;\n        if (local_44 == 0) {\n          if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }\n        if (puVar11 + uVar7 == puVar13) goto LAB_00052c02;\n        uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8);\n      } while ((uVar1 <= uVar15) &&\n              (puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)));\n    }" { (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (expression_statement "puVar5 = (ushort *)(iVar9 + 2 + uVar16);" (assignment_expression "puVar5 = (ushort *)(iVar9 + 2 + uVar16)" identifier = (cast_expression "(ushort *)(iVar9 + 2 + uVar16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 2 + uVar16)" ( (binary_expression "iVar9 + 2 + uVar16" (binary_expression "iVar9 + 2" identifier + number_literal) + identifier) )))) ;) (expression_statement "local_50 = uVar14;" (assignment_expression "local_50 = uVar14" identifier = identifier) ;) (expression_statement "local_48 = puVar11;" (assignment_expression "local_48 = puVar11" identifier = identifier) ;) (expression_statement "local_38 = iVar9;" (assignment_expression "local_38 = iVar9" identifier = identifier) ;) (do_statement "do {\n        puVar13 = puVar5;\n        __src = (void *)(local_38 + uVar15);\n        uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src);\n        uVar16 = uVar16 & 0xffff;\n        uVar10 = local_50 - uVar16;\n        if (((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))) {\n          lineno = 0xfc29;\n          goto LAB_00052bcd;\n        }\n        *local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8;\n        if (local_44 == 0) {\n          if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }\n        if (puVar11 + uVar7 == puVar13) goto LAB_00052c02;\n        uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8);\n      } while ((uVar1 <= uVar15) &&\n              (puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)));" do (compound_statement "{\n        puVar13 = puVar5;\n        __src = (void *)(local_38 + uVar15);\n        uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src);\n        uVar16 = uVar16 & 0xffff;\n        uVar10 = local_50 - uVar16;\n        if (((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))) {\n          lineno = 0xfc29;\n          goto LAB_00052bcd;\n        }\n        *local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8;\n        if (local_44 == 0) {\n          if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }\n        if (puVar11 + uVar7 == puVar13) goto LAB_00052c02;\n        uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8);\n      }" { (expression_statement "puVar13 = puVar5;" (assignment_expression "puVar13 = puVar5" identifier = identifier) ;) (expression_statement "__src = (void *)(local_38 + uVar15);" (assignment_expression "__src = (void *)(local_38 + uVar15)" identifier = (cast_expression "(void *)(local_38 + uVar15)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + uVar15)" ( (binary_expression "local_38 + uVar15" identifier + identifier) )))) ;) (expression_statement "uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src);" (assignment_expression "uVar16 = (**(code **)(iVar6 + 0x4c))(iVar6,__src)" identifier = (call_expression "(**(code **)(iVar6 + 0x4c))(iVar6,__src)" (parenthesized_expression "(**(code **)(iVar6 + 0x4c))" ( (pointer_expression "**(code **)(iVar6 + 0x4c)" * (pointer_expression "*(code **)(iVar6 + 0x4c)" * (cast_expression "(code **)(iVar6 + 0x4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x4c)" ( (binary_expression "iVar6 + 0x4c" identifier + number_literal) ))))) )) (argument_list "(iVar6,__src)" ( identifier , identifier )))) ;) (expression_statement "uVar16 = uVar16 & 0xffff;" (assignment_expression "uVar16 = uVar16 & 0xffff" identifier = (binary_expression "uVar16 & 0xffff" identifier & number_literal)) ;) (expression_statement "uVar10 = local_50 - uVar16;" (assignment_expression "uVar10 = local_50 - uVar16" identifier = (binary_expression "local_50 - uVar16" identifier - identifier)) ;) (if_statement "if (((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))) {\n          lineno = 0xfc29;\n          goto LAB_00052bcd;\n        }" if (parenthesized_expression "(((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15)))" ( (binary_expression "((int)uVar10 < (int)uVar1) || ((int)uVar14 < (int)(uVar16 + uVar15))" (parenthesized_expression "((int)uVar10 < (int)uVar1)" ( (binary_expression "(int)uVar10 < (int)uVar1" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) || (parenthesized_expression "((int)uVar14 < (int)(uVar16 + uVar15))" ( (binary_expression "(int)uVar14 < (int)(uVar16 + uVar15)" (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)(uVar16 + uVar15)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar16 + uVar15)" ( (binary_expression "uVar16 + uVar15" identifier + identifier) )))) ))) )) (compound_statement "{\n          lineno = 0xfc29;\n          goto LAB_00052bcd;\n        }" { (expression_statement "lineno = 0xfc29;" (assignment_expression "lineno = 0xfc29" identifier = number_literal) ;) (goto_statement "goto LAB_00052bcd;" goto statement_identifier ;) })) (expression_statement "*local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8;" (assignment_expression "*local_48 = (ushort)uVar10 << 8 | (ushort)uVar10 >> 8" (pointer_expression "*local_48" * identifier) = (binary_expression "(ushort)uVar10 << 8 | (ushort)uVar10 >> 8" (binary_expression "(ushort)uVar10 << 8" (cast_expression "(ushort)uVar10" ( (type_descriptor "ushort" type_identifier) ) identifier) << number_literal) | (binary_expression "(ushort)uVar10 >> 8" (cast_expression "(ushort)uVar10" ( (type_descriptor "ushort" type_identifier) ) identifier) >> number_literal))) ;) (if_statement "if (local_44 == 0) {\n          if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }" if (parenthesized_expression "(local_44 == 0)" ( (binary_expression "local_44 == 0" identifier == number_literal) )) (compound_statement "{\n          if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }" { (if_statement "if (uVar10 != uVar15) {\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }" if (parenthesized_expression "(uVar10 != uVar15)" ( (binary_expression "uVar10 != uVar15" identifier != identifier) )) (compound_statement "{\n            local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);\n            uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));\n            memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);\n            __src = (void *)(local_44 + uVar15);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }" { (expression_statement "local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc);" (assignment_expression "local_44 = *(int *)(**(int **)(iVar6 + 0x34) + 0xcc)" identifier = (pointer_expression "*(int *)(**(int **)(iVar6 + 0x34) + 0xcc)" * (cast_expression "(int *)(**(int **)(iVar6 + 0x34) + 0xcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(iVar6 + 0x34) + 0xcc)" ( (binary_expression "**(int **)(iVar6 + 0x34) + 0xcc" (pointer_expression "**(int **)(iVar6 + 0x34)" * (pointer_expression "*(int **)(iVar6 + 0x34)" * (cast_expression "(int **)(iVar6 + 0x34)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x34)" ( (binary_expression "iVar6 + 0x34" identifier + number_literal) ))))) + number_literal) ))))) ;) (expression_statement "uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12));" (assignment_expression "uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12))" identifier (argument_list "(*(undefined1 *)(iVar9 + 5 + uVar12),\n                                   *(undefined1 *)(iVar9 + 6 + uVar12))" ( (pointer_expression "*(undefined1 *)(iVar9 + 5 + uVar12)" * (cast_expression "(undefined1 *)(iVar9 + 5 + uVar12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 5 + uVar12)" ( (binary_expression "iVar9 + 5 + uVar12" (binary_expression "iVar9 + 5" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar9 + 6 + uVar12)" * (cast_expression "(undefined1 *)(iVar9 + 6 + uVar12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 6 + uVar12)" ( (binary_expression "iVar9 + 6 + uVar12" (binary_expression "iVar9 + 6" identifier + number_literal) + identifier) )))) ))))) ;) (expression_statement "memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8);" (call_expression "memcpy((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8)" identifier (argument_list "((void *)(local_44 + uVar8),(void *)(uVar8 + iVar9),local_50 - uVar8)" ( (cast_expression "(void *)(local_44 + uVar8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + uVar8)" ( (binary_expression "local_44 + uVar8" identifier + identifier) ))) , (cast_expression "(void *)(uVar8 + iVar9)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar8 + iVar9)" ( (binary_expression "uVar8 + iVar9" identifier + identifier) ))) , (binary_expression "local_50 - uVar8" identifier - identifier) ))) ;) (expression_statement "__src = (void *)(local_44 + uVar15);" (assignment_expression "__src = (void *)(local_44 + uVar15)" identifier = (cast_expression "(void *)(local_44 + uVar15)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + uVar15)" ( (binary_expression "local_44 + uVar15" identifier + identifier) )))) ;) (expression_statement "local_38 = local_44;" (assignment_expression "local_38 = local_44" identifier = identifier) ;) (goto_statement "goto LAB_00052940;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }" else (compound_statement "{\nLAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);\n        }" { (labeled_statement "LAB_00052940:\n          memcpy((void *)(iVar9 + uVar10),__src,uVar16);" statement_identifier : (expression_statement "memcpy((void *)(iVar9 + uVar10),__src,uVar16);" (call_expression "memcpy((void *)(iVar9 + uVar10),__src,uVar16)" identifier (argument_list "((void *)(iVar9 + uVar10),__src,uVar16)" ( (cast_expression "(void *)(iVar9 + uVar10)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + uVar10)" ( (binary_expression "iVar9 + uVar10" identifier + identifier) ))) , identifier , identifier ))) ;)) }))) (if_statement "if (puVar11 + uVar7 == puVar13) goto LAB_00052c02;" if (parenthesized_expression "(puVar11 + uVar7 == puVar13)" ( (binary_expression "puVar11 + uVar7 == puVar13" (binary_expression "puVar11 + uVar7" identifier + identifier) == identifier) )) (goto_statement "goto LAB_00052c02;" goto statement_identifier ;)) (expression_statement "uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8);" (assignment_expression "uVar15 = (uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8)" identifier = (call_expression "(uint)(ushort)(*puVar13 << 8 | *puVar13 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(*puVar13 << 8 | *puVar13 >> 8)" ( (binary_expression "*puVar13 << 8 | *puVar13 >> 8" (binary_expression "*puVar13 << 8" (pointer_expression "*puVar13" * identifier) << number_literal) | (binary_expression "*puVar13 >> 8" (pointer_expression "*puVar13" * identifier) >> number_literal)) )))) ;) }) while (parenthesized_expression "((uVar1 <= uVar15) &&\n              (puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)))" ( (binary_expression "(uVar1 <= uVar15) &&\n              (puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4))" (parenthesized_expression "(uVar1 <= uVar15)" ( (binary_expression "uVar1 <= uVar15" identifier <= identifier) )) && (parenthesized_expression "(puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4))" ( (comma_expression "puVar5 = puVar13 + 1, local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)" (assignment_expression "puVar5 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) , (comma_expression "local_50 = uVar10, local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)" (assignment_expression "local_50 = uVar10" identifier = identifier) , (comma_expression "local_48 = puVar13,\n              (int)uVar15 <= (int)(uVar14 - 4)" (assignment_expression "local_48 = puVar13" identifier = identifier) , (binary_expression "(int)uVar15 <= (int)(uVar14 - 4)" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)(uVar14 - 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar14 - 4)" ( (binary_expression "uVar14 - 4" identifier - number_literal) ))))))) ))) )) ;) })) (expression_statement "iVar9 = sqlite3CorruptError(0xfc23);" (assignment_expression "iVar9 = sqlite3CorruptError(0xfc23)" identifier = (call_expression "sqlite3CorruptError(0xfc23)" identifier (argument_list "(0xfc23)" ( number_literal )))) ;) (return_statement "return iVar9;" return identifier ;) })) (labeled_statement "LAB_00052c02:\n  *pbVar2 = 0;" statement_identifier : (expression_statement "*pbVar2 = 0;" (assignment_expression "*pbVar2 = 0" (pointer_expression "*pbVar2" * identifier) = number_literal) ;)) (expression_statement "uVar14 = uVar10;" (assignment_expression "uVar14 = uVar10" identifier = identifier) ;) (labeled_statement "LAB_00052c0b:\n  if (uVar10 - uVar1 != (uint)*(ushort *)(iVar6 + 0x14)) {\n    iVar9 = sqlite3CorruptError(0xfc3d);\n    return iVar9;\n  }" statement_identifier : (if_statement "if (uVar10 - uVar1 != (uint)*(ushort *)(iVar6 + 0x14)) {\n    iVar9 = sqlite3CorruptError(0xfc3d);\n    return iVar9;\n  }" if (parenthesized_expression "(uVar10 - uVar1 != (uint)*(ushort *)(iVar6 + 0x14))" ( (binary_expression "uVar10 - uVar1 != (uint)*(ushort *)(iVar6 + 0x14)" (binary_expression "uVar10 - uVar1" identifier - identifier) != (binary_expression "(uint)*(ushort *)(iVar6 + 0x14)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(iVar6 + 0x14)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar9 = sqlite3CorruptError(0xfc3d);\n    return iVar9;\n  }" { (expression_statement "iVar9 = sqlite3CorruptError(0xfc3d);" (assignment_expression "iVar9 = sqlite3CorruptError(0xfc3d)" identifier = (call_expression "sqlite3CorruptError(0xfc3d)" identifier (argument_list "(0xfc3d)" ( number_literal )))) ;) (return_statement "return iVar9;" return identifier ;) }))) (expression_statement "*(char *)(iVar9 + 5 + uVar12) = (char)(uVar14 >> 8);" (assignment_expression "*(char *)(iVar9 + 5 + uVar12) = (char)(uVar14 >> 8)" (pointer_expression "*(char *)(iVar9 + 5 + uVar12)" * (cast_expression "(char *)(iVar9 + 5 + uVar12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 5 + uVar12)" ( (binary_expression "iVar9 + 5 + uVar12" (binary_expression "iVar9 + 5" identifier + number_literal) + identifier) )))) = (cast_expression "(char)(uVar14 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar14 >> 8)" ( (binary_expression "uVar14 >> 8" identifier >> number_literal) )))) ;) (expression_statement "*(char *)(iVar9 + 6 + uVar12) = (char)uVar14;" (assignment_expression "*(char *)(iVar9 + 6 + uVar12) = (char)uVar14" (pointer_expression "*(char *)(iVar9 + 6 + uVar12)" * (cast_expression "(char *)(iVar9 + 6 + uVar12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 6 + uVar12)" ( (binary_expression "iVar9 + 6 + uVar12" (binary_expression "iVar9 + 6" identifier + number_literal) + identifier) )))) = (cast_expression "(char)uVar14" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(undefined1 *)(iVar9 + 1 + uVar12) = 0;" (assignment_expression "*(undefined1 *)(iVar9 + 1 + uVar12) = 0" (pointer_expression "*(undefined1 *)(iVar9 + 1 + uVar12)" * (cast_expression "(undefined1 *)(iVar9 + 1 + uVar12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 1 + uVar12)" ( (binary_expression "iVar9 + 1 + uVar12" (binary_expression "iVar9 + 1" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar9 + 2 + uVar12) = 0;" (assignment_expression "*(undefined1 *)(iVar9 + 2 + uVar12) = 0" (pointer_expression "*(undefined1 *)(iVar9 + 2 + uVar12)" * (cast_expression "(undefined1 *)(iVar9 + 2 + uVar12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 2 + uVar12)" ( (binary_expression "iVar9 + 2 + uVar12" (binary_expression "iVar9 + 2" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "memset((void *)(iVar9 + uVar1),0,uVar14 - uVar1);" (call_expression "memset((void *)(iVar9 + uVar1),0,uVar14 - uVar1)" identifier (argument_list "((void *)(iVar9 + uVar1),0,uVar14 - uVar1)" ( (cast_expression "(void *)(iVar9 + uVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + uVar1)" ( (binary_expression "iVar9 + uVar1" identifier + identifier) ))) , number_literal , (binary_expression "uVar14 - uVar1" identifier - identifier) ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00052870(void)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  ushort uVar3;\n  int iVar4;\n  char cVar5;\n  ushort *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  ushort *puVar12;\n  uint uVar13;\n  void *__src;\n  ushort *puVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  undefined8 uVar18;\n  uint local_50;\n  ushort *local_48;\n  uint local_44;\n  int local_38;\n  \n  uVar18 = FUN_000196fd();\n  iVar7 = (int)uVar18;\n  iVar4 = *(int *)(iVar7 + 0x38);\n  uVar17 = (uint)*(ushort *)(iVar7 + 0x12);\n  uVar8 = (uint)*(ushort *)(iVar7 + 0x16);\n  uVar1 = uVar17 + uVar8 * 2;\n  uVar13 = (uint)*(byte *)(iVar7 + 9);\n  uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);\n  pbVar2 = (byte *)(iVar4 + 7 + uVar13);\n  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }\n  uVar11 = uVar15;\n  if (uVar8 != 0) {\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\nLAB_00052c02:\n  *pbVar2 = 0;\n  uVar15 = uVar11;\nLAB_00052c0b:\n  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\n  *(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);\n  *(char *)(iVar4 + 6 + uVar13) = (char)uVar15;\n  *(undefined1 *)(iVar4 + 1 + uVar13) = 0;\n  *(undefined1 *)(iVar4 + 2 + uVar13) = 0;\n  memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00052870(void)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  ushort uVar3;\n  int iVar4;\n  char cVar5;\n  ushort *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  ushort *puVar12;\n  uint uVar13;\n  void *__src;\n  ushort *puVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  undefined8 uVar18;\n  uint local_50;\n  ushort *local_48;\n  uint local_44;\n  int local_38;\n  \n  uVar18 = FUN_000196fd();\n  iVar7 = (int)uVar18;\n  iVar4 = *(int *)(iVar7 + 0x38);\n  uVar17 = (uint)*(ushort *)(iVar7 + 0x12);\n  uVar8 = (uint)*(ushort *)(iVar7 + 0x16);\n  uVar1 = uVar17 + uVar8 * 2;\n  uVar13 = (uint)*(byte *)(iVar7 + 9);\n  uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);\n  pbVar2 = (byte *)(iVar4 + 7 + uVar13);\n  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }\n  uVar11 = uVar15;\n  if (uVar8 != 0) {\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\nLAB_00052c02:\n  *pbVar2 = 0;\n  uVar15 = uVar11;\nLAB_00052c0b:\n  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\n  *(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);\n  *(char *)(iVar4 + 6 + uVar13) = (char)uVar15;\n  *(undefined1 *)(iVar4 + 1 + uVar13) = 0;\n  *(undefined1 *)(iVar4 + 2 + uVar13) = 0;\n  memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_00052870(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  byte *pbVar2;\n  ushort uVar3;\n  int iVar4;\n  char cVar5;\n  ushort *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  ushort *puVar12;\n  uint uVar13;\n  void *__src;\n  ushort *puVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  undefined8 uVar18;\n  uint local_50;\n  ushort *local_48;\n  uint local_44;\n  int local_38;\n  \n  uVar18 = FUN_000196fd();\n  iVar7 = (int)uVar18;\n  iVar4 = *(int *)(iVar7 + 0x38);\n  uVar17 = (uint)*(ushort *)(iVar7 + 0x12);\n  uVar8 = (uint)*(ushort *)(iVar7 + 0x16);\n  uVar1 = uVar17 + uVar8 * 2;\n  uVar13 = (uint)*(byte *)(iVar7 + 9);\n  uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);\n  pbVar2 = (byte *)(iVar4 + 7 + uVar13);\n  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }\n  uVar11 = uVar15;\n  if (uVar8 != 0) {\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\nLAB_00052c02:\n  *pbVar2 = 0;\n  uVar15 = uVar11;\nLAB_00052c0b:\n  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\n  *(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);\n  *(char *)(iVar4 + 6 + uVar13) = (char)uVar15;\n  *(undefined1 *)(iVar4 + 1 + uVar13) = 0;\n  *(undefined1 *)(iVar4 + 2 + uVar13) = 0;\n  memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "ushort *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "ushort *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "ushort *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "undefined8 uVar18;" type_identifier identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "ushort *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (expression_statement "uVar18 = FUN_000196fd();" (assignment_expression "uVar18 = FUN_000196fd()" identifier = (call_expression "FUN_000196fd()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar7 = (int)uVar18;" (assignment_expression "iVar7 = (int)uVar18" identifier = (cast_expression "(int)uVar18" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar4 = *(int *)(iVar7 + 0x38);" (assignment_expression "iVar4 = *(int *)(iVar7 + 0x38)" identifier = (pointer_expression "*(int *)(iVar7 + 0x38)" * (cast_expression "(int *)(iVar7 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x38)" ( (binary_expression "iVar7 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar17 = (uint)*(ushort *)(iVar7 + 0x12);" (assignment_expression "uVar17 = (uint)*(ushort *)(iVar7 + 0x12)" identifier = (binary_expression "(uint)*(ushort *)(iVar7 + 0x12)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(iVar7 + 0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x12)" ( (binary_expression "iVar7 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = (uint)*(ushort *)(iVar7 + 0x16);" (assignment_expression "uVar8 = (uint)*(ushort *)(iVar7 + 0x16)" identifier = (binary_expression "(uint)*(ushort *)(iVar7 + 0x16)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(iVar7 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x16)" ( (binary_expression "iVar7 + 0x16" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = uVar17 + uVar8 * 2;" (assignment_expression "uVar1 = uVar17 + uVar8 * 2" identifier = (binary_expression "uVar17 + uVar8 * 2" identifier + (binary_expression "uVar8 * 2" identifier * number_literal))) ;) (expression_statement "uVar13 = (uint)*(byte *)(iVar7 + 9);" (assignment_expression "uVar13 = (uint)*(byte *)(iVar7 + 9)" identifier = (binary_expression "(uint)*(byte *)(iVar7 + 9)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar7 + 9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 9)" ( (binary_expression "iVar7 + 9" identifier + number_literal) ))))) ;) (expression_statement "uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);" (assignment_expression "uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24)" identifier = (pointer_expression "*(uint *)(*(int *)(iVar7 + 0x34) + 0x24)" * (cast_expression "(uint *)(*(int *)(iVar7 + 0x34) + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 0x34) + 0x24)" ( (binary_expression "*(int *)(iVar7 + 0x34) + 0x24" (pointer_expression "*(int *)(iVar7 + 0x34)" * (cast_expression "(int *)(iVar7 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x34)" ( (binary_expression "iVar7 + 0x34" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "pbVar2 = (byte *)(iVar4 + 7 + uVar13);" (assignment_expression "pbVar2 = (byte *)(iVar4 + 7 + uVar13)" identifier = (cast_expression "(byte *)(iVar4 + 7 + uVar13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 7 + uVar13)" ( (binary_expression "iVar4 + 7 + uVar13" (binary_expression "iVar4 + 7" identifier + number_literal) + identifier) )))) ;) (if_statement "if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }" if (parenthesized_expression "(((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0))" ( (binary_expression "((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)" (parenthesized_expression "((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20))" ( (binary_expression "(int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)" (binary_expression "(int)(uint)*pbVar2" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) <= (cast_expression "(int)((ulonglong)uVar18 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar18 >> 0x20)" ( (binary_expression "(ulonglong)uVar18 >> 0x20" (cast_expression "(ulonglong)uVar18" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) )) && (parenthesized_expression "(uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)" ( (comma_expression "uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0" (assignment_expression "uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" identifier (argument_list "(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" ( (pointer_expression "*(undefined1 *)(iVar4 + 1 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 1 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 1 + uVar13)" ( (binary_expression "iVar4 + 1 + uVar13" (binary_expression "iVar4 + 1" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 2 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 2 + uVar13)" ( (binary_expression "iVar4 + 2 + uVar13" (binary_expression "iVar4 + 2" identifier + number_literal) + identifier) )))) ))))) , (binary_expression "uVar11 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }" { (expression_statement "uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));" (assignment_expression "uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" identifier (argument_list "(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" ( (pointer_expression "*(undefined1 *)(iVar4 + uVar11)" * (cast_expression "(undefined1 *)(iVar4 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar11)" ( (binary_expression "iVar4 + uVar11" identifier + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 1 + uVar11)" * (cast_expression "(undefined1 *)(iVar4 + 1 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 1 + uVar11)" ( (binary_expression "iVar4 + 1 + uVar11" (binary_expression "iVar4 + 1" identifier + number_literal) + identifier) )))) ))))) ;) (if_statement "if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }" if (parenthesized_expression "((int)(uVar15 - 3) <= (int)uVar16)" ( (binary_expression "(int)(uVar15 - 3) <= (int)uVar16" (cast_expression "(int)(uVar15 - 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar15 - 3)" ( (binary_expression "uVar15 - 3" identifier - number_literal) ))) <= (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }" { (labeled_statement "LAB_00052bcd:\n      uVar10 = FUN_00051360();" statement_identifier : (expression_statement "uVar10 = FUN_00051360();" (assignment_expression "uVar10 = FUN_00051360()" identifier = (call_expression "FUN_00051360()" identifier (argument_list "()" ( )))) ;)) (return_statement "return uVar10;" return identifier ;) })) (if_statement "if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }" if (parenthesized_expression "((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0'))))" ( (binary_expression "(uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))" (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) || (parenthesized_expression "((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))" ( (parenthesized_expression "(*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0'))" ( (binary_expression "*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')" (binary_expression "*(char *)(iVar4 + uVar16) == '\0'" (pointer_expression "*(char *)(iVar4 + uVar16)" * (cast_expression "(char *)(iVar4 + uVar16)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar16)" ( (binary_expression "iVar4 + uVar16" identifier + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(*(char *)(iVar4 + 1 + uVar16) == '\0')" ( (binary_expression "*(char *)(iVar4 + 1 + uVar16) == '\0'" (pointer_expression "*(char *)(iVar4 + 1 + uVar16)" * (cast_expression "(char *)(iVar4 + 1 + uVar16)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 1 + uVar16)" ( (binary_expression "iVar4 + 1 + uVar16" (binary_expression "iVar4 + 1" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }" { (expression_statement "local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));" (assignment_expression "local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" identifier = (cast_expression "(ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" identifier (argument_list "(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" ( (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar11)" * (cast_expression "(undefined1 *)(iVar4 + 2 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 2 + uVar11)" ( (binary_expression "iVar4 + 2 + uVar11" (binary_expression "iVar4 + 2" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 3 + uVar11)" * (cast_expression "(undefined1 *)(iVar4 + 3 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 3 + uVar11)" ( (binary_expression "iVar4 + 3 + uVar11" (binary_expression "iVar4 + 3" identifier + number_literal) + identifier) )))) )))))) ;) (expression_statement "uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );" (assignment_expression "uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" identifier (argument_list "(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" ( (pointer_expression "*(undefined1 *)(iVar4 + 5 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 5 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 5 + uVar13)" ( (binary_expression "iVar4 + 5 + uVar13" (binary_expression "iVar4 + 5" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 6 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 6 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 6 + uVar13)" ( (binary_expression "iVar4 + 6 + uVar13" (binary_expression "iVar4 + 6" identifier + number_literal) + identifier) )))) ))))) ;) (if_statement "if (uVar11 <= uVar8) goto LAB_00052bcd;" if (parenthesized_expression "(uVar11 <= uVar8)" ( (binary_expression "uVar11 <= uVar8" identifier <= identifier) )) (goto_statement "goto LAB_00052bcd;" goto statement_identifier ;)) (if_statement "if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n        local_44 = 0;\n      }" { (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" else (compound_statement "{\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" { (expression_statement "uVar9 = (int)local_48 + uVar11;" (assignment_expression "uVar9 = (int)local_48 + uVar11" identifier = (binary_expression "(int)local_48 + uVar11" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (if_statement "if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;" if (parenthesized_expression "((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44)))" ( (binary_expression "(uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))" (parenthesized_expression "(uVar16 < uVar9)" ( (binary_expression "uVar16 < uVar9" identifier < identifier) )) || (parenthesized_expression "(local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))" ( (comma_expression "local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44)" (assignment_expression "local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" identifier (argument_list "(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" ( (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar16)" * (cast_expression "(undefined1 *)(iVar4 + 2 + uVar16)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 2 + uVar16)" ( (binary_expression "iVar4 + 2 + uVar16" (binary_expression "iVar4 + 2" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 3 + uVar16)" * (cast_expression "(undefined1 *)(iVar4 + 3 + uVar16)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 3 + uVar16)" ( (binary_expression "iVar4 + 3 + uVar16" (binary_expression "iVar4 + 3" identifier + number_literal) + identifier) )))) ))))) , (binary_expression "(int)uVar15 < (int)(uVar16 + local_44)" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)(uVar16 + local_44)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar16 + local_44)" ( (binary_expression "uVar16 + local_44" identifier + identifier) ))))) ))) )) (goto_statement "goto LAB_00052bcd;" goto statement_identifier ;)) (expression_statement "memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);" (call_expression "memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9)" identifier (argument_list "((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9)" ( (cast_expression "(void *)(uVar9 + local_44 + iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar9 + local_44 + iVar4)" ( (binary_expression "uVar9 + local_44 + iVar4" (binary_expression "uVar9 + local_44" identifier + identifier) + identifier) ))) , (cast_expression "(void *)(iVar4 + uVar9)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar9)" ( (binary_expression "iVar4 + uVar9" identifier + identifier) ))) , (binary_expression "uVar16 - uVar9" identifier - identifier) ))) ;) (expression_statement "local_48 = (ushort *)((int)local_48 + local_44);" (assignment_expression "local_48 = (ushort *)((int)local_48 + local_44)" identifier = (cast_expression "(ushort *)((int)local_48 + local_44)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_48 + local_44)" ( (binary_expression "(int)local_48 + local_44" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }))) (expression_statement "uVar15 = (int)local_48 + uVar8;" (assignment_expression "uVar15 = (int)local_48 + uVar8" identifier = (binary_expression "(int)local_48 + uVar8" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);" (call_expression "memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8)" identifier (argument_list "((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8)" ( (cast_expression "(void *)(iVar4 + uVar15)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar15)" ( (binary_expression "iVar4 + uVar15" identifier + identifier) ))) , (cast_expression "(void *)(iVar4 + uVar8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar8)" ( (binary_expression "iVar4 + uVar8" identifier + identifier) ))) , (binary_expression "uVar11 - uVar8" identifier - identifier) ))) ;) (for_statement "for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }" for ( (assignment_expression "puVar12 = (ushort *)(iVar4 + uVar17)" identifier = (cast_expression "(ushort *)(iVar4 + uVar17)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar17)" ( (binary_expression "iVar4 + uVar17" identifier + identifier) )))) ; (binary_expression "puVar12 < (ushort *)(uVar1 + iVar4)" identifier < (cast_expression "(ushort *)(uVar1 + iVar4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar1 + iVar4)" ( (binary_expression "uVar1 + iVar4" identifier + identifier) )))) ; (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ) (compound_statement "{\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }" { (expression_statement "uVar3 = *puVar12;" (assignment_expression "uVar3 = *puVar12" identifier = (pointer_expression "*puVar12" * identifier)) ;) (expression_statement "uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);" (assignment_expression "uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8)" identifier = (call_expression "(uint)(ushort)(uVar3 << 8 | uVar3 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(uVar3 << 8 | uVar3 >> 8)" ( (binary_expression "uVar3 << 8 | uVar3 >> 8" (binary_expression "uVar3 << 8" identifier << number_literal) | (binary_expression "uVar3 >> 8" identifier >> number_literal)) )))) ;) (expression_statement "cVar5 = (char)(uVar3 >> 8);" (assignment_expression "cVar5 = (char)(uVar3 >> 8)" identifier = (cast_expression "(char)(uVar3 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 8)" ( (binary_expression "uVar3 >> 8" identifier >> number_literal) )))) ;) (if_statement "if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" if (parenthesized_expression "(uVar8 < uVar11)" ( (binary_expression "uVar8 < uVar11" identifier < identifier) )) (compound_statement "{\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }" { (expression_statement "*(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);" (assignment_expression "*(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8)" (pointer_expression "*(char *)puVar12" * (cast_expression "(char *)puVar12" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)(uVar8 + (int)local_48 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar8 + (int)local_48 >> 8)" ( (binary_expression "uVar8 + (int)local_48 >> 8" (binary_expression "uVar8 + (int)local_48" identifier + (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) ;) (expression_statement "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;" (assignment_expression "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_48" (pointer_expression "*(char *)((int)puVar12 + 1)" * (cast_expression "(char *)((int)puVar12 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 1)" ( (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "cVar5 + (char)local_48" identifier + (cast_expression "(char)local_48" ( (type_descriptor "char" primitive_type) ) identifier))) ;) }) (else_clause "else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" else (if_statement "if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" if (parenthesized_expression "(uVar8 < uVar16)" ( (binary_expression "uVar8 < uVar16" identifier < identifier) )) (compound_statement "{\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" { (expression_statement "*(char *)puVar12 = (char)(uVar8 + local_44 >> 8);" (assignment_expression "*(char *)puVar12 = (char)(uVar8 + local_44 >> 8)" (pointer_expression "*(char *)puVar12" * (cast_expression "(char *)puVar12" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)(uVar8 + local_44 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar8 + local_44 >> 8)" ( (binary_expression "uVar8 + local_44 >> 8" (binary_expression "uVar8 + local_44" identifier + identifier) >> number_literal) )))) ;) (expression_statement "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;" (assignment_expression "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_44" (pointer_expression "*(char *)((int)puVar12 + 1)" * (cast_expression "(char *)((int)puVar12 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 1)" ( (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "cVar5 + (char)local_44" identifier + (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier))) ;) })))) })) (expression_statement "uVar11 = *pbVar2 + uVar15;" (assignment_expression "uVar11 = *pbVar2 + uVar15" identifier = (binary_expression "*pbVar2 + uVar15" (pointer_expression "*pbVar2" * identifier) + identifier)) ;) (goto_statement "goto LAB_00052c0b;" goto statement_identifier ;) })) })) (expression_statement "uVar11 = uVar15;" (assignment_expression "uVar11 = uVar15" identifier = identifier) ;) (if_statement "if (uVar8 != 0) {\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" { (expression_statement "puVar12 = (ushort *)(iVar4 + uVar17);" (assignment_expression "puVar12 = (ushort *)(iVar4 + uVar17)" identifier = (cast_expression "(ushort *)(iVar4 + uVar17)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar17)" ( (binary_expression "iVar4 + uVar17" identifier + identifier) )))) ;) (expression_statement "uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);" (assignment_expression "uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8)" identifier = (call_expression "(uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(*puVar12 << 8 | *puVar12 >> 8)" ( (binary_expression "*puVar12 << 8 | *puVar12 >> 8" (binary_expression "*puVar12 << 8" (pointer_expression "*puVar12" * identifier) << number_literal) | (binary_expression "*puVar12 >> 8" (pointer_expression "*puVar12" * identifier) >> number_literal)) )))) ;) (if_statement "if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }" if (parenthesized_expression "(((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16))" ( (binary_expression "((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)" (parenthesized_expression "((int)uVar16 <= (int)(uVar15 - 4))" ( (binary_expression "(int)uVar16 <= (int)(uVar15 - 4)" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)(uVar15 - 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar15 - 4)" ( (binary_expression "uVar15 - 4" identifier - number_literal) )))) )) && (parenthesized_expression "(uVar1 <= uVar16)" ( (binary_expression "uVar1 <= uVar16" identifier <= identifier) ))) )) (compound_statement "{\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }" { (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (expression_statement "puVar6 = (ushort *)(iVar4 + 2 + uVar17);" (assignment_expression "puVar6 = (ushort *)(iVar4 + 2 + uVar17)" identifier = (cast_expression "(ushort *)(iVar4 + 2 + uVar17)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 2 + uVar17)" ( (binary_expression "iVar4 + 2 + uVar17" (binary_expression "iVar4 + 2" identifier + number_literal) + identifier) )))) ;) (expression_statement "local_50 = uVar15;" (assignment_expression "local_50 = uVar15" identifier = identifier) ;) (expression_statement "local_48 = puVar12;" (assignment_expression "local_48 = puVar12" identifier = identifier) ;) (expression_statement "local_38 = iVar4;" (assignment_expression "local_38 = iVar4" identifier = identifier) ;) (do_statement "do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));" do (compound_statement "{\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      }" { (expression_statement "puVar14 = puVar6;" (assignment_expression "puVar14 = puVar6" identifier = identifier) ;) (expression_statement "__src = (void *)(local_38 + uVar16);" (assignment_expression "__src = (void *)(local_38 + uVar16)" identifier = (cast_expression "(void *)(local_38 + uVar16)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + uVar16)" ( (binary_expression "local_38 + uVar16" identifier + identifier) )))) ;) (expression_statement "uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);" (assignment_expression "uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src)" identifier = (call_expression "(**(code **)(iVar7 + 0x4c))(iVar7,__src)" (parenthesized_expression "(**(code **)(iVar7 + 0x4c))" ( (pointer_expression "**(code **)(iVar7 + 0x4c)" * (pointer_expression "*(code **)(iVar7 + 0x4c)" * (cast_expression "(code **)(iVar7 + 0x4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x4c)" ( (binary_expression "iVar7 + 0x4c" identifier + number_literal) ))))) )) (argument_list "(iVar7,__src)" ( identifier , identifier )))) ;) (expression_statement "uVar17 = uVar17 & 0xffff;" (assignment_expression "uVar17 = uVar17 & 0xffff" identifier = (binary_expression "uVar17 & 0xffff" identifier & number_literal)) ;) (expression_statement "uVar11 = local_50 - uVar17;" (assignment_expression "uVar11 = local_50 - uVar17" identifier = (binary_expression "local_50 - uVar17" identifier - identifier)) ;) (if_statement "if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;" if (parenthesized_expression "(((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16)))" ( (binary_expression "((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))" (parenthesized_expression "((int)uVar11 < (int)uVar1)" ( (binary_expression "(int)uVar11 < (int)uVar1" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) || (parenthesized_expression "((int)uVar15 < (int)(uVar17 + uVar16))" ( (binary_expression "(int)uVar15 < (int)(uVar17 + uVar16)" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)(uVar17 + uVar16)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar17 + uVar16)" ( (binary_expression "uVar17 + uVar16" identifier + identifier) )))) ))) )) (goto_statement "goto LAB_00052bcd;" goto statement_identifier ;)) (expression_statement "*local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;" (assignment_expression "*local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8" (pointer_expression "*local_48" * identifier) = (binary_expression "(ushort)uVar11 << 8 | (ushort)uVar11 >> 8" (binary_expression "(ushort)uVar11 << 8" (cast_expression "(ushort)uVar11" ( (type_descriptor "ushort" type_identifier) ) identifier) << number_literal) | (binary_expression "(ushort)uVar11 >> 8" (cast_expression "(ushort)uVar11" ( (type_descriptor "ushort" type_identifier) ) identifier) >> number_literal))) ;) (if_statement "if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }" if (parenthesized_expression "(local_44 == 0)" ( (binary_expression "local_44 == 0" identifier == number_literal) )) (compound_statement "{\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }" { (if_statement "if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }" if (parenthesized_expression "(uVar11 != uVar16)" ( (binary_expression "uVar11 != uVar16" identifier != identifier) )) (compound_statement "{\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }" { (expression_statement "local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);" (assignment_expression "local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc)" identifier = (pointer_expression "*(int *)(**(int **)(iVar7 + 0x34) + 0xcc)" * (cast_expression "(int *)(**(int **)(iVar7 + 0x34) + 0xcc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(iVar7 + 0x34) + 0xcc)" ( (binary_expression "**(int **)(iVar7 + 0x34) + 0xcc" (pointer_expression "**(int **)(iVar7 + 0x34)" * (pointer_expression "*(int **)(iVar7 + 0x34)" * (cast_expression "(int **)(iVar7 + 0x34)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x34)" ( (binary_expression "iVar7 + 0x34" identifier + number_literal) ))))) + number_literal) ))))) ;) (expression_statement "uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));" (assignment_expression "uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" identifier (argument_list "(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" ( (pointer_expression "*(undefined1 *)(iVar4 + 5 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 5 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 5 + uVar13)" ( (binary_expression "iVar4 + 5 + uVar13" (binary_expression "iVar4 + 5" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar4 + 6 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 6 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 6 + uVar13)" ( (binary_expression "iVar4 + 6 + uVar13" (binary_expression "iVar4 + 6" identifier + number_literal) + identifier) )))) ))))) ;) (expression_statement "memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);" (call_expression "memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9)" identifier (argument_list "((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9)" ( (cast_expression "(void *)(local_44 + uVar9)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + uVar9)" ( (binary_expression "local_44 + uVar9" identifier + identifier) ))) , (cast_expression "(void *)(uVar9 + iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar9 + iVar4)" ( (binary_expression "uVar9 + iVar4" identifier + identifier) ))) , (binary_expression "local_50 - uVar9" identifier - identifier) ))) ;) (expression_statement "__src = (void *)(local_44 + uVar16);" (assignment_expression "__src = (void *)(local_44 + uVar16)" identifier = (cast_expression "(void *)(local_44 + uVar16)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + uVar16)" ( (binary_expression "local_44 + uVar16" identifier + identifier) )))) ;) (expression_statement "local_38 = local_44;" (assignment_expression "local_38 = local_44" identifier = identifier) ;) (goto_statement "goto LAB_00052940;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }" else (compound_statement "{\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }" { (labeled_statement "LAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);" statement_identifier : (expression_statement "memcpy((void *)(iVar4 + uVar11),__src,uVar17);" (call_expression "memcpy((void *)(iVar4 + uVar11),__src,uVar17)" identifier (argument_list "((void *)(iVar4 + uVar11),__src,uVar17)" ( (cast_expression "(void *)(iVar4 + uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar11)" ( (binary_expression "iVar4 + uVar11" identifier + identifier) ))) , identifier , identifier ))) ;)) }))) (if_statement "if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;" if (parenthesized_expression "(puVar12 + uVar8 == puVar14)" ( (binary_expression "puVar12 + uVar8 == puVar14" (binary_expression "puVar12 + uVar8" identifier + identifier) == identifier) )) (goto_statement "goto LAB_00052c02;" goto statement_identifier ;)) (expression_statement "uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);" (assignment_expression "uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8)" identifier = (call_expression "(uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(*puVar14 << 8 | *puVar14 >> 8)" ( (binary_expression "*puVar14 << 8 | *puVar14 >> 8" (binary_expression "*puVar14 << 8" (pointer_expression "*puVar14" * identifier) << number_literal) | (binary_expression "*puVar14 >> 8" (pointer_expression "*puVar14" * identifier) >> number_literal)) )))) ;) }) while (parenthesized_expression "((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)))" ( (binary_expression "(uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4))" (parenthesized_expression "(uVar1 <= uVar16)" ( (binary_expression "uVar1 <= uVar16" identifier <= identifier) )) && (parenthesized_expression "(puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4))" ( (comma_expression "puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)" (assignment_expression "puVar6 = puVar14 + 1" identifier = (binary_expression "puVar14 + 1" identifier + number_literal)) , (comma_expression "local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)" (assignment_expression "local_50 = uVar11" identifier = identifier) , (comma_expression "local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)" (assignment_expression "local_48 = puVar14" identifier = identifier) , (binary_expression "(int)uVar16 <= (int)(uVar15 - 4)" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)(uVar15 - 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar15 - 4)" ( (binary_expression "uVar15 - 4" identifier - number_literal) ))))))) ))) )) ;) })) (expression_statement "uVar10 = FUN_00051360();" (assignment_expression "uVar10 = FUN_00051360()" identifier = (call_expression "FUN_00051360()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) })) (labeled_statement "LAB_00052c02:\n  *pbVar2 = 0;" statement_identifier : (expression_statement "*pbVar2 = 0;" (assignment_expression "*pbVar2 = 0" (pointer_expression "*pbVar2" * identifier) = number_literal) ;)) (expression_statement "uVar15 = uVar11;" (assignment_expression "uVar15 = uVar11" identifier = identifier) ;) (labeled_statement "LAB_00052c0b:\n  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" statement_identifier : (if_statement "if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" if (parenthesized_expression "(uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14))" ( (binary_expression "uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)" (binary_expression "uVar11 - uVar1" identifier - identifier) != (binary_expression "(uint)*(ushort *)(iVar7 + 0x14)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(iVar7 + 0x14)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" { (expression_statement "uVar10 = FUN_00051360();" (assignment_expression "uVar10 = FUN_00051360()" identifier = (call_expression "FUN_00051360()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) }))) (expression_statement "*(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);" (assignment_expression "*(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8)" (pointer_expression "*(char *)(iVar4 + 5 + uVar13)" * (cast_expression "(char *)(iVar4 + 5 + uVar13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 5 + uVar13)" ( (binary_expression "iVar4 + 5 + uVar13" (binary_expression "iVar4 + 5" identifier + number_literal) + identifier) )))) = (cast_expression "(char)(uVar15 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar15 >> 8)" ( (binary_expression "uVar15 >> 8" identifier >> number_literal) )))) ;) (expression_statement "*(char *)(iVar4 + 6 + uVar13) = (char)uVar15;" (assignment_expression "*(char *)(iVar4 + 6 + uVar13) = (char)uVar15" (pointer_expression "*(char *)(iVar4 + 6 + uVar13)" * (cast_expression "(char *)(iVar4 + 6 + uVar13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 6 + uVar13)" ( (binary_expression "iVar4 + 6 + uVar13" (binary_expression "iVar4 + 6" identifier + number_literal) + identifier) )))) = (cast_expression "(char)uVar15" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(undefined1 *)(iVar4 + 1 + uVar13) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + 1 + uVar13) = 0" (pointer_expression "*(undefined1 *)(iVar4 + 1 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 1 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 1 + uVar13)" ( (binary_expression "iVar4 + 1 + uVar13" (binary_expression "iVar4 + 1" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar4 + 2 + uVar13) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + 2 + uVar13) = 0" (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar13)" * (cast_expression "(undefined1 *)(iVar4 + 2 + uVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 2 + uVar13)" ( (binary_expression "iVar4 + 2 + uVar13" (binary_expression "iVar4 + 2" identifier + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);" (call_expression "memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1)" identifier (argument_list "((void *)(iVar4 + uVar1),0,uVar15 - uVar1)" ( (cast_expression "(void *)(iVar4 + uVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar1)" ( (binary_expression "iVar4 + uVar1" identifier + identifier) ))) , number_literal , (binary_expression "uVar15 - uVar1" identifier - identifier) ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * IDENT) <= (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ))))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) == (char_literal ' escape_sequence ')) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) == (char_literal ' escape_sequence ')) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) )))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ))))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + IDENT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , (binary_expression IDENT - IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , (binary_expression IDENT - IDENT) ))) ;) (for_statement for ( (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ; (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression (binary_expression IDENT << LIT) | (binary_expression IDENT >> LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })))) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression (binary_expression (pointer_expression * IDENT) << LIT) | (binary_expression (pointer_expression * IDENT) >> LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) )) && (parenthesized_expression ( (binary_expression IDENT <= IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) << LIT) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , (binary_expression IDENT - IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , IDENT , IDENT ))) ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression (binary_expression (pointer_expression * IDENT) << LIT) | (binary_expression (pointer_expression * IDENT) >> LIT)) )))) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))))))) ))) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) != (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , LIT , (binary_expression IDENT - IDENT) ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00052870(void)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  ushort uVar3;\n  int iVar4;\n  char cVar5;\n  ushort *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  ushort *puVar12;\n  uint uVar13;\n  void *__src;\n  ushort *puVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  undefined8 uVar18;\n  uint local_50;\n  ushort *local_48;\n  uint local_44;\n  int local_38;\n  \n  uVar18 = FUN_000196fd();\n  iVar7 = (int)uVar18;\n  iVar4 = *(int *)(iVar7 + 0x38);\n  uVar17 = (uint)*(ushort *)(iVar7 + 0x12);\n  uVar8 = (uint)*(ushort *)(iVar7 + 0x16);\n  uVar1 = uVar17 + uVar8 * 2;\n  uVar13 = (uint)*(byte *)(iVar7 + 9);\n  uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);\n  pbVar2 = (byte *)(iVar4 + 7 + uVar13);\n  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }\n  uVar11 = uVar15;\n  if (uVar8 != 0) {\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\nLAB_00052c02:\n  *pbVar2 = 0;\n  uVar15 = uVar11;\nLAB_00052c0b:\n  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\n  *(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);\n  *(char *)(iVar4 + 6 + uVar13) = (char)uVar15;\n  *(undefined1 *)(iVar4 + 1 + uVar13) = 0;\n  *(undefined1 *)(iVar4 + 2 + uVar13) = 0;\n  memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00052870(void)" (identifier "FUN_00052870") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint uVar1;\n  byte *pbVar2;\n  ushort uVar3;\n  int iVar4;\n  char cVar5;\n  ushort *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  ushort *puVar12;\n  uint uVar13;\n  void *__src;\n  ushort *puVar14;\n  uint uVar15;\n  uint uVar16;\n  uint uVar17;\n  undefined8 uVar18;\n  uint local_50;\n  ushort *local_48;\n  uint local_44;\n  int local_38;\n  \n  uVar18 = FUN_000196fd();\n  iVar7 = (int)uVar18;\n  iVar4 = *(int *)(iVar7 + 0x38);\n  uVar17 = (uint)*(ushort *)(iVar7 + 0x12);\n  uVar8 = (uint)*(ushort *)(iVar7 + 0x16);\n  uVar1 = uVar17 + uVar8 * 2;\n  uVar13 = (uint)*(byte *)(iVar7 + 9);\n  uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);\n  pbVar2 = (byte *)(iVar4 + 7 + uVar13);\n  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }\n  uVar11 = uVar15;\n  if (uVar8 != 0) {\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\nLAB_00052c02:\n  *pbVar2 = 0;\n  uVar15 = uVar11;\nLAB_00052c0b:\n  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }\n  *(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);\n  *(char *)(iVar4 + 6 + uVar13) = (char)uVar15;\n  *(undefined1 *)(iVar4 + 1 + uVar13) = 0;\n  *(undefined1 *)(iVar4 + 2 + uVar13) = 0;\n  memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);\n  return 0;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "ushort uVar3;" (type_identifier "ushort") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char cVar5;" (primitive_type "char") (identifier "cVar5") (; ";")) (declaration "ushort *puVar6;" (type_identifier "ushort") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "ushort *puVar12;" (type_identifier "ushort") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "uint uVar13;" (type_identifier "uint") (identifier "uVar13") (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "ushort *puVar14;" (type_identifier "ushort") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "uint uVar15;" (type_identifier "uint") (identifier "uVar15") (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "uint uVar17;" (type_identifier "uint") (identifier "uVar17") (; ";")) (declaration "undefined8 uVar18;" (type_identifier "undefined8") (identifier "uVar18") (; ";")) (declaration "uint local_50;" (type_identifier "uint") (identifier "local_50") (; ";")) (declaration "ushort *local_48;" (type_identifier "ushort") (pointer_declarator "*local_48" (* "*") (identifier "local_48")) (; ";")) (declaration "uint local_44;" (type_identifier "uint") (identifier "local_44") (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (expression_statement "uVar18 = FUN_000196fd();" (assignment_expression "uVar18 = FUN_000196fd()" (identifier "uVar18") (= "=") (call_expression "FUN_000196fd()" (identifier "FUN_000196fd") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar7 = (int)uVar18;" (assignment_expression "iVar7 = (int)uVar18" (identifier "iVar7") (= "=") (cast_expression "(int)uVar18" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar18"))) (; ";")) (expression_statement "iVar4 = *(int *)(iVar7 + 0x38);" (assignment_expression "iVar4 = *(int *)(iVar7 + 0x38)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar7 + 0x38)" (* "*") (cast_expression "(int *)(iVar7 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x38)" (( "(") (binary_expression "iVar7 + 0x38" (identifier "iVar7") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "uVar17 = (uint)*(ushort *)(iVar7 + 0x12);" (assignment_expression "uVar17 = (uint)*(ushort *)(iVar7 + 0x12)" (identifier "uVar17") (= "=") (binary_expression "(uint)*(ushort *)(iVar7 + 0x12)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(iVar7 + 0x12)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x12)" (( "(") (binary_expression "iVar7 + 0x12" (identifier "iVar7") (+ "+") (number_literal "0x12")) () ")"))))) (; ";")) (expression_statement "uVar8 = (uint)*(ushort *)(iVar7 + 0x16);" (assignment_expression "uVar8 = (uint)*(ushort *)(iVar7 + 0x16)" (identifier "uVar8") (= "=") (binary_expression "(uint)*(ushort *)(iVar7 + 0x16)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(iVar7 + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x16)" (( "(") (binary_expression "iVar7 + 0x16" (identifier "iVar7") (+ "+") (number_literal "0x16")) () ")"))))) (; ";")) (expression_statement "uVar1 = uVar17 + uVar8 * 2;" (assignment_expression "uVar1 = uVar17 + uVar8 * 2" (identifier "uVar1") (= "=") (binary_expression "uVar17 + uVar8 * 2" (identifier "uVar17") (+ "+") (binary_expression "uVar8 * 2" (identifier "uVar8") (* "*") (number_literal "2")))) (; ";")) (expression_statement "uVar13 = (uint)*(byte *)(iVar7 + 9);" (assignment_expression "uVar13 = (uint)*(byte *)(iVar7 + 9)" (identifier "uVar13") (= "=") (binary_expression "(uint)*(byte *)(iVar7 + 9)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar7 + 9)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 9)" (( "(") (binary_expression "iVar7 + 9" (identifier "iVar7") (+ "+") (number_literal "9")) () ")"))))) (; ";")) (expression_statement "uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);" (assignment_expression "uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24)" (identifier "uVar15") (= "=") (pointer_expression "*(uint *)(*(int *)(iVar7 + 0x34) + 0x24)" (* "*") (cast_expression "(uint *)(*(int *)(iVar7 + 0x34) + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar7 + 0x34) + 0x24)" (( "(") (binary_expression "*(int *)(iVar7 + 0x34) + 0x24" (pointer_expression "*(int *)(iVar7 + 0x34)" (* "*") (cast_expression "(int *)(iVar7 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x34)" (( "(") (binary_expression "iVar7 + 0x34" (identifier "iVar7") (+ "+") (number_literal "0x34")) () ")")))) (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "pbVar2 = (byte *)(iVar4 + 7 + uVar13);" (assignment_expression "pbVar2 = (byte *)(iVar4 + 7 + uVar13)" (identifier "pbVar2") (= "=") (cast_expression "(byte *)(iVar4 + 7 + uVar13)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 7 + uVar13)" (( "(") (binary_expression "iVar4 + 7 + uVar13" (binary_expression "iVar4 + 7" (identifier "iVar4") (+ "+") (number_literal "7")) (+ "+") (identifier "uVar13")) () ")")))) (; ";")) (if_statement "if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }" (if "if") (parenthesized_expression "(((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0))" (( "(") (binary_expression "((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&\n     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)" (parenthesized_expression "((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20))" (( "(") (binary_expression "(int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)" (binary_expression "(int)(uint)*pbVar2" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (identifier "pbVar2")) (<= "<=") (cast_expression "(int)((ulonglong)uVar18 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar18 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar18 >> 0x20" (cast_expression "(ulonglong)uVar18" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar18")) (>> ">>") (number_literal "0x20")) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)" (( "(") (comma_expression "uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0" (assignment_expression "uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" (identifier "uVar11") (= "=") (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" (identifier "CONCAT11") (argument_list "(*(undefined1 *)(iVar4 + 1 + uVar13),\n                              *(undefined1 *)(iVar4 + 2 + uVar13))" (( "(") (pointer_expression "*(undefined1 *)(iVar4 + 1 + uVar13)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 1 + uVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 1 + uVar13)" (( "(") (binary_expression "iVar4 + 1 + uVar13" (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (+ "+") (identifier "uVar13")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar13)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 2 + uVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 2 + uVar13)" (( "(") (binary_expression "iVar4 + 2 + uVar13" (binary_expression "iVar4 + 2" (identifier "iVar4") (+ "+") (number_literal "2")) (+ "+") (identifier "uVar13")) () ")")))) () ")"))))) (, ",") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));\n    if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }\n    if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }\n  }" ({ "{") (expression_statement "uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));" (assignment_expression "uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" (identifier "uVar16") (= "=") (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" (identifier "CONCAT11") (argument_list "(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11))" (( "(") (pointer_expression "*(undefined1 *)(iVar4 + uVar11)" (* "*") (cast_expression "(undefined1 *)(iVar4 + uVar11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar11)" (( "(") (binary_expression "iVar4 + uVar11" (identifier "iVar4") (+ "+") (identifier "uVar11")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(iVar4 + 1 + uVar11)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 1 + uVar11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 1 + uVar11)" (( "(") (binary_expression "iVar4 + 1 + uVar11" (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (+ "+") (identifier "uVar11")) () ")")))) () ")"))))) (; ";")) (if_statement "if ((int)(uVar15 - 3) <= (int)uVar16) {\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }" (if "if") (parenthesized_expression "((int)(uVar15 - 3) <= (int)uVar16)" (( "(") (binary_expression "(int)(uVar15 - 3) <= (int)uVar16" (cast_expression "(int)(uVar15 - 3)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar15 - 3)" (( "(") (binary_expression "uVar15 - 3" (identifier "uVar15") (- "-") (number_literal "3")) () ")"))) (<= "<=") (cast_expression "(int)uVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar16"))) () ")")) (compound_statement "{\nLAB_00052bcd:\n      uVar10 = FUN_00051360();\n      return uVar10;\n    }" ({ "{") (labeled_statement "LAB_00052bcd:\n      uVar10 = FUN_00051360();" (statement_identifier "LAB_00052bcd") (: ":") (expression_statement "uVar10 = FUN_00051360();" (assignment_expression "uVar10 = FUN_00051360()" (identifier "uVar10") (= "=") (call_expression "FUN_00051360()" (identifier "FUN_00051360") (argument_list "()" (( "(") () ")")))) (; ";"))) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (if_statement "if ((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }" (if "if") (parenthesized_expression "((uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0'))))" (( "(") (binary_expression "(uVar16 == 0) ||\n       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))" (parenthesized_expression "(uVar16 == 0)" (( "(") (binary_expression "uVar16 == 0" (identifier "uVar16") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))" (( "(") (parenthesized_expression "(*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0'))" (( "(") (binary_expression "*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')" (binary_expression "*(char *)(iVar4 + uVar16) == '\0'" (pointer_expression "*(char *)(iVar4 + uVar16)" (* "*") (cast_expression "(char *)(iVar4 + uVar16)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar16)" (( "(") (binary_expression "iVar4 + uVar16" (identifier "iVar4") (+ "+") (identifier "uVar16")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "(*(char *)(iVar4 + 1 + uVar16) == '\0')" (( "(") (binary_expression "*(char *)(iVar4 + 1 + uVar16) == '\0'" (pointer_expression "*(char *)(iVar4 + 1 + uVar16)" (* "*") (cast_expression "(char *)(iVar4 + 1 + uVar16)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 1 + uVar16)" (( "(") (binary_expression "iVar4 + 1 + uVar16" (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (+ "+") (identifier "uVar16")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));\n      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );\n      if (uVar11 <= uVar8) goto LAB_00052bcd;\n      if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }\n      uVar15 = (int)local_48 + uVar8;\n      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);\n      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }\n      uVar11 = *pbVar2 + uVar15;\n      goto LAB_00052c0b;\n    }" ({ "{") (expression_statement "local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11));" (assignment_expression "local_48 = (ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" (identifier "local_48") (= "=") (cast_expression "(ushort *)\n                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" (identifier "CONCAT11") (argument_list "(*(undefined1 *)(iVar4 + 2 + uVar11),\n                                *(undefined1 *)(iVar4 + 3 + uVar11))" (( "(") (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar11)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 2 + uVar11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 2 + uVar11)" (( "(") (binary_expression "iVar4 + 2 + uVar11" (binary_expression "iVar4 + 2" (identifier "iVar4") (+ "+") (number_literal "2")) (+ "+") (identifier "uVar11")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(iVar4 + 3 + uVar11)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 3 + uVar11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 3 + uVar11)" (( "(") (binary_expression "iVar4 + 3 + uVar11" (binary_expression "iVar4 + 3" (identifier "iVar4") (+ "+") (number_literal "3")) (+ "+") (identifier "uVar11")) () ")")))) () ")")))))) (; ";")) (expression_statement "uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            );" (assignment_expression "uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" (identifier "uVar8") (= "=") (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" (identifier "CONCAT11") (argument_list "(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)\n                            )" (( "(") (pointer_expression "*(undefined1 *)(iVar4 + 5 + uVar13)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 5 + uVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 5 + uVar13)" (( "(") (binary_expression "iVar4 + 5 + uVar13" (binary_expression "iVar4 + 5" (identifier "iVar4") (+ "+") (number_literal "5")) (+ "+") (identifier "uVar13")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(iVar4 + 6 + uVar13)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 6 + uVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 6 + uVar13)" (( "(") (binary_expression "iVar4 + 6 + uVar13" (binary_expression "iVar4 + 6" (identifier "iVar4") (+ "+") (number_literal "6")) (+ "+") (identifier "uVar13")) () ")")))) () ")"))))) (; ";")) (if_statement "if (uVar11 <= uVar8) goto LAB_00052bcd;" (if "if") (parenthesized_expression "(uVar11 <= uVar8)" (( "(") (binary_expression "uVar11 <= uVar8" (identifier "uVar11") (<= "<=") (identifier "uVar8")) () ")")) (goto_statement "goto LAB_00052bcd;" (goto "goto") (statement_identifier "LAB_00052bcd") (; ";"))) (if_statement "if (uVar16 == 0) {\n        local_44 = 0;\n      }\n      else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" (if "if") (parenthesized_expression "(uVar16 == 0)" (( "(") (binary_expression "uVar16 == 0" (identifier "uVar16") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_44 = 0;\n      }" ({ "{") (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" (identifier "local_44") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" (else "else") (compound_statement "{\n        uVar9 = (int)local_48 + uVar11;\n        if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;\n        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);\n        local_48 = (ushort *)((int)local_48 + local_44);\n      }" ({ "{") (expression_statement "uVar9 = (int)local_48 + uVar11;" (assignment_expression "uVar9 = (int)local_48 + uVar11" (identifier "uVar9") (= "=") (binary_expression "(int)local_48 + uVar11" (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48")) (+ "+") (identifier "uVar11"))) (; ";")) (if_statement "if ((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;" (if "if") (parenthesized_expression "((uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44)))" (( "(") (binary_expression "(uVar16 < uVar9) ||\n           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))" (parenthesized_expression "(uVar16 < uVar9)" (( "(") (binary_expression "uVar16 < uVar9" (identifier "uVar16") (< "<") (identifier "uVar9")) () ")")) (|| "||") (parenthesized_expression "(local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44))" (( "(") (comma_expression "local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16)),\n           (int)uVar15 < (int)(uVar16 + local_44)" (assignment_expression "local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" (identifier "local_44") (= "=") (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" (identifier "CONCAT11") (argument_list "(*(undefined1 *)(iVar4 + 2 + uVar16),\n                                      *(undefined1 *)(iVar4 + 3 + uVar16))" (( "(") (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar16)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 2 + uVar16)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 2 + uVar16)" (( "(") (binary_expression "iVar4 + 2 + uVar16" (binary_expression "iVar4 + 2" (identifier "iVar4") (+ "+") (number_literal "2")) (+ "+") (identifier "uVar16")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(iVar4 + 3 + uVar16)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 3 + uVar16)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 3 + uVar16)" (( "(") (binary_expression "iVar4 + 3 + uVar16" (binary_expression "iVar4 + 3" (identifier "iVar4") (+ "+") (number_literal "3")) (+ "+") (identifier "uVar16")) () ")")))) () ")"))))) (, ",") (binary_expression "(int)uVar15 < (int)(uVar16 + local_44)" (cast_expression "(int)uVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar15")) (< "<") (cast_expression "(int)(uVar16 + local_44)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar16 + local_44)" (( "(") (binary_expression "uVar16 + local_44" (identifier "uVar16") (+ "+") (identifier "local_44")) () ")"))))) () ")"))) () ")")) (goto_statement "goto LAB_00052bcd;" (goto "goto") (statement_identifier "LAB_00052bcd") (; ";"))) (expression_statement "memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);" (call_expression "memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9)" (identifier "memmove") (argument_list "((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9)" (( "(") (cast_expression "(void *)(uVar9 + local_44 + iVar4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar9 + local_44 + iVar4)" (( "(") (binary_expression "uVar9 + local_44 + iVar4" (binary_expression "uVar9 + local_44" (identifier "uVar9") (+ "+") (identifier "local_44")) (+ "+") (identifier "iVar4")) () ")"))) (, ",") (cast_expression "(void *)(iVar4 + uVar9)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar9)" (( "(") (binary_expression "iVar4 + uVar9" (identifier "iVar4") (+ "+") (identifier "uVar9")) () ")"))) (, ",") (binary_expression "uVar16 - uVar9" (identifier "uVar16") (- "-") (identifier "uVar9")) () ")"))) (; ";")) (expression_statement "local_48 = (ushort *)((int)local_48 + local_44);" (assignment_expression "local_48 = (ushort *)((int)local_48 + local_44)" (identifier "local_48") (= "=") (cast_expression "(ushort *)((int)local_48 + local_44)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_48 + local_44)" (( "(") (binary_expression "(int)local_48 + local_44" (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48")) (+ "+") (identifier "local_44")) () ")")))) (; ";")) (} "}")))) (expression_statement "uVar15 = (int)local_48 + uVar8;" (assignment_expression "uVar15 = (int)local_48 + uVar8" (identifier "uVar15") (= "=") (binary_expression "(int)local_48 + uVar8" (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48")) (+ "+") (identifier "uVar8"))) (; ";")) (expression_statement "memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);" (call_expression "memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8)" (identifier "memmove") (argument_list "((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8)" (( "(") (cast_expression "(void *)(iVar4 + uVar15)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar15)" (( "(") (binary_expression "iVar4 + uVar15" (identifier "iVar4") (+ "+") (identifier "uVar15")) () ")"))) (, ",") (cast_expression "(void *)(iVar4 + uVar8)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar8)" (( "(") (binary_expression "iVar4 + uVar8" (identifier "iVar4") (+ "+") (identifier "uVar8")) () ")"))) (, ",") (binary_expression "uVar11 - uVar8" (identifier "uVar11") (- "-") (identifier "uVar8")) () ")"))) (; ";")) (for_statement "for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);\n          puVar12 = puVar12 + 1) {\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }" (for "for") (( "(") (assignment_expression "puVar12 = (ushort *)(iVar4 + uVar17)" (identifier "puVar12") (= "=") (cast_expression "(ushort *)(iVar4 + uVar17)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar17)" (( "(") (binary_expression "iVar4 + uVar17" (identifier "iVar4") (+ "+") (identifier "uVar17")) () ")")))) (; ";") (binary_expression "puVar12 < (ushort *)(uVar1 + iVar4)" (identifier "puVar12") (< "<") (cast_expression "(ushort *)(uVar1 + iVar4)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar1 + iVar4)" (( "(") (binary_expression "uVar1 + iVar4" (identifier "uVar1") (+ "+") (identifier "iVar4")) () ")")))) (; ";") (assignment_expression "puVar12 = puVar12 + 1" (identifier "puVar12") (= "=") (binary_expression "puVar12 + 1" (identifier "puVar12") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n        uVar3 = *puVar12;\n        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);\n        cVar5 = (char)(uVar3 >> 8);\n        if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }\n      }" ({ "{") (expression_statement "uVar3 = *puVar12;" (assignment_expression "uVar3 = *puVar12" (identifier "uVar3") (= "=") (pointer_expression "*puVar12" (* "*") (identifier "puVar12"))) (; ";")) (expression_statement "uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);" (assignment_expression "uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8)" (identifier "uVar8") (= "=") (call_expression "(uint)(ushort)(uVar3 << 8 | uVar3 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(ushort)" (( "(") (identifier "ushort") () ")"))) (argument_list "(uVar3 << 8 | uVar3 >> 8)" (( "(") (binary_expression "uVar3 << 8 | uVar3 >> 8" (binary_expression "uVar3 << 8" (identifier "uVar3") (<< "<<") (number_literal "8")) (| "|") (binary_expression "uVar3 >> 8" (identifier "uVar3") (>> ">>") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "cVar5 = (char)(uVar3 >> 8);" (assignment_expression "cVar5 = (char)(uVar3 >> 8)" (identifier "cVar5") (= "=") (cast_expression "(char)(uVar3 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar3 >> 8)" (( "(") (binary_expression "uVar3 >> 8" (identifier "uVar3") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (if_statement "if (uVar8 < uVar11) {\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }\n        else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" (if "if") (parenthesized_expression "(uVar8 < uVar11)" (( "(") (binary_expression "uVar8 < uVar11" (identifier "uVar8") (< "<") (identifier "uVar11")) () ")")) (compound_statement "{\n          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;\n        }" ({ "{") (expression_statement "*(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);" (assignment_expression "*(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8)" (pointer_expression "*(char *)puVar12" (* "*") (cast_expression "(char *)puVar12" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) (= "=") (cast_expression "(char)(uVar8 + (int)local_48 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar8 + (int)local_48 >> 8)" (( "(") (binary_expression "uVar8 + (int)local_48 >> 8" (binary_expression "uVar8 + (int)local_48" (identifier "uVar8") (+ "+") (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48"))) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;" (assignment_expression "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_48" (pointer_expression "*(char *)((int)puVar12 + 1)" (* "*") (cast_expression "(char *)((int)puVar12 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar12 + 1)" (( "(") (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar12")) (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "cVar5 + (char)local_48" (identifier "cVar5") (+ "+") (cast_expression "(char)local_48" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_48")))) (; ";")) (} "}")) (else_clause "else if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" (else "else") (if_statement "if (uVar8 < uVar16) {\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" (if "if") (parenthesized_expression "(uVar8 < uVar16)" (( "(") (binary_expression "uVar8 < uVar16" (identifier "uVar8") (< "<") (identifier "uVar16")) () ")")) (compound_statement "{\n          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);\n          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;\n        }" ({ "{") (expression_statement "*(char *)puVar12 = (char)(uVar8 + local_44 >> 8);" (assignment_expression "*(char *)puVar12 = (char)(uVar8 + local_44 >> 8)" (pointer_expression "*(char *)puVar12" (* "*") (cast_expression "(char *)puVar12" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) (= "=") (cast_expression "(char)(uVar8 + local_44 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar8 + local_44 >> 8)" (( "(") (binary_expression "uVar8 + local_44 >> 8" (binary_expression "uVar8 + local_44" (identifier "uVar8") (+ "+") (identifier "local_44")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;" (assignment_expression "*(char *)((int)puVar12 + 1) = cVar5 + (char)local_44" (pointer_expression "*(char *)((int)puVar12 + 1)" (* "*") (cast_expression "(char *)((int)puVar12 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar12 + 1)" (( "(") (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar12")) (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "cVar5 + (char)local_44" (identifier "cVar5") (+ "+") (cast_expression "(char)local_44" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_44")))) (; ";")) (} "}"))))) (} "}"))) (expression_statement "uVar11 = *pbVar2 + uVar15;" (assignment_expression "uVar11 = *pbVar2 + uVar15" (identifier "uVar11") (= "=") (binary_expression "*pbVar2 + uVar15" (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (+ "+") (identifier "uVar15"))) (; ";")) (goto_statement "goto LAB_00052c0b;" (goto "goto") (statement_identifier "LAB_00052c0b") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar11 = uVar15;" (assignment_expression "uVar11 = uVar15" (identifier "uVar11") (= "=") (identifier "uVar15")) (; ";")) (if_statement "if (uVar8 != 0) {\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" (if "if") (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar12 = (ushort *)(iVar4 + uVar17);\n    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);\n    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" ({ "{") (expression_statement "puVar12 = (ushort *)(iVar4 + uVar17);" (assignment_expression "puVar12 = (ushort *)(iVar4 + uVar17)" (identifier "puVar12") (= "=") (cast_expression "(ushort *)(iVar4 + uVar17)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar17)" (( "(") (binary_expression "iVar4 + uVar17" (identifier "iVar4") (+ "+") (identifier "uVar17")) () ")")))) (; ";")) (expression_statement "uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);" (assignment_expression "uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8)" (identifier "uVar16") (= "=") (call_expression "(uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(ushort)" (( "(") (identifier "ushort") () ")"))) (argument_list "(*puVar12 << 8 | *puVar12 >> 8)" (( "(") (binary_expression "*puVar12 << 8 | *puVar12 >> 8" (binary_expression "*puVar12 << 8" (pointer_expression "*puVar12" (* "*") (identifier "puVar12")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*puVar12 >> 8" (pointer_expression "*puVar12" (* "*") (identifier "puVar12")) (>> ">>") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }" (if "if") (parenthesized_expression "(((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16))" (( "(") (binary_expression "((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)" (parenthesized_expression "((int)uVar16 <= (int)(uVar15 - 4))" (( "(") (binary_expression "(int)uVar16 <= (int)(uVar15 - 4)" (cast_expression "(int)uVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar16")) (<= "<=") (cast_expression "(int)(uVar15 - 4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar15 - 4)" (( "(") (binary_expression "uVar15 - 4" (identifier "uVar15") (- "-") (number_literal "4")) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(uVar1 <= uVar16)" (( "(") (binary_expression "uVar1 <= uVar16" (identifier "uVar1") (<= "<=") (identifier "uVar16")) () ")"))) () ")")) (compound_statement "{\n      local_44 = 0;\n      puVar6 = (ushort *)(iVar4 + 2 + uVar17);\n      local_50 = uVar15;\n      local_48 = puVar12;\n      local_38 = iVar4;\n      do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));\n    }" ({ "{") (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" (identifier "local_44") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6 = (ushort *)(iVar4 + 2 + uVar17);" (assignment_expression "puVar6 = (ushort *)(iVar4 + 2 + uVar17)" (identifier "puVar6") (= "=") (cast_expression "(ushort *)(iVar4 + 2 + uVar17)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 2 + uVar17)" (( "(") (binary_expression "iVar4 + 2 + uVar17" (binary_expression "iVar4 + 2" (identifier "iVar4") (+ "+") (number_literal "2")) (+ "+") (identifier "uVar17")) () ")")))) (; ";")) (expression_statement "local_50 = uVar15;" (assignment_expression "local_50 = uVar15" (identifier "local_50") (= "=") (identifier "uVar15")) (; ";")) (expression_statement "local_48 = puVar12;" (assignment_expression "local_48 = puVar12" (identifier "local_48") (= "=") (identifier "puVar12")) (; ";")) (expression_statement "local_38 = iVar4;" (assignment_expression "local_38 = iVar4" (identifier "local_38") (= "=") (identifier "iVar4")) (; ";")) (do_statement "do {\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      } while ((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)));" (do "do") (compound_statement "{\n        puVar14 = puVar6;\n        __src = (void *)(local_38 + uVar16);\n        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);\n        uVar17 = uVar17 & 0xffff;\n        uVar11 = local_50 - uVar17;\n        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;\n        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;\n        if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }\n        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;\n        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);\n      }" ({ "{") (expression_statement "puVar14 = puVar6;" (assignment_expression "puVar14 = puVar6" (identifier "puVar14") (= "=") (identifier "puVar6")) (; ";")) (expression_statement "__src = (void *)(local_38 + uVar16);" (assignment_expression "__src = (void *)(local_38 + uVar16)" (identifier "__src") (= "=") (cast_expression "(void *)(local_38 + uVar16)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_38 + uVar16)" (( "(") (binary_expression "local_38 + uVar16" (identifier "local_38") (+ "+") (identifier "uVar16")) () ")")))) (; ";")) (expression_statement "uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);" (assignment_expression "uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src)" (identifier "uVar17") (= "=") (call_expression "(**(code **)(iVar7 + 0x4c))(iVar7,__src)" (parenthesized_expression "(**(code **)(iVar7 + 0x4c))" (( "(") (pointer_expression "**(code **)(iVar7 + 0x4c)" (* "*") (pointer_expression "*(code **)(iVar7 + 0x4c)" (* "*") (cast_expression "(code **)(iVar7 + 0x4c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar7 + 0x4c)" (( "(") (binary_expression "iVar7 + 0x4c" (identifier "iVar7") (+ "+") (number_literal "0x4c")) () ")"))))) () ")")) (argument_list "(iVar7,__src)" (( "(") (identifier "iVar7") (, ",") (identifier "__src") () ")")))) (; ";")) (expression_statement "uVar17 = uVar17 & 0xffff;" (assignment_expression "uVar17 = uVar17 & 0xffff" (identifier "uVar17") (= "=") (binary_expression "uVar17 & 0xffff" (identifier "uVar17") (& "&") (number_literal "0xffff"))) (; ";")) (expression_statement "uVar11 = local_50 - uVar17;" (assignment_expression "uVar11 = local_50 - uVar17" (identifier "uVar11") (= "=") (binary_expression "local_50 - uVar17" (identifier "local_50") (- "-") (identifier "uVar17"))) (; ";")) (if_statement "if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;" (if "if") (parenthesized_expression "(((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16)))" (( "(") (binary_expression "((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))" (parenthesized_expression "((int)uVar11 < (int)uVar1)" (( "(") (binary_expression "(int)uVar11 < (int)uVar1" (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11")) (< "<") (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1"))) () ")")) (|| "||") (parenthesized_expression "((int)uVar15 < (int)(uVar17 + uVar16))" (( "(") (binary_expression "(int)uVar15 < (int)(uVar17 + uVar16)" (cast_expression "(int)uVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar15")) (< "<") (cast_expression "(int)(uVar17 + uVar16)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar17 + uVar16)" (( "(") (binary_expression "uVar17 + uVar16" (identifier "uVar17") (+ "+") (identifier "uVar16")) () ")")))) () ")"))) () ")")) (goto_statement "goto LAB_00052bcd;" (goto "goto") (statement_identifier "LAB_00052bcd") (; ";"))) (expression_statement "*local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;" (assignment_expression "*local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8" (pointer_expression "*local_48" (* "*") (identifier "local_48")) (= "=") (binary_expression "(ushort)uVar11 << 8 | (ushort)uVar11 >> 8" (binary_expression "(ushort)uVar11 << 8" (cast_expression "(ushort)uVar11" (( "(") (type_descriptor "ushort" (type_identifier "ushort")) () ")") (identifier "uVar11")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "(ushort)uVar11 >> 8" (cast_expression "(ushort)uVar11" (( "(") (type_descriptor "ushort" (type_identifier "ushort")) () ")") (identifier "uVar11")) (>> ">>") (number_literal "8")))) (; ";")) (if_statement "if (local_44 == 0) {\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }\n        else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }" (if "if") (parenthesized_expression "(local_44 == 0)" (( "(") (binary_expression "local_44 == 0" (identifier "local_44") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }\n        }" ({ "{") (if_statement "if (uVar11 != uVar16) {\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }" (if "if") (parenthesized_expression "(uVar11 != uVar16)" (( "(") (binary_expression "uVar11 != uVar16" (identifier "uVar11") (!= "!=") (identifier "uVar16")) () ")")) (compound_statement "{\n            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);\n            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));\n            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);\n            __src = (void *)(local_44 + uVar16);\n            local_38 = local_44;\n            goto LAB_00052940;\n          }" ({ "{") (expression_statement "local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);" (assignment_expression "local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc)" (identifier "local_44") (= "=") (pointer_expression "*(int *)(**(int **)(iVar7 + 0x34) + 0xcc)" (* "*") (cast_expression "(int *)(**(int **)(iVar7 + 0x34) + 0xcc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(**(int **)(iVar7 + 0x34) + 0xcc)" (( "(") (binary_expression "**(int **)(iVar7 + 0x34) + 0xcc" (pointer_expression "**(int **)(iVar7 + 0x34)" (* "*") (pointer_expression "*(int **)(iVar7 + 0x34)" (* "*") (cast_expression "(int **)(iVar7 + 0x34)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar7 + 0x34)" (( "(") (binary_expression "iVar7 + 0x34" (identifier "iVar7") (+ "+") (number_literal "0x34")) () ")"))))) (+ "+") (number_literal "0xcc")) () ")"))))) (; ";")) (expression_statement "uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13));" (assignment_expression "uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" (identifier "uVar9") (= "=") (cast_expression "(uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" (identifier "CONCAT11") (argument_list "(*(undefined1 *)(iVar4 + 5 + uVar13),\n                                   *(undefined1 *)(iVar4 + 6 + uVar13))" (( "(") (pointer_expression "*(undefined1 *)(iVar4 + 5 + uVar13)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 5 + uVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 5 + uVar13)" (( "(") (binary_expression "iVar4 + 5 + uVar13" (binary_expression "iVar4 + 5" (identifier "iVar4") (+ "+") (number_literal "5")) (+ "+") (identifier "uVar13")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(iVar4 + 6 + uVar13)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 6 + uVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 6 + uVar13)" (( "(") (binary_expression "iVar4 + 6 + uVar13" (binary_expression "iVar4 + 6" (identifier "iVar4") (+ "+") (number_literal "6")) (+ "+") (identifier "uVar13")) () ")")))) () ")"))))) (; ";")) (expression_statement "memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);" (call_expression "memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9)" (identifier "memcpy") (argument_list "((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9)" (( "(") (cast_expression "(void *)(local_44 + uVar9)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_44 + uVar9)" (( "(") (binary_expression "local_44 + uVar9" (identifier "local_44") (+ "+") (identifier "uVar9")) () ")"))) (, ",") (cast_expression "(void *)(uVar9 + iVar4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar9 + iVar4)" (( "(") (binary_expression "uVar9 + iVar4" (identifier "uVar9") (+ "+") (identifier "iVar4")) () ")"))) (, ",") (binary_expression "local_50 - uVar9" (identifier "local_50") (- "-") (identifier "uVar9")) () ")"))) (; ";")) (expression_statement "__src = (void *)(local_44 + uVar16);" (assignment_expression "__src = (void *)(local_44 + uVar16)" (identifier "__src") (= "=") (cast_expression "(void *)(local_44 + uVar16)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_44 + uVar16)" (( "(") (binary_expression "local_44 + uVar16" (identifier "local_44") (+ "+") (identifier "uVar16")) () ")")))) (; ";")) (expression_statement "local_38 = local_44;" (assignment_expression "local_38 = local_44" (identifier "local_38") (= "=") (identifier "local_44")) (; ";")) (goto_statement "goto LAB_00052940;" (goto "goto") (statement_identifier "LAB_00052940") (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }" (else "else") (compound_statement "{\nLAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);\n        }" ({ "{") (labeled_statement "LAB_00052940:\n          memcpy((void *)(iVar4 + uVar11),__src,uVar17);" (statement_identifier "LAB_00052940") (: ":") (expression_statement "memcpy((void *)(iVar4 + uVar11),__src,uVar17);" (call_expression "memcpy((void *)(iVar4 + uVar11),__src,uVar17)" (identifier "memcpy") (argument_list "((void *)(iVar4 + uVar11),__src,uVar17)" (( "(") (cast_expression "(void *)(iVar4 + uVar11)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar11)" (( "(") (binary_expression "iVar4 + uVar11" (identifier "iVar4") (+ "+") (identifier "uVar11")) () ")"))) (, ",") (identifier "__src") (, ",") (identifier "uVar17") () ")"))) (; ";"))) (} "}")))) (if_statement "if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;" (if "if") (parenthesized_expression "(puVar12 + uVar8 == puVar14)" (( "(") (binary_expression "puVar12 + uVar8 == puVar14" (binary_expression "puVar12 + uVar8" (identifier "puVar12") (+ "+") (identifier "uVar8")) (== "==") (identifier "puVar14")) () ")")) (goto_statement "goto LAB_00052c02;" (goto "goto") (statement_identifier "LAB_00052c02") (; ";"))) (expression_statement "uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);" (assignment_expression "uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8)" (identifier "uVar16") (= "=") (call_expression "(uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(ushort)" (( "(") (identifier "ushort") () ")"))) (argument_list "(*puVar14 << 8 | *puVar14 >> 8)" (( "(") (binary_expression "*puVar14 << 8 | *puVar14 >> 8" (binary_expression "*puVar14 << 8" (pointer_expression "*puVar14" (* "*") (identifier "puVar14")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*puVar14 >> 8" (pointer_expression "*puVar14" (* "*") (identifier "puVar14")) (>> ">>") (number_literal "8"))) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)))" (( "(") (binary_expression "(uVar1 <= uVar16) &&\n              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4))" (parenthesized_expression "(uVar1 <= uVar16)" (( "(") (binary_expression "uVar1 <= uVar16" (identifier "uVar1") (<= "<=") (identifier "uVar16")) () ")")) (&& "&&") (parenthesized_expression "(puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4))" (( "(") (comma_expression "puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)" (assignment_expression "puVar6 = puVar14 + 1" (identifier "puVar6") (= "=") (binary_expression "puVar14 + 1" (identifier "puVar14") (+ "+") (number_literal "1"))) (, ",") (comma_expression "local_50 = uVar11, local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)" (assignment_expression "local_50 = uVar11" (identifier "local_50") (= "=") (identifier "uVar11")) (, ",") (comma_expression "local_48 = puVar14,\n              (int)uVar16 <= (int)(uVar15 - 4)" (assignment_expression "local_48 = puVar14" (identifier "local_48") (= "=") (identifier "puVar14")) (, ",") (binary_expression "(int)uVar16 <= (int)(uVar15 - 4)" (cast_expression "(int)uVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar16")) (<= "<=") (cast_expression "(int)(uVar15 - 4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar15 - 4)" (( "(") (binary_expression "uVar15 - 4" (identifier "uVar15") (- "-") (number_literal "4")) () ")"))))))) () ")"))) () ")")) (; ";")) (} "}"))) (expression_statement "uVar10 = FUN_00051360();" (assignment_expression "uVar10 = FUN_00051360()" (identifier "uVar10") (= "=") (call_expression "FUN_00051360()" (identifier "FUN_00051360") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (labeled_statement "LAB_00052c02:\n  *pbVar2 = 0;" (statement_identifier "LAB_00052c02") (: ":") (expression_statement "*pbVar2 = 0;" (assignment_expression "*pbVar2 = 0" (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "uVar15 = uVar11;" (assignment_expression "uVar15 = uVar11" (identifier "uVar15") (= "=") (identifier "uVar11")) (; ";")) (labeled_statement "LAB_00052c0b:\n  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" (statement_identifier "LAB_00052c0b") (: ":") (if_statement "if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" (if "if") (parenthesized_expression "(uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14))" (( "(") (binary_expression "uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)" (binary_expression "uVar11 - uVar1" (identifier "uVar11") (- "-") (identifier "uVar1")) (!= "!=") (binary_expression "(uint)*(ushort *)(iVar7 + 0x14)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(iVar7 + 0x14)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x14)" (( "(") (binary_expression "iVar7 + 0x14" (identifier "iVar7") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    uVar10 = FUN_00051360();\n    return uVar10;\n  }" ({ "{") (expression_statement "uVar10 = FUN_00051360();" (assignment_expression "uVar10 = FUN_00051360()" (identifier "uVar10") (= "=") (call_expression "FUN_00051360()" (identifier "FUN_00051360") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}")))) (expression_statement "*(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);" (assignment_expression "*(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8)" (pointer_expression "*(char *)(iVar4 + 5 + uVar13)" (* "*") (cast_expression "(char *)(iVar4 + 5 + uVar13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 5 + uVar13)" (( "(") (binary_expression "iVar4 + 5 + uVar13" (binary_expression "iVar4 + 5" (identifier "iVar4") (+ "+") (number_literal "5")) (+ "+") (identifier "uVar13")) () ")")))) (= "=") (cast_expression "(char)(uVar15 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar15 >> 8)" (( "(") (binary_expression "uVar15 >> 8" (identifier "uVar15") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "*(char *)(iVar4 + 6 + uVar13) = (char)uVar15;" (assignment_expression "*(char *)(iVar4 + 6 + uVar13) = (char)uVar15" (pointer_expression "*(char *)(iVar4 + 6 + uVar13)" (* "*") (cast_expression "(char *)(iVar4 + 6 + uVar13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 6 + uVar13)" (( "(") (binary_expression "iVar4 + 6 + uVar13" (binary_expression "iVar4 + 6" (identifier "iVar4") (+ "+") (number_literal "6")) (+ "+") (identifier "uVar13")) () ")")))) (= "=") (cast_expression "(char)uVar15" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar15"))) (; ";")) (expression_statement "*(undefined1 *)(iVar4 + 1 + uVar13) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + 1 + uVar13) = 0" (pointer_expression "*(undefined1 *)(iVar4 + 1 + uVar13)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 1 + uVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 1 + uVar13)" (( "(") (binary_expression "iVar4 + 1 + uVar13" (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (+ "+") (identifier "uVar13")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(iVar4 + 2 + uVar13) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + 2 + uVar13) = 0" (pointer_expression "*(undefined1 *)(iVar4 + 2 + uVar13)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 2 + uVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 2 + uVar13)" (( "(") (binary_expression "iVar4 + 2 + uVar13" (binary_expression "iVar4 + 2" (identifier "iVar4") (+ "+") (number_literal "2")) (+ "+") (identifier "uVar13")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);" (call_expression "memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1)" (identifier "memset") (argument_list "((void *)(iVar4 + uVar1),0,uVar15 - uVar1)" (( "(") (cast_expression "(void *)(iVar4 + uVar1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar1)" (( "(") (binary_expression "iVar4 + uVar1" (identifier "iVar4") (+ "+") (identifier "uVar1")) () ")"))) (, ",") (number_literal "0") (, ",") (binary_expression "uVar15 - uVar1" (identifier "uVar15") (- "-") (identifier "uVar1")) () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(type_1 *pPage,int nMaxFrag)

{
  type_2 var_17;
  type_3 *var_7;
  type_4 var_18;
  char var_19;
  type_4 *puVar5;
  int var_2;
  type_2 var_4;
  type_2 var_12;
  int lineno;
  int var_5;
  type_2 var_9;
  type_4 *var_16;
  type_2 var_6;
  void *__src;
  type_4 *var_23;
  type_2 var_10;
  type_2 var_11;
  type_2 var_3;
  type_5 uVar17;
  type_2 var_21;
  type_4 *local_48;
  type_2 var_14;
  int var_20;
  
  uVar17 = var_1();
  var_2 = (int)uVar17;
  var_5 = *(int *)(var_2 + 0x38);
  var_3 = (type_2)*(type_4 *)(var_2 + 0x12);
  var_4 = (type_2)*(type_4 *)(var_2 + 0x16);
  var_17 = var_3 + var_4 * 2;
  var_6 = (type_2)*(type_3 *)(var_2 + 9);
  var_10 = *(type_2 *)(*(int *)(var_2 + 0x34) + 0x24);
  var_7 = (type_3 *)(var_5 + 7 + var_6);
  if (((int)(type_2)*var_7 <= (int)((type_6)uVar17 >> 0x20)) &&
     (var_9 = (type_2)var_8(*(type_7 *)(var_5 + 1 + var_6),
                              *(type_7 *)(var_5 + 2 + var_6)), var_9 != 0)) {
    var_11 = (type_2)var_8(*(type_7 *)(var_5 + var_9),*(type_7 *)(var_5 + 1 + var_9));
    if ((int)(var_10 - 3) <= (int)var_11) {
      lineno = 0xfbf9;
      goto LAB_00052bcd;
    }
    if ((var_11 == 0) ||
       ((*(char *)(var_5 + var_11) == '\0' && (*(char *)(var_5 + 1 + var_11) == '\0')))) {
      local_48 = (type_4 *)
                 (type_2)var_8(*(type_7 *)(var_5 + 2 + var_9),
                                *(type_7 *)(var_5 + 3 + var_9));
      var_4 = (type_2)var_8(*(type_7 *)(var_5 + 5 + var_6),*(type_7 *)(var_5 + 6 + var_6)
                            );
      lineno = 0xfc01;
      if (var_9 <= var_4) goto LAB_00052bcd;
      if (var_11 == 0) {
        var_14 = 0;
      }
      else {
        var_12 = (int)local_48 + var_9;
        if (var_11 < var_12) {
          lineno = 0xfc04;
LAB_00052bcd:
          var_5 = var_13(lineno);
          return var_5;
        }
        var_14 = (type_2)var_8(*(type_7 *)(var_5 + 2 + var_11),
                                  *(type_7 *)(var_5 + 3 + var_11));
        if ((int)var_10 < (int)(var_11 + var_14)) {
          lineno = 0xfc06;
          goto LAB_00052bcd;
        }
        var_15((void *)(var_12 + var_14 + var_5),(void *)(var_5 + var_12),var_11 - var_12);
        local_48 = (type_4 *)((int)local_48 + var_14);
      }
      var_10 = (int)local_48 + var_4;
      var_15((void *)(var_5 + var_10),(void *)(var_5 + var_4),var_9 - var_4);
      for (var_16 = (type_4 *)(var_5 + var_3); var_16 < (type_4 *)(var_17 + var_5);
          var_16 = var_16 + 1) {
        var_18 = *var_16;
        var_4 = (type_2)(type_4)(var_18 << 8 | var_18 >> 8);
        var_19 = (char)(var_18 >> 8);
        if (var_4 < var_9) {
          *(char *)var_16 = (char)(var_4 + (int)local_48 >> 8);
          *(char *)((int)var_16 + 1) = var_19 + (char)local_48;
        }
        else if (var_4 < var_11) {
          *(char *)var_16 = (char)(var_4 + var_14 >> 8);
          *(char *)((int)var_16 + 1) = var_19 + (char)var_14;
        }
      }
      var_9 = *var_7 + var_10;
      goto LAB_00052c0b;
    }
  }
  var_9 = var_10;
  if (var_4 != 0) {
    var_16 = (type_4 *)(var_5 + var_3);
    var_11 = (type_2)(type_4)(*var_16 << 8 | *var_16 >> 8);
    if (((int)var_11 <= (int)(var_10 - 4)) && (var_17 <= var_11)) {
      var_14 = 0;
      puVar5 = (type_4 *)(var_5 + 2 + var_3);
      var_21 = var_10;
      local_48 = var_16;
      var_20 = var_5;
      do {
        var_23 = puVar5;
        __src = (void *)(var_20 + var_11);
        var_3 = (**(type_8 **)(var_2 + 0x4c))(var_2,__src);
        var_3 = var_3 & 0xffff;
        var_9 = var_21 - var_3;
        if (((int)var_9 < (int)var_17) || ((int)var_10 < (int)(var_3 + var_11))) {
          lineno = 0xfc29;
          goto LAB_00052bcd;
        }
        *local_48 = (type_4)var_9 << 8 | (type_4)var_9 >> 8;
        if (var_14 == 0) {
          if (var_9 != var_11) {
            var_14 = *(int *)(**(int **)(var_2 + 0x34) + 0xcc);
            var_12 = (type_2)var_8(*(type_7 *)(var_5 + 5 + var_6),
                                   *(type_7 *)(var_5 + 6 + var_6));
            var_22((void *)(var_14 + var_12),(void *)(var_12 + var_5),var_21 - var_12);
            __src = (void *)(var_14 + var_11);
            var_20 = var_14;
            goto LAB_00052940;
          }
        }
        else {
LAB_00052940:
          var_22((void *)(var_5 + var_9),__src,var_3);
        }
        if (var_16 + var_4 == var_23) goto LAB_00052c02;
        var_11 = (type_2)(type_4)(*var_23 << 8 | *var_23 >> 8);
      } while ((var_17 <= var_11) &&
              (puVar5 = var_23 + 1, var_21 = var_9, local_48 = var_23,
              (int)var_11 <= (int)(var_10 - 4)));
    }
    var_5 = var_13(0xfc23);
    return var_5;
  }
LAB_00052c02:
  *var_7 = 0;
  var_10 = var_9;
LAB_00052c0b:
  if (var_9 - var_17 != (type_2)*(type_4 *)(var_2 + 0x14)) {
    var_5 = var_13(0xfc3d);
    return var_5;
  }
  *(char *)(var_5 + 5 + var_6) = (char)(var_10 >> 8);
  *(char *)(var_5 + 6 + var_6) = (char)var_10;
  *(type_7 *)(var_5 + 1 + var_6) = 0;
  *(type_7 *)(var_5 + 2 + var_6) = 0;
  var_24((void *)(var_5 + var_17),0,var_10 - var_17);
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (identifier))) right: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (char_literal (escape_sequence))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (char_literal (escape_sequence))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))))))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (binary_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: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (binary_expression left: (identifier) right: (identifier))))) (for_statement initializer: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) condition: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)))))) (expression_statement (assignment_expression left: (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: (identifier)) right: (number_literal))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (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: (identifier)) right: (number_literal))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) 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: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (binary_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (identifier) (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))) condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (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: (binary_expression left: (identifier) right: (number_literal)) right: (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: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (number_literal) (binary_expression left: (identifier) right: (identifier))))) (return_statement (number_literal)))))

undefined4 MASKED(void)

{
  uint uVar1;
  byte *pbVar2;
  ushort uVar3;
  int iVar4;
  char cVar5;
  ushort *puVar6;
  int iVar7;
  uint uVar8;
  uint uVar9;
  undefined4 uVar10;
  uint uVar11;
  ushort *puVar12;
  uint uVar13;
  void *__src;
  ushort *puVar14;
  uint uVar15;
  uint uVar16;
  uint uVar17;
  undefined8 uVar18;
  uint local_50;
  ushort *local_48;
  uint local_44;
  int local_38;
  
  uVar18 = FUN_000196fd();
  iVar7 = (int)uVar18;
  iVar4 = *(int *)(iVar7 + 0x38);
  uVar17 = (uint)*(ushort *)(iVar7 + 0x12);
  uVar8 = (uint)*(ushort *)(iVar7 + 0x16);
  uVar1 = uVar17 + uVar8 * 2;
  uVar13 = (uint)*(byte *)(iVar7 + 9);
  uVar15 = *(uint *)(*(int *)(iVar7 + 0x34) + 0x24);
  pbVar2 = (byte *)(iVar4 + 7 + uVar13);
  if (((int)(uint)*pbVar2 <= (int)((ulonglong)uVar18 >> 0x20)) &&
     (uVar11 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 1 + uVar13),
                              *(undefined1 *)(iVar4 + 2 + uVar13)), uVar11 != 0)) {
    uVar16 = (uint)CONCAT11(*(undefined1 *)(iVar4 + uVar11),*(undefined1 *)(iVar4 + 1 + uVar11));
    if ((int)(uVar15 - 3) <= (int)uVar16) {
LAB_00052bcd:
      uVar10 = FUN_00051360();
      return uVar10;
    }
    if ((uVar16 == 0) ||
       ((*(char *)(iVar4 + uVar16) == '\0' && (*(char *)(iVar4 + 1 + uVar16) == '\0')))) {
      local_48 = (ushort *)
                 (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar11),
                                *(undefined1 *)(iVar4 + 3 + uVar11));
      uVar8 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),*(undefined1 *)(iVar4 + 6 + uVar13)
                            );
      if (uVar11 <= uVar8) goto LAB_00052bcd;
      if (uVar16 == 0) {
        local_44 = 0;
      }
      else {
        uVar9 = (int)local_48 + uVar11;
        if ((uVar16 < uVar9) ||
           (local_44 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 2 + uVar16),
                                      *(undefined1 *)(iVar4 + 3 + uVar16)),
           (int)uVar15 < (int)(uVar16 + local_44))) goto LAB_00052bcd;
        memmove((void *)(uVar9 + local_44 + iVar4),(void *)(iVar4 + uVar9),uVar16 - uVar9);
        local_48 = (ushort *)((int)local_48 + local_44);
      }
      uVar15 = (int)local_48 + uVar8;
      memmove((void *)(iVar4 + uVar15),(void *)(iVar4 + uVar8),uVar11 - uVar8);
      for (puVar12 = (ushort *)(iVar4 + uVar17); puVar12 < (ushort *)(uVar1 + iVar4);
          puVar12 = puVar12 + 1) {
        uVar3 = *puVar12;
        uVar8 = (uint)(ushort)(uVar3 << 8 | uVar3 >> 8);
        cVar5 = (char)(uVar3 >> 8);
        if (uVar8 < uVar11) {
          *(char *)puVar12 = (char)(uVar8 + (int)local_48 >> 8);
          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_48;
        }
        else if (uVar8 < uVar16) {
          *(char *)puVar12 = (char)(uVar8 + local_44 >> 8);
          *(char *)((int)puVar12 + 1) = cVar5 + (char)local_44;
        }
      }
      uVar11 = *pbVar2 + uVar15;
      goto LAB_00052c0b;
    }
  }
  uVar11 = uVar15;
  if (uVar8 != 0) {
    puVar12 = (ushort *)(iVar4 + uVar17);
    uVar16 = (uint)(ushort)(*puVar12 << 8 | *puVar12 >> 8);
    if (((int)uVar16 <= (int)(uVar15 - 4)) && (uVar1 <= uVar16)) {
      local_44 = 0;
      puVar6 = (ushort *)(iVar4 + 2 + uVar17);
      local_50 = uVar15;
      local_48 = puVar12;
      local_38 = iVar4;
      do {
        puVar14 = puVar6;
        __src = (void *)(local_38 + uVar16);
        uVar17 = (**(code **)(iVar7 + 0x4c))(iVar7,__src);
        uVar17 = uVar17 & 0xffff;
        uVar11 = local_50 - uVar17;
        if (((int)uVar11 < (int)uVar1) || ((int)uVar15 < (int)(uVar17 + uVar16))) goto LAB_00052bcd;
        *local_48 = (ushort)uVar11 << 8 | (ushort)uVar11 >> 8;
        if (local_44 == 0) {
          if (uVar11 != uVar16) {
            local_44 = *(int *)(**(int **)(iVar7 + 0x34) + 0xcc);
            uVar9 = (uint)CONCAT11(*(undefined1 *)(iVar4 + 5 + uVar13),
                                   *(undefined1 *)(iVar4 + 6 + uVar13));
            memcpy((void *)(local_44 + uVar9),(void *)(uVar9 + iVar4),local_50 - uVar9);
            __src = (void *)(local_44 + uVar16);
            local_38 = local_44;
            goto LAB_00052940;
          }
        }
        else {
LAB_00052940:
          memcpy((void *)(iVar4 + uVar11),__src,uVar17);
        }
        if (puVar12 + uVar8 == puVar14) goto LAB_00052c02;
        uVar16 = (uint)(ushort)(*puVar14 << 8 | *puVar14 >> 8);
      } while ((uVar1 <= uVar16) &&
              (puVar6 = puVar14 + 1, local_50 = uVar11, local_48 = puVar14,
              (int)uVar16 <= (int)(uVar15 - 4)));
    }
    uVar10 = FUN_00051360();
    return uVar10;
  }
LAB_00052c02:
  *pbVar2 = 0;
  uVar15 = uVar11;
LAB_00052c0b:
  if (uVar11 - uVar1 != (uint)*(ushort *)(iVar7 + 0x14)) {
    uVar10 = FUN_00051360();
    return uVar10;
  }
  *(char *)(iVar4 + 5 + uVar13) = (char)(uVar15 >> 8);
  *(char *)(iVar4 + 6 + uVar13) = (char)uVar15;
  *(undefined1 *)(iVar4 + 1 + uVar13) = 0;
  *(undefined1 *)(iVar4 + 2 + uVar13) = 0;
  memset((void *)(iVar4 + uVar1),0,uVar15 - uVar1);
  return 0;
}

