
/* WARNING: Type propagation algorithm not settling */

char * two_way_long_needle(uchar *haystack,size_t haystack_len,uchar *needle,size_t needle_len)

{
  byte bVar1;
  size_t sVar2;
  int iVar3;
  size_t *psVar4;
  byte *pbVar5;
  int iVar6;
  void *pvVar7;
  uchar *puVar8;
  uchar *puVar9;
  uint uVar10;
  byte *needle_00;
  size_t sVar11;
  uchar *puVar12;
  uchar *puVar13;
  uchar *puVar14;
  int in_GS_OFFSET;
  undefined8 uVar15;
  uchar *local_44c;
  uchar *local_43c;
  size_t period;
  size_t shift_table [256];
  size_t local_20 [4];
  
  uVar15 = __x86_get_pc_thunk_di();
  puVar9 = (uchar *)((ulonglong)uVar15 >> 0x20);
  iVar3 = (int)uVar15;
  local_20[0] = *(size_t *)(in_GS_OFFSET + 0x14);
  if (haystack < (uchar *)0x3) {
    local_43c = haystack + -1;
    period = 1;
  }
  else {
    local_43c = (uchar *)critical_factorization(needle_00,(size_t)haystack,&period);
  }
  sVar2 = period;
  psVar4 = shift_table;
  do {
    *psVar4 = (size_t)haystack;
    psVar4 = psVar4 + 1;
  } while (local_20 != psVar4);
  if (haystack == (uchar *)0x0) {
    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);
    if (iVar6 == 0) goto LAB_00033cb8;
  }
  else {
    puVar13 = haystack + -1;
    pbVar5 = needle_00;
    do {
      bVar1 = *pbVar5;
      sVar11 = (int)(needle_00 + (int)puVar13) - (int)pbVar5;
      pbVar5 = pbVar5 + 1;
      shift_table[bVar1] = sVar11;
    } while (haystack + (int)needle_00 != pbVar5);
    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);
    if (iVar6 == 0) {
      puVar12 = (uchar *)0x0;
      local_44c = (uchar *)0x0;
LAB_00033d10:
      do {
        puVar14 = haystack + (int)local_44c;
        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);
        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;
        uVar10 = shift_table[puVar14[iVar3 + -1]];
        puVar9 = puVar14;
        if (uVar10 == 0) {
          puVar14 = local_43c;
          if (local_43c <= puVar12) {
            puVar14 = puVar12;
          }
          if (puVar14 < puVar13) {
            do {
              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {
                puVar12 = (uchar *)0x0;
                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;
                goto LAB_00033d10;
              }
              puVar14 = puVar14 + 1;
            } while (puVar14 != puVar13);
          }
          puVar14 = local_43c;
          if ((puVar12 < local_43c) &&
             (puVar8 = local_43c + -1,
             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {
            do {
              puVar14 = puVar8;
              if (puVar12 == puVar14) break;
              puVar8 = puVar14 + -1;
            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);
          }
          if (puVar14 < puVar12 + 1) {
            puVar13 = local_44c + iVar3;
            goto LAB_00033cba;
          }
          local_44c = local_44c + sVar2;
          puVar12 = haystack + -sVar2;
        }
        else {
          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {
            uVar10 = (int)haystack - sVar2;
          }
          local_44c = local_44c + uVar10;
          puVar12 = (uchar *)0x0;
        }
      } while( true );
    }
  }
  puVar12 = haystack + -(int)local_43c;
  if (haystack + -(int)local_43c < local_43c) {
    puVar12 = local_43c;
  }
  puVar14 = (uchar *)0x0;
  period = (size_t)(puVar12 + 1);
  while( true ) {
    puVar13 = haystack + (int)puVar14;
    pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar13 - (int)puVar9);
    if ((puVar13 == (uchar *)0x0) || (pvVar7 != (void *)0x0)) break;
    puVar9 = puVar13;
    if (shift_table[puVar13[iVar3 + -1]] == 0) {
      puVar13 = puVar14 + iVar3;
      if (local_43c < haystack + -1) {
        local_44c = local_43c;
        if (puVar13[(int)local_43c] == needle_00[(int)local_43c]) {
          do {
            local_44c = local_44c + 1;
            if (haystack + -1 <= local_44c) goto LAB_00033c4d;
          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);
        }
        puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c;
      }
      else {
LAB_00033c4d:
        puVar8 = local_43c + -1;
        if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;
        if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {
          do {
            puVar8 = puVar8 + -1;
            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;
          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);
        }
        puVar14 = puVar14 + (int)(puVar12 + 1);
      }
    }
    else {
      puVar14 = puVar14 + shift_table[puVar13[iVar3 + -1]];
    }
  }
LAB_00033cb8:
  puVar13 = (uchar *)0x0;
LAB_00033cba:
  if (local_20[0] != *(size_t *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return (char *)puVar13;
}



int FUN_00033aa0(uint param_1)

{
  byte bVar1;
  uint uVar2;
  int iVar3;
  uint *puVar4;
  byte *pbVar5;
  int iVar6;
  uint uVar7;
  int iVar8;
  int iVar9;
  byte *__s1;
  uint uVar10;
  uint uVar11;
  int iVar12;
  int in_GS_OFFSET;
  undefined8 uVar13;
  uint local_44c;
  uint local_43c;
  uint local_438;
  uint local_424;
  uint local_420 [256];
  uint local_20 [4];
  
  uVar13 = FUN_00019083();
  iVar8 = (int)((ulonglong)uVar13 >> 0x20);
  iVar3 = (int)uVar13;
  local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);
  if (param_1 < 3) {
    local_43c = param_1 - 1;
    local_438 = 1;
  }
  else {
    local_43c = FUN_00033950();
    local_438 = local_424;
  }
  puVar4 = local_420;
  do {
    *puVar4 = param_1;
    puVar4 = puVar4 + 1;
  } while (local_20 != puVar4);
  if (param_1 == 0) {
    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);
    if (iVar6 == 0) goto LAB_00033cb8;
  }
  else {
    uVar7 = param_1 - 1;
    pbVar5 = __s1;
    do {
      bVar1 = *pbVar5;
      iVar6 = uVar7 - (int)pbVar5;
      pbVar5 = pbVar5 + 1;
      local_420[bVar1] = (uint)(__s1 + iVar6);
    } while (__s1 + param_1 != pbVar5);
    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);
    if (iVar6 == 0) {
      uVar11 = 0;
      local_44c = 0;
LAB_00033d10:
      do {
        iVar6 = local_44c + param_1;
        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);
        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;
        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];
        iVar8 = iVar6;
        if (uVar10 == 0) {
          uVar10 = local_43c;
          if (local_43c <= uVar11) {
            uVar10 = uVar11;
          }
          if (uVar10 < uVar7) {
            do {
              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {
                uVar11 = 0;
                local_44c = local_44c + (1 - local_43c) + uVar10;
                goto LAB_00033d10;
              }
              uVar10 = uVar10 + 1;
            } while (uVar10 != uVar7);
          }
          uVar10 = local_43c;
          if ((uVar11 < local_43c) &&
             (uVar2 = local_43c - 1,
             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {
            do {
              uVar10 = uVar2;
              if (uVar11 == uVar10) break;
              uVar2 = uVar10 - 1;
            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));
          }
          if (uVar10 < uVar11 + 1) {
            iVar6 = iVar3 + local_44c;
            goto LAB_00033cba;
          }
          local_44c = local_44c + local_438;
          uVar11 = param_1 - local_438;
        }
        else {
          if ((uVar10 < local_438) && (uVar11 != 0)) {
            uVar10 = param_1 - local_438;
          }
          local_44c = local_44c + uVar10;
          uVar11 = 0;
        }
      } while( true );
    }
  }
  uVar7 = param_1 - local_43c;
  if (param_1 - local_43c < local_43c) {
    uVar7 = local_43c;
  }
  iVar12 = 0;
  while( true ) {
    iVar6 = param_1 + iVar12;
    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);
    if ((iVar6 == 0) || (iVar8 != 0)) break;
    iVar8 = iVar6;
    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {
      iVar6 = iVar3 + iVar12;
      if (local_43c < param_1 - 1) {
        local_44c = local_43c;
        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {
          do {
            local_44c = local_44c + 1;
            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;
          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));
        }
        iVar12 = iVar12 + (1 - local_43c) + local_44c;
      }
      else {
LAB_00033c4d:
        iVar9 = local_43c - 1;
        if (iVar9 == -1) goto LAB_00033cba;
        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {
          do {
            iVar9 = iVar9 + -1;
            if (iVar9 == -1) goto LAB_00033cba;
          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));
        }
        iVar12 = iVar12 + uVar7 + 1;
      }
    }
    else {
      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];
    }
  }
LAB_00033cb8:
  iVar6 = 0;
LAB_00033cba:
  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00036030();
  }
  return iVar6;
}


PUSH EBP
PUSH EDI
CALL 0x00019083
ADD EDI,0x12559
PUSH ESI
PUSH EBX
SUB ESP,0x43c
MOV dword ptr [ESP + 0x4],EAX
MOV ESI,dword ptr [ESP + 0x450]
MOV dword ptr [ESP + 0x8],EDI
MOV EDI,EDX
MOV dword ptr [ESP + 0xc],ECX
MOV EBX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x42c],EBX
XOR EBX,EBX
CMP ESI,0x2
JBE 0x00033e30
MOV EAX,ECX
MOV EDX,ESI
LEA ECX,[ESP + 0x28]
CALL 0x00033950
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[ESP + 0x2c]
LEA EDX,[ESP + 0x42c]
LEA ESI,[ESI]
NOP
MOV dword ptr [EAX],ESI
ADD EAX,0x4
CMP EDX,EAX
JNZ 0x00033b10
MOV EAX,dword ptr [ESP + 0xc]
MOV EBX,dword ptr [ESP + 0x14]
ADD EBX,EAX
MOV dword ptr [ESP],EBX
TEST ESI,ESI
JZ 0x00033c95
LEA EDX,[ESI + -0x1]
MOV EBX,EAX
LEA EBP,[ESI + EAX*0x1]
MOV dword ptr [ESP + 0x1c],EDX
ADD EBX,EDX
LEA ESI,[ESI]
MOVZX EDX,byte ptr [EAX]
MOV ECX,EBX
SUB ECX,EAX
ADD EAX,0x1
MOV dword ptr [ESP + EDX*0x4 + 0x2c],ECX
CMP EBP,EAX
JNZ 0x00033b40
SUB ESP,0x4
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [ESP + 0x8]
PUSH dword ptr [ESP + 0x18]
MOV EBX,dword ptr [ESP + 0x18]
CALL 0x00012180
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00033ce4
MOV EBX,dword ptr [ESP + 0x10]
MOV EAX,ESI
MOV dword ptr [ESP + 0x450],ESI
MOV EBP,dword ptr [ESP + 0xc]
SUB EAX,EBX
CMP EAX,EBX
CMOVC EAX,EBX
XOR EDX,EDX
ADD EAX,0x1
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP + 0x28],EAX
MOV EAX,0x1
SUB EAX,EBX
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,EDI
MOV EDI,EDX
MOV EDX,dword ptr [ESP + 0x4]
LEA ESI,[ESI]
MOV ESI,dword ptr [ESP + 0x450]
SUB ESP,0x4
ADD ESI,EDI
MOV ECX,ESI
SUB ECX,EAX
ADD EAX,EDX
PUSH ECX
PUSH 0x0
MOV dword ptr [ESP + 0xc],EDX
PUSH EAX
MOV EBX,dword ptr [ESP + 0x18]
CALL 0x00024f50
ADD ESP,0x10
TEST ESI,ESI
JZ 0x00033cb8
TEST EAX,EAX
MOV EDX,dword ptr [ESP]
JNZ 0x00033cb8
MOVZX EAX,byte ptr [EDX + ESI*0x1 + -0x1]
MOV EAX,dword ptr [ESP + EAX*0x4 + 0x2c]
TEST EAX,EAX
JZ 0x00033c00
ADD EDI,EAX
MOV EAX,ESI
JMP 0x00033bb0
MOV EAX,dword ptr [ESP + 0x450]
LEA ECX,[EDX + EDI*0x1]
SUB EAX,0x1
MOV dword ptr [ESP + 0x4],EAX
CMP dword ptr [ESP + 0x10],EAX
JNC 0x00033c4d
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP],EAX
MOVZX EBX,byte ptr [EBP + EAX*0x1]
CMP byte ptr [ECX + EAX*0x1],BL
JNZ 0x00033c87
MOV EBX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [ESP]
MOV dword ptr [ESP + 0x4],EDX
JMP 0x00033c42
MOVZX EDX,byte ptr [ECX + EAX*0x1]
CMP byte ptr [EBP + EAX*0x1],DL
JNZ 0x00033c80
ADD EAX,0x1
CMP EAX,EBX
JC 0x00033c38
MOV EDX,dword ptr [ESP + 0x4]
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + -0x1]
CMP EAX,-0x1
JZ 0x00033c7a
MOVZX EBX,byte ptr [EBP + EBX*0x1 + -0x1]
CMP byte ptr [ECX + EAX*0x1],BL
JZ 0x00033c72
JMP 0x00033cd9
MOVZX EBX,byte ptr [ECX + EAX*0x1]
CMP byte ptr [EBP + EAX*0x1],BL
JNZ 0x00033cd9
SUB EAX,0x1
CMP EAX,-0x1
JNZ 0x00033c68
MOV EAX,ECX
JMP 0x00033cba
MOV dword ptr [ESP],EAX
MOV EDX,dword ptr [ESP + 0x4]
ADD EDI,dword ptr [ESP + 0x14]
MOV EAX,ESI
ADD EDI,dword ptr [ESP]
JMP 0x00033bb0
SUB ESP,0x4
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [ESP + 0x8]
PUSH dword ptr [ESP + 0x18]
MOV EBX,dword ptr [ESP + 0x18]
CALL 0x00012180
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00033b75
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0x42c]
XOR EDI,dword ptr GS:[0x14]
JNZ 0x00033e5e
ADD ESP,0x43c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EDI,dword ptr [ESP + 0x18]
MOV EAX,ESI
JMP 0x00033bb0
MOV EAX,0x1
SUB EAX,dword ptr [ESP + 0x10]
MOV EBP,dword ptr [ESP + 0xc]
XOR EDX,EDX
MOV dword ptr [ESP],0x0
MOV dword ptr [ESP + 0x450],ESI
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,EDI
MOV EDI,dword ptr [ESP + 0x1c]
LEA ESI,[ESI]
NOP
MOV ESI,dword ptr [ESP]
ADD ESI,dword ptr [ESP + 0x450]
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0x4
MOV ECX,ESI
SUB ECX,EAX
PUSH ECX
PUSH 0x0
ADD EAX,dword ptr [ESP + 0x10]
PUSH EAX
MOV EBX,dword ptr [ESP + 0x18]
CALL 0x00024f50
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00033cb8
TEST ESI,ESI
MOV EDX,dword ptr [ESP + 0xc]
JZ 0x00033cb8
MOV EAX,dword ptr [ESP + 0x4]
MOVZX EAX,byte ptr [EAX + ESI*0x1 + -0x1]
MOV EAX,dword ptr [ESP + EAX*0x4 + 0x2c]
TEST EAX,EAX
JZ 0x00033d88
MOV EBX,dword ptr [ESP + 0x14]
CMP EAX,EBX
JNC 0x00033d79
TEST EDX,EDX
MOV EDX,dword ptr [ESP + 0x450]
SETNZ CL
SUB EDX,EBX
TEST CL,CL
CMOVNZ EAX,EDX
ADD dword ptr [ESP],EAX
XOR EDX,EDX
MOV EAX,ESI
JMP 0x00033d10
MOV EAX,dword ptr [ESP + 0x10]
CMP EDX,EAX
MOV ECX,EAX
CMOVNC ECX,EDX
CMP ECX,EDI
JNC 0x00033dd0
MOV EAX,dword ptr [ESP + 0x4]
ADD EAX,dword ptr [ESP]
JMP 0x00033da7
ADD ECX,0x1
CMP ECX,EDI
JZ 0x00033dd0
MOVZX EBX,byte ptr [EAX + ECX*0x1]
CMP byte ptr [EBP + ECX*0x1],BL
JZ 0x00033da0
MOV EAX,dword ptr [ESP]
ADD EAX,dword ptr [ESP + 0x18]
XOR EDX,EDX
ADD EAX,ECX
MOV dword ptr [ESP],EAX
MOV EAX,ESI
JMP 0x00033d10
MOV EBX,dword ptr [ESP + 0x10]
LEA ECX,[EBX + -0x1]
CMP EDX,EBX
JNC 0x00033e4c
MOV EAX,dword ptr [ESP + 0x4]
ADD EAX,dword ptr [ESP]
MOVZX EBX,byte ptr [EBP + EBX*0x1 + -0x1]
CMP byte ptr [EAX + ECX*0x1],BL
JNZ 0x00033e4c
MOV dword ptr [ESP + 0xc],EDX
JMP 0x00033e05
MOVZX EDX,byte ptr [ECX + EAX*0x1 + -0x1]
CMP byte ptr [EBP + ECX*0x1 + -0x1],DL
JNZ 0x00033e0e
MOV ECX,EBX
LEA EBX,[ECX + -0x1]
CMP dword ptr [ESP + 0xc],ECX
JNZ 0x00033df8
MOV EDX,dword ptr [ESP + 0xc]
ADD EDX,0x1
CMP EDX,ECX
JA 0x00033e52
MOV EBX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x450]
MOV EAX,ESI
ADD dword ptr [ESP],EBX
SUB EDX,EBX
JMP 0x00033d10
LEA EAX,[ESI + -0x1]
MOV dword ptr [ESP + 0x28],0x1
MOV dword ptr [ESP + 0x10],EAX
MOV dword ptr [ESP + 0x14],0x1
JMP 0x00033afc
MOV ECX,dword ptr [ESP + 0x10]
JMP 0x00033e12
MOV EAX,dword ptr [ESP + 0x4]
ADD EAX,dword ptr [ESP]
JMP 0x00033cba
CALL 0x00036030
(translation_unit "int FUN_00033aa0(uint param_1)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  uint *puVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  int iVar9;\n  byte *__s1;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  uint local_44c;\n  uint local_43c;\n  uint local_438;\n  uint local_424;\n  uint local_420 [256];\n  uint local_20 [4];\n  \n  uVar13 = FUN_00019083();\n  iVar8 = (int)((ulonglong)uVar13 >> 0x20);\n  iVar3 = (int)uVar13;\n  local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);\n  if (param_1 < 3) {\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }\n  else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }\n  puVar4 = local_420;\n  do {\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  } while (local_20 != puVar4);\n  if (param_1 == 0) {\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }\n  uVar7 = param_1 - local_43c;\n  if (param_1 - local_43c < local_43c) {\n    uVar7 = local_43c;\n  }\n  iVar12 = 0;\n  while( true ) {\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }\nLAB_00033cb8:\n  iVar6 = 0;\nLAB_00033cba:\n  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00036030();\n  }\n  return iVar6;\n}\n\n" (function_definition "int FUN_00033aa0(uint param_1)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  uint *puVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  int iVar9;\n  byte *__s1;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  uint local_44c;\n  uint local_43c;\n  uint local_438;\n  uint local_424;\n  uint local_420 [256];\n  uint local_20 [4];\n  \n  uVar13 = FUN_00019083();\n  iVar8 = (int)((ulonglong)uVar13 >> 0x20);\n  iVar3 = (int)uVar13;\n  local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);\n  if (param_1 < 3) {\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }\n  else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }\n  puVar4 = local_420;\n  do {\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  } while (local_20 != puVar4);\n  if (param_1 == 0) {\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }\n  uVar7 = param_1 - local_43c;\n  if (param_1 - local_43c < local_43c) {\n    uVar7 = local_43c;\n  }\n  iVar12 = 0;\n  while( true ) {\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }\nLAB_00033cb8:\n  iVar6 = 0;\nLAB_00033cba:\n  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00036030();\n  }\n  return iVar6;\n}" primitive_type (function_declarator "FUN_00033aa0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  uint *puVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  int iVar9;\n  byte *__s1;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  uint local_44c;\n  uint local_43c;\n  uint local_438;\n  uint local_424;\n  uint local_420 [256];\n  uint local_20 [4];\n  \n  uVar13 = FUN_00019083();\n  iVar8 = (int)((ulonglong)uVar13 >> 0x20);\n  iVar3 = (int)uVar13;\n  local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);\n  if (param_1 < 3) {\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }\n  else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }\n  puVar4 = local_420;\n  do {\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  } while (local_20 != puVar4);\n  if (param_1 == 0) {\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }\n  uVar7 = param_1 - local_43c;\n  if (param_1 - local_43c < local_43c) {\n    uVar7 = local_43c;\n  }\n  iVar12 = 0;\n  while( true ) {\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }\nLAB_00033cb8:\n  iVar6 = 0;\nLAB_00033cba:\n  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00036030();\n  }\n  return iVar6;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "byte *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar13;" type_identifier identifier ;) (declaration "uint local_44c;" type_identifier identifier ;) (declaration "uint local_43c;" type_identifier identifier ;) (declaration "uint local_438;" type_identifier identifier ;) (declaration "uint local_424;" type_identifier identifier ;) (declaration "uint local_420 [256];" type_identifier (array_declarator "local_420 [256]" identifier [ number_literal ]) ;) (declaration "uint local_20 [4];" type_identifier (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "uVar13 = FUN_00019083();" (assignment_expression "uVar13 = FUN_00019083()" identifier = (call_expression "FUN_00019083()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = (int)((ulonglong)uVar13 >> 0x20);" (assignment_expression "iVar8 = (int)((ulonglong)uVar13 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar3 = (int)uVar13;" (assignment_expression "iVar3 = (int)uVar13" identifier = (cast_expression "(int)uVar13" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20[0] = *(uint *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" * (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 < 3) {\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }\n  else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }" if (parenthesized_expression "(param_1 < 3)" ( (binary_expression "param_1 < 3" identifier < number_literal) )) (compound_statement "{\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }" { (expression_statement "local_43c = param_1 - 1;" (assignment_expression "local_43c = param_1 - 1" identifier = (binary_expression "param_1 - 1" identifier - number_literal)) ;) (expression_statement "local_438 = 1;" (assignment_expression "local_438 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }" else (compound_statement "{\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }" { (expression_statement "local_43c = FUN_00033950();" (assignment_expression "local_43c = FUN_00033950()" identifier = (call_expression "FUN_00033950()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_438 = local_424;" (assignment_expression "local_438 = local_424" identifier = identifier) ;) }))) (expression_statement "puVar4 = local_420;" (assignment_expression "puVar4 = local_420" identifier = identifier) ;) (do_statement "do {\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  } while (local_20 != puVar4);" do (compound_statement "{\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  }" { (expression_statement "*puVar4 = param_1;" (assignment_expression "*puVar4 = param_1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_20 != puVar4)" ( (binary_expression "local_20 != puVar4" identifier != identifier) )) ;) (if_statement "if (param_1 == 0) {\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }" { (expression_statement "iVar6 = memcmp(__s1,__s1 + local_438,local_43c);" (assignment_expression "iVar6 = memcmp(__s1,__s1 + local_438,local_43c)" identifier = (call_expression "memcmp(__s1,__s1 + local_438,local_43c)" identifier (argument_list "(__s1,__s1 + local_438,local_43c)" ( identifier , (binary_expression "__s1 + local_438" identifier + identifier) , identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_00033cb8;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00033cb8;" goto statement_identifier ;)) }) (else_clause "else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }" else (compound_statement "{\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }" { (expression_statement "uVar7 = param_1 - 1;" (assignment_expression "uVar7 = param_1 - 1" identifier = (binary_expression "param_1 - 1" identifier - number_literal)) ;) (expression_statement "pbVar5 = __s1;" (assignment_expression "pbVar5 = __s1" identifier = identifier) ;) (do_statement "do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);" do (compound_statement "{\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    }" { (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (expression_statement "iVar6 = uVar7 - (int)pbVar5;" (assignment_expression "iVar6 = uVar7 - (int)pbVar5" identifier = (binary_expression "uVar7 - (int)pbVar5" identifier - (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "local_420[bVar1] = (uint)(__s1 + iVar6);" (assignment_expression "local_420[bVar1] = (uint)(__s1 + iVar6)" (subscript_expression "local_420[bVar1]" identifier [ identifier ]) = (call_expression "(uint)(__s1 + iVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(__s1 + iVar6)" ( (binary_expression "__s1 + iVar6" identifier + identifier) )))) ;) }) while (parenthesized_expression "(__s1 + param_1 != pbVar5)" ( (binary_expression "__s1 + param_1 != pbVar5" (binary_expression "__s1 + param_1" identifier + identifier) != identifier) )) ;) (expression_statement "iVar6 = memcmp(__s1,__s1 + local_438,local_43c);" (assignment_expression "iVar6 = memcmp(__s1,__s1 + local_438,local_43c)" identifier = (call_expression "memcmp(__s1,__s1 + local_438,local_43c)" identifier (argument_list "(__s1,__s1 + local_438,local_43c)" ( identifier , (binary_expression "__s1 + local_438" identifier + identifier) , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "local_44c = 0;" (assignment_expression "local_44c = 0" identifier = number_literal) ;) (labeled_statement "LAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );" statement_identifier : (do_statement "do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );" do (compound_statement "{\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      }" { (expression_statement "iVar6 = local_44c + param_1;" (assignment_expression "iVar6 = local_44c + param_1" identifier = (binary_expression "local_44c + param_1" identifier + identifier)) ;) (expression_statement "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);" (assignment_expression "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" identifier = (call_expression "FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" identifier (argument_list "(iVar8 + iVar3,0,iVar6 - iVar8)" ( (binary_expression "iVar8 + iVar3" identifier + identifier) , number_literal , (binary_expression "iVar6 - iVar8" identifier - identifier) )))) ;) (if_statement "if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;" if (parenthesized_expression "((iVar8 != 0) || (iVar6 == 0))" ( (binary_expression "(iVar8 != 0) || (iVar6 == 0)" (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) ))) )) (goto_statement "goto LAB_00033cb8;" goto statement_identifier ;)) (expression_statement "uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];" (assignment_expression "uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier = (subscript_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier [ (pointer_expression "*(byte *)(iVar3 + -1 + iVar6)" * (cast_expression "(byte *)(iVar3 + -1 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -1 + iVar6)" ( (binary_expression "iVar3 + -1 + iVar6" (binary_expression "iVar3 + -1" identifier + number_literal) + identifier) )))) ])) ;) (expression_statement "iVar8 = iVar6;" (assignment_expression "iVar8 = iVar6" identifier = identifier) ;) (if_statement "if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }" if (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }" { (expression_statement "uVar10 = local_43c;" (assignment_expression "uVar10 = local_43c" identifier = identifier) ;) (if_statement "if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }" if (parenthesized_expression "(local_43c <= uVar11)" ( (binary_expression "local_43c <= uVar11" identifier <= identifier) )) (compound_statement "{\n            uVar10 = uVar11;\n          }" { (expression_statement "uVar10 = uVar11;" (assignment_expression "uVar10 = uVar11" identifier = identifier) ;) })) (if_statement "if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }" if (parenthesized_expression "(uVar10 < uVar7)" ( (binary_expression "uVar10 < uVar7" identifier < identifier) )) (compound_statement "{\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }" { (do_statement "do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);" do (compound_statement "{\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            }" { (if_statement "if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }" if (parenthesized_expression "(__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10))" ( (binary_expression "__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)" (subscript_expression "__s1[uVar10]" identifier [ identifier ]) != (pointer_expression "*(byte *)(iVar3 + local_44c + uVar10)" * (cast_expression "(byte *)(iVar3 + local_44c + uVar10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + local_44c + uVar10)" ( (binary_expression "iVar3 + local_44c + uVar10" (binary_expression "iVar3 + local_44c" identifier + identifier) + identifier) ))))) )) (compound_statement "{\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "local_44c = local_44c + (1 - local_43c) + uVar10;" (assignment_expression "local_44c = local_44c + (1 - local_43c) + uVar10" identifier = (binary_expression "local_44c + (1 - local_43c) + uVar10" (binary_expression "local_44c + (1 - local_43c)" identifier + (parenthesized_expression "(1 - local_43c)" ( (binary_expression "1 - local_43c" number_literal - identifier) ))) + identifier)) ;) (goto_statement "goto LAB_00033d10;" goto statement_identifier ;) })) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar10 != uVar7)" ( (binary_expression "uVar10 != uVar7" identifier != identifier) )) ;) })) (expression_statement "uVar10 = local_43c;" (assignment_expression "uVar10 = local_43c" identifier = identifier) ;) (if_statement "if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }" if (parenthesized_expression "((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1]))" ( (binary_expression "(uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])" (parenthesized_expression "(uVar11 < local_43c)" ( (binary_expression "uVar11 < local_43c" identifier < identifier) )) && (parenthesized_expression "(uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])" ( (comma_expression "uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1]" (assignment_expression "uVar2 = local_43c - 1" identifier = (binary_expression "local_43c - 1" identifier - number_literal)) , (binary_expression "*(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1]" (pointer_expression "*(byte *)(iVar3 + local_44c + (local_43c - 1))" * (cast_expression "(byte *)(iVar3 + local_44c + (local_43c - 1))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + local_44c + (local_43c - 1))" ( (binary_expression "iVar3 + local_44c + (local_43c - 1)" (binary_expression "iVar3 + local_44c" identifier + identifier) + (parenthesized_expression "(local_43c - 1)" ( (binary_expression "local_43c - 1" identifier - number_literal) ))) )))) == (subscript_expression "__s1[local_43c - 1]" identifier [ (binary_expression "local_43c - 1" identifier - number_literal) ]))) ))) )) (compound_statement "{\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }" { (do_statement "do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));" do (compound_statement "{\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            }" { (expression_statement "uVar10 = uVar2;" (assignment_expression "uVar10 = uVar2" identifier = identifier) ;) (if_statement "if (uVar11 == uVar10) break;" if (parenthesized_expression "(uVar11 == uVar10)" ( (binary_expression "uVar11 == uVar10" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar2 = uVar10 - 1;" (assignment_expression "uVar2 = uVar10 - 1" identifier = (binary_expression "uVar10 - 1" identifier - number_literal)) ;) }) while (parenthesized_expression "(__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c))" ( (binary_expression "__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c)" (subscript_expression "__s1[uVar10 - 1]" identifier [ (binary_expression "uVar10 - 1" identifier - number_literal) ]) == (pointer_expression "*(byte *)((uVar10 - 1) + iVar3 + local_44c)" * (cast_expression "(byte *)((uVar10 - 1) + iVar3 + local_44c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar10 - 1) + iVar3 + local_44c)" ( (binary_expression "(uVar10 - 1) + iVar3 + local_44c" (binary_expression "(uVar10 - 1) + iVar3" (parenthesized_expression "(uVar10 - 1)" ( (binary_expression "uVar10 - 1" identifier - number_literal) )) + identifier) + identifier) ))))) )) ;) })) (if_statement "if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }" if (parenthesized_expression "(uVar10 < uVar11 + 1)" ( (binary_expression "uVar10 < uVar11 + 1" identifier < (binary_expression "uVar11 + 1" identifier + number_literal)) )) (compound_statement "{\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }" { (expression_statement "iVar6 = iVar3 + local_44c;" (assignment_expression "iVar6 = iVar3 + local_44c" identifier = (binary_expression "iVar3 + local_44c" identifier + identifier)) ;) (goto_statement "goto LAB_00033cba;" goto statement_identifier ;) })) (expression_statement "local_44c = local_44c + local_438;" (assignment_expression "local_44c = local_44c + local_438" identifier = (binary_expression "local_44c + local_438" identifier + identifier)) ;) (expression_statement "uVar11 = param_1 - local_438;" (assignment_expression "uVar11 = param_1 - local_438" identifier = (binary_expression "param_1 - local_438" identifier - identifier)) ;) }) (else_clause "else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }" else (compound_statement "{\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }" { (if_statement "if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }" if (parenthesized_expression "((uVar10 < local_438) && (uVar11 != 0))" ( (binary_expression "(uVar10 < local_438) && (uVar11 != 0)" (parenthesized_expression "(uVar10 < local_438)" ( (binary_expression "uVar10 < local_438" identifier < identifier) )) && (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) ))) )) (compound_statement "{\n            uVar10 = param_1 - local_438;\n          }" { (expression_statement "uVar10 = param_1 - local_438;" (assignment_expression "uVar10 = param_1 - local_438" identifier = (binary_expression "param_1 - local_438" identifier - identifier)) ;) })) (expression_statement "local_44c = local_44c + uVar10;" (assignment_expression "local_44c = local_44c + uVar10" identifier = (binary_expression "local_44c + uVar10" identifier + identifier)) ;) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;)) })) }))) (expression_statement "uVar7 = param_1 - local_43c;" (assignment_expression "uVar7 = param_1 - local_43c" identifier = (binary_expression "param_1 - local_43c" identifier - identifier)) ;) (if_statement "if (param_1 - local_43c < local_43c) {\n    uVar7 = local_43c;\n  }" if (parenthesized_expression "(param_1 - local_43c < local_43c)" ( (binary_expression "param_1 - local_43c < local_43c" (binary_expression "param_1 - local_43c" identifier - identifier) < identifier) )) (compound_statement "{\n    uVar7 = local_43c;\n  }" { (expression_statement "uVar7 = local_43c;" (assignment_expression "uVar7 = local_43c" identifier = identifier) ;) })) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }" { (expression_statement "iVar6 = param_1 + iVar12;" (assignment_expression "iVar6 = param_1 + iVar12" identifier = (binary_expression "param_1 + iVar12" identifier + identifier)) ;) (expression_statement "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);" (assignment_expression "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" identifier = (call_expression "FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" identifier (argument_list "(iVar8 + iVar3,0,iVar6 - iVar8)" ( (binary_expression "iVar8 + iVar3" identifier + identifier) , number_literal , (binary_expression "iVar6 - iVar8" identifier - identifier) )))) ;) (if_statement "if ((iVar6 == 0) || (iVar8 != 0)) break;" if (parenthesized_expression "((iVar6 == 0) || (iVar8 != 0))" ( (binary_expression "(iVar6 == 0) || (iVar8 != 0)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = iVar6;" (assignment_expression "iVar8 = iVar6" identifier = identifier) ;) (if_statement "if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }" if (parenthesized_expression "(local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0)" ( (binary_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0" (subscript_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier [ (pointer_expression "*(byte *)(iVar3 + -1 + iVar6)" * (cast_expression "(byte *)(iVar3 + -1 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -1 + iVar6)" ( (binary_expression "iVar3 + -1 + iVar6" (binary_expression "iVar3 + -1" identifier + number_literal) + identifier) )))) ]) == number_literal) )) (compound_statement "{\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }" { (expression_statement "iVar6 = iVar3 + iVar12;" (assignment_expression "iVar6 = iVar3 + iVar12" identifier = (binary_expression "iVar3 + iVar12" identifier + identifier)) ;) (if_statement "if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }" if (parenthesized_expression "(local_43c < param_1 - 1)" ( (binary_expression "local_43c < param_1 - 1" identifier < (binary_expression "param_1 - 1" identifier - number_literal)) )) (compound_statement "{\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }" { (expression_statement "local_44c = local_43c;" (assignment_expression "local_44c = local_43c" identifier = identifier) ;) (if_statement "if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }" if (parenthesized_expression "(*(byte *)(iVar6 + local_43c) == __s1[local_43c])" ( (binary_expression "*(byte *)(iVar6 + local_43c) == __s1[local_43c]" (pointer_expression "*(byte *)(iVar6 + local_43c)" * (cast_expression "(byte *)(iVar6 + local_43c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + local_43c)" ( (binary_expression "iVar6 + local_43c" identifier + identifier) )))) == (subscript_expression "__s1[local_43c]" identifier [ identifier ])) )) (compound_statement "{\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }" { (do_statement "do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));" do (compound_statement "{\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          }" { (expression_statement "local_44c = local_44c + 1;" (assignment_expression "local_44c = local_44c + 1" identifier = (binary_expression "local_44c + 1" identifier + number_literal)) ;) (if_statement "if (param_1 - 1 <= local_44c) goto LAB_00033c4d;" if (parenthesized_expression "(param_1 - 1 <= local_44c)" ( (binary_expression "param_1 - 1 <= local_44c" (binary_expression "param_1 - 1" identifier - number_literal) <= identifier) )) (goto_statement "goto LAB_00033c4d;" goto statement_identifier ;)) }) while (parenthesized_expression "(__s1[local_44c] == *(byte *)(iVar6 + local_44c))" ( (binary_expression "__s1[local_44c] == *(byte *)(iVar6 + local_44c)" (subscript_expression "__s1[local_44c]" identifier [ identifier ]) == (pointer_expression "*(byte *)(iVar6 + local_44c)" * (cast_expression "(byte *)(iVar6 + local_44c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + local_44c)" ( (binary_expression "iVar6 + local_44c" identifier + identifier) ))))) )) ;) })) (expression_statement "iVar12 = iVar12 + (1 - local_43c) + local_44c;" (assignment_expression "iVar12 = iVar12 + (1 - local_43c) + local_44c" identifier = (binary_expression "iVar12 + (1 - local_43c) + local_44c" (binary_expression "iVar12 + (1 - local_43c)" identifier + (parenthesized_expression "(1 - local_43c)" ( (binary_expression "1 - local_43c" number_literal - identifier) ))) + identifier)) ;) }) (else_clause "else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }" else (compound_statement "{\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }" { (labeled_statement "LAB_00033c4d:\n        iVar9 = local_43c - 1;" statement_identifier : (expression_statement "iVar9 = local_43c - 1;" (assignment_expression "iVar9 = local_43c - 1" identifier = (binary_expression "local_43c - 1" identifier - number_literal)) ;)) (if_statement "if (iVar9 == -1) goto LAB_00033cba;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00033cba;" goto statement_identifier ;)) (if_statement "if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }" if (parenthesized_expression "(*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1])" ( (binary_expression "*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]" (pointer_expression "*(byte *)(iVar6 + iVar9)" * (cast_expression "(byte *)(iVar6 + iVar9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9)" ( (binary_expression "iVar6 + iVar9" identifier + identifier) )))) == (subscript_expression "__s1[local_43c - 1]" identifier [ (binary_expression "local_43c - 1" identifier - number_literal) ])) )) (compound_statement "{\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }" { (do_statement "do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));" do (compound_statement "{\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          }" { (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (if_statement "if (iVar9 == -1) goto LAB_00033cba;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00033cba;" goto statement_identifier ;)) }) while (parenthesized_expression "(__s1[iVar9] == *(byte *)(iVar6 + iVar9))" ( (binary_expression "__s1[iVar9] == *(byte *)(iVar6 + iVar9)" (subscript_expression "__s1[iVar9]" identifier [ identifier ]) == (pointer_expression "*(byte *)(iVar6 + iVar9)" * (cast_expression "(byte *)(iVar6 + iVar9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9)" ( (binary_expression "iVar6 + iVar9" identifier + identifier) ))))) )) ;) })) (expression_statement "iVar12 = iVar12 + uVar7 + 1;" (assignment_expression "iVar12 = iVar12 + uVar7 + 1" identifier = (binary_expression "iVar12 + uVar7 + 1" (binary_expression "iVar12 + uVar7" identifier + identifier) + number_literal)) ;) }))) }) (else_clause "else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }" else (compound_statement "{\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }" { (expression_statement "iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];" (assignment_expression "iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier = (binary_expression "iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier + (subscript_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier [ (pointer_expression "*(byte *)(iVar3 + -1 + iVar6)" * (cast_expression "(byte *)(iVar3 + -1 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -1 + iVar6)" ( (binary_expression "iVar3 + -1 + iVar6" (binary_expression "iVar3 + -1" identifier + number_literal) + identifier) )))) ]))) ;) }))) })) (labeled_statement "LAB_00033cb8:\n  iVar6 = 0;" statement_identifier : (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00033cba:\n  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00036030();\n  }" statement_identifier : (if_statement "if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00036030();\n  }" if (parenthesized_expression "(local_20[0] != *(uint *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_20[0]" identifier [ number_literal ]) != (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" * (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00036030();\n  }" { comment (expression_statement "FUN_00036030();" (call_expression "FUN_00036030()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar6;" return identifier ;) })))
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n\nchar * two_way_long_needle(uchar *haystack,size_t haystack_len,uchar *needle,size_t needle_len)\n\n{\n  byte bVar1;\n  size_t sVar2;\n  int iVar3;\n  size_t *psVar4;\n  byte *pbVar5;\n  int iVar6;\n  void *pvVar7;\n  uchar *puVar8;\n  uchar *puVar9;\n  uint uVar10;\n  byte *needle_00;\n  size_t sVar11;\n  uchar *puVar12;\n  uchar *puVar13;\n  uchar *puVar14;\n  int in_GS_OFFSET;\n  undefined8 uVar15;\n  uchar *local_44c;\n  uchar *local_43c;\n  size_t period;\n  size_t shift_table [256];\n  size_t local_20 [4];\n  \n  uVar15 = __x86_get_pc_thunk_di();\n  puVar9 = (uchar *)((ulonglong)uVar15 >> 0x20);\n  iVar3 = (int)uVar15;\n  local_20[0] = *(size_t *)(in_GS_OFFSET + 0x14);\n  if (haystack < (uchar *)0x3) {\n    local_43c = haystack + -1;\n    period = 1;\n  }\n  else {\n    local_43c = (uchar *)critical_factorization(needle_00,(size_t)haystack,&period);\n  }\n  sVar2 = period;\n  psVar4 = shift_table;\n  do {\n    *psVar4 = (size_t)haystack;\n    psVar4 = psVar4 + 1;\n  } while (local_20 != psVar4);\n  if (haystack == (uchar *)0x0) {\n    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    puVar13 = haystack + -1;\n    pbVar5 = needle_00;\n    do {\n      bVar1 = *pbVar5;\n      sVar11 = (int)(needle_00 + (int)puVar13) - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      shift_table[bVar1] = sVar11;\n    } while (haystack + (int)needle_00 != pbVar5);\n    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);\n    if (iVar6 == 0) {\n      puVar12 = (uchar *)0x0;\n      local_44c = (uchar *)0x0;\nLAB_00033d10:\n      do {\n        puVar14 = haystack + (int)local_44c;\n        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);\n        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;\n        uVar10 = shift_table[puVar14[iVar3 + -1]];\n        puVar9 = puVar14;\n        if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }\n      } while( true );\n    }\n  }\n  puVar12 = haystack + -(int)local_43c;\n  if (haystack + -(int)local_43c < local_43c) {\n    puVar12 = local_43c;\n  }\n  puVar14 = (uchar *)0x0;\n  period = (size_t)(puVar12 + 1);\n  while( true ) {\n    puVar13 = haystack + (int)puVar14;\n    pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar13 - (int)puVar9);\n    if ((puVar13 == (uchar *)0x0) || (pvVar7 != (void *)0x0)) break;\n    puVar9 = puVar13;\n    if (shift_table[puVar13[iVar3 + -1]] == 0) {\n      puVar13 = puVar14 + iVar3;\n      if (local_43c < haystack + -1) {\n        local_44c = local_43c;\n        if (puVar13[(int)local_43c] == needle_00[(int)local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);\n        }\n        puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c;\n      }\n      else {\nLAB_00033c4d:\n        puVar8 = local_43c + -1;\n        if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n        if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }\n        puVar14 = puVar14 + (int)(puVar12 + 1);\n      }\n    }\n    else {\n      puVar14 = puVar14 + shift_table[puVar13[iVar3 + -1]];\n    }\n  }\nLAB_00033cb8:\n  puVar13 = (uchar *)0x0;\nLAB_00033cba:\n  if (local_20[0] != *(size_t *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return (char *)puVar13;\n}\n\n" comment (function_definition "char * two_way_long_needle(uchar *haystack,size_t haystack_len,uchar *needle,size_t needle_len)\n\n{\n  byte bVar1;\n  size_t sVar2;\n  int iVar3;\n  size_t *psVar4;\n  byte *pbVar5;\n  int iVar6;\n  void *pvVar7;\n  uchar *puVar8;\n  uchar *puVar9;\n  uint uVar10;\n  byte *needle_00;\n  size_t sVar11;\n  uchar *puVar12;\n  uchar *puVar13;\n  uchar *puVar14;\n  int in_GS_OFFSET;\n  undefined8 uVar15;\n  uchar *local_44c;\n  uchar *local_43c;\n  size_t period;\n  size_t shift_table [256];\n  size_t local_20 [4];\n  \n  uVar15 = __x86_get_pc_thunk_di();\n  puVar9 = (uchar *)((ulonglong)uVar15 >> 0x20);\n  iVar3 = (int)uVar15;\n  local_20[0] = *(size_t *)(in_GS_OFFSET + 0x14);\n  if (haystack < (uchar *)0x3) {\n    local_43c = haystack + -1;\n    period = 1;\n  }\n  else {\n    local_43c = (uchar *)critical_factorization(needle_00,(size_t)haystack,&period);\n  }\n  sVar2 = period;\n  psVar4 = shift_table;\n  do {\n    *psVar4 = (size_t)haystack;\n    psVar4 = psVar4 + 1;\n  } while (local_20 != psVar4);\n  if (haystack == (uchar *)0x0) {\n    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    puVar13 = haystack + -1;\n    pbVar5 = needle_00;\n    do {\n      bVar1 = *pbVar5;\n      sVar11 = (int)(needle_00 + (int)puVar13) - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      shift_table[bVar1] = sVar11;\n    } while (haystack + (int)needle_00 != pbVar5);\n    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);\n    if (iVar6 == 0) {\n      puVar12 = (uchar *)0x0;\n      local_44c = (uchar *)0x0;\nLAB_00033d10:\n      do {\n        puVar14 = haystack + (int)local_44c;\n        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);\n        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;\n        uVar10 = shift_table[puVar14[iVar3 + -1]];\n        puVar9 = puVar14;\n        if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }\n      } while( true );\n    }\n  }\n  puVar12 = haystack + -(int)local_43c;\n  if (haystack + -(int)local_43c < local_43c) {\n    puVar12 = local_43c;\n  }\n  puVar14 = (uchar *)0x0;\n  period = (size_t)(puVar12 + 1);\n  while( true ) {\n    puVar13 = haystack + (int)puVar14;\n    pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar13 - (int)puVar9);\n    if ((puVar13 == (uchar *)0x0) || (pvVar7 != (void *)0x0)) break;\n    puVar9 = puVar13;\n    if (shift_table[puVar13[iVar3 + -1]] == 0) {\n      puVar13 = puVar14 + iVar3;\n      if (local_43c < haystack + -1) {\n        local_44c = local_43c;\n        if (puVar13[(int)local_43c] == needle_00[(int)local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);\n        }\n        puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c;\n      }\n      else {\nLAB_00033c4d:\n        puVar8 = local_43c + -1;\n        if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n        if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }\n        puVar14 = puVar14 + (int)(puVar12 + 1);\n      }\n    }\n    else {\n      puVar14 = puVar14 + shift_table[puVar13[iVar3 + -1]];\n    }\n  }\nLAB_00033cb8:\n  puVar13 = (uchar *)0x0;\nLAB_00033cba:\n  if (local_20[0] != *(size_t *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return (char *)puVar13;\n}" primitive_type (pointer_declarator "* two_way_long_needle(uchar *haystack,size_t haystack_len,uchar *needle,size_t needle_len)" * (function_declarator "two_way_long_needle(uchar *haystack,size_t haystack_len,uchar *needle,size_t needle_len)" identifier (parameter_list "(uchar *haystack,size_t haystack_len,uchar *needle,size_t needle_len)" ( (parameter_declaration "uchar *haystack" type_identifier (pointer_declarator "*haystack" * identifier)) , (parameter_declaration "size_t haystack_len" primitive_type identifier) , (parameter_declaration "uchar *needle" type_identifier (pointer_declarator "*needle" * identifier)) , (parameter_declaration "size_t needle_len" primitive_type identifier) )))) (compound_statement "{\n  byte bVar1;\n  size_t sVar2;\n  int iVar3;\n  size_t *psVar4;\n  byte *pbVar5;\n  int iVar6;\n  void *pvVar7;\n  uchar *puVar8;\n  uchar *puVar9;\n  uint uVar10;\n  byte *needle_00;\n  size_t sVar11;\n  uchar *puVar12;\n  uchar *puVar13;\n  uchar *puVar14;\n  int in_GS_OFFSET;\n  undefined8 uVar15;\n  uchar *local_44c;\n  uchar *local_43c;\n  size_t period;\n  size_t shift_table [256];\n  size_t local_20 [4];\n  \n  uVar15 = __x86_get_pc_thunk_di();\n  puVar9 = (uchar *)((ulonglong)uVar15 >> 0x20);\n  iVar3 = (int)uVar15;\n  local_20[0] = *(size_t *)(in_GS_OFFSET + 0x14);\n  if (haystack < (uchar *)0x3) {\n    local_43c = haystack + -1;\n    period = 1;\n  }\n  else {\n    local_43c = (uchar *)critical_factorization(needle_00,(size_t)haystack,&period);\n  }\n  sVar2 = period;\n  psVar4 = shift_table;\n  do {\n    *psVar4 = (size_t)haystack;\n    psVar4 = psVar4 + 1;\n  } while (local_20 != psVar4);\n  if (haystack == (uchar *)0x0) {\n    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    puVar13 = haystack + -1;\n    pbVar5 = needle_00;\n    do {\n      bVar1 = *pbVar5;\n      sVar11 = (int)(needle_00 + (int)puVar13) - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      shift_table[bVar1] = sVar11;\n    } while (haystack + (int)needle_00 != pbVar5);\n    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);\n    if (iVar6 == 0) {\n      puVar12 = (uchar *)0x0;\n      local_44c = (uchar *)0x0;\nLAB_00033d10:\n      do {\n        puVar14 = haystack + (int)local_44c;\n        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);\n        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;\n        uVar10 = shift_table[puVar14[iVar3 + -1]];\n        puVar9 = puVar14;\n        if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }\n      } while( true );\n    }\n  }\n  puVar12 = haystack + -(int)local_43c;\n  if (haystack + -(int)local_43c < local_43c) {\n    puVar12 = local_43c;\n  }\n  puVar14 = (uchar *)0x0;\n  period = (size_t)(puVar12 + 1);\n  while( true ) {\n    puVar13 = haystack + (int)puVar14;\n    pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar13 - (int)puVar9);\n    if ((puVar13 == (uchar *)0x0) || (pvVar7 != (void *)0x0)) break;\n    puVar9 = puVar13;\n    if (shift_table[puVar13[iVar3 + -1]] == 0) {\n      puVar13 = puVar14 + iVar3;\n      if (local_43c < haystack + -1) {\n        local_44c = local_43c;\n        if (puVar13[(int)local_43c] == needle_00[(int)local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);\n        }\n        puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c;\n      }\n      else {\nLAB_00033c4d:\n        puVar8 = local_43c + -1;\n        if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n        if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }\n        puVar14 = puVar14 + (int)(puVar12 + 1);\n      }\n    }\n    else {\n      puVar14 = puVar14 + shift_table[puVar13[iVar3 + -1]];\n    }\n  }\nLAB_00033cb8:\n  puVar13 = (uchar *)0x0;\nLAB_00033cba:\n  if (local_20[0] != *(size_t *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return (char *)puVar13;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t *psVar4;" primitive_type (pointer_declarator "*psVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "void *pvVar7;" primitive_type (pointer_declarator "*pvVar7" * identifier) ;) (declaration "uchar *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uchar *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "byte *needle_00;" type_identifier (pointer_declarator "*needle_00" * identifier) ;) (declaration "size_t sVar11;" primitive_type identifier ;) (declaration "uchar *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uchar *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "uchar *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar15;" type_identifier identifier ;) (declaration "uchar *local_44c;" type_identifier (pointer_declarator "*local_44c" * identifier) ;) (declaration "uchar *local_43c;" type_identifier (pointer_declarator "*local_43c" * identifier) ;) (declaration "size_t period;" primitive_type identifier ;) (declaration "size_t shift_table [256];" primitive_type (array_declarator "shift_table [256]" identifier [ number_literal ]) ;) (declaration "size_t local_20 [4];" primitive_type (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "uVar15 = __x86_get_pc_thunk_di();" (assignment_expression "uVar15 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar9 = (uchar *)((ulonglong)uVar15 >> 0x20);" (assignment_expression "puVar9 = (uchar *)((ulonglong)uVar15 >> 0x20)" identifier = (cast_expression "(uchar *)((ulonglong)uVar15 >> 0x20)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" ( (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar3 = (int)uVar15;" (assignment_expression "iVar3 = (int)uVar15" identifier = (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_20[0] = *(size_t *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20[0] = *(size_t *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(size_t *)(in_GS_OFFSET + 0x14)" * (cast_expression "(size_t *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (haystack < (uchar *)0x3) {\n    local_43c = haystack + -1;\n    period = 1;\n  }\n  else {\n    local_43c = (uchar *)critical_factorization(needle_00,(size_t)haystack,&period);\n  }" if (parenthesized_expression "(haystack < (uchar *)0x3)" ( (binary_expression "haystack < (uchar *)0x3" identifier < (cast_expression "(uchar *)0x3" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_43c = haystack + -1;\n    period = 1;\n  }" { (expression_statement "local_43c = haystack + -1;" (assignment_expression "local_43c = haystack + -1" identifier = (binary_expression "haystack + -1" identifier + number_literal)) ;) (expression_statement "period = 1;" (assignment_expression "period = 1" identifier = number_literal) ;) }) (else_clause "else {\n    local_43c = (uchar *)critical_factorization(needle_00,(size_t)haystack,&period);\n  }" else (compound_statement "{\n    local_43c = (uchar *)critical_factorization(needle_00,(size_t)haystack,&period);\n  }" { (expression_statement "local_43c = (uchar *)critical_factorization(needle_00,(size_t)haystack,&period);" (assignment_expression "local_43c = (uchar *)critical_factorization(needle_00,(size_t)haystack,&period)" identifier = (cast_expression "(uchar *)critical_factorization(needle_00,(size_t)haystack,&period)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "critical_factorization(needle_00,(size_t)haystack,&period)" identifier (argument_list "(needle_00,(size_t)haystack,&period)" ( identifier , (cast_expression "(size_t)haystack" ( (type_descriptor "size_t" primitive_type) ) identifier) , (pointer_expression "&period" & identifier) ))))) ;) }))) (expression_statement "sVar2 = period;" (assignment_expression "sVar2 = period" identifier = identifier) ;) (expression_statement "psVar4 = shift_table;" (assignment_expression "psVar4 = shift_table" identifier = identifier) ;) (do_statement "do {\n    *psVar4 = (size_t)haystack;\n    psVar4 = psVar4 + 1;\n  } while (local_20 != psVar4);" do (compound_statement "{\n    *psVar4 = (size_t)haystack;\n    psVar4 = psVar4 + 1;\n  }" { (expression_statement "*psVar4 = (size_t)haystack;" (assignment_expression "*psVar4 = (size_t)haystack" (pointer_expression "*psVar4" * identifier) = (cast_expression "(size_t)haystack" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (expression_statement "psVar4 = psVar4 + 1;" (assignment_expression "psVar4 = psVar4 + 1" identifier = (binary_expression "psVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_20 != psVar4)" ( (binary_expression "local_20 != psVar4" identifier != identifier) )) ;) (if_statement "if (haystack == (uchar *)0x0) {\n    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    puVar13 = haystack + -1;\n    pbVar5 = needle_00;\n    do {\n      bVar1 = *pbVar5;\n      sVar11 = (int)(needle_00 + (int)puVar13) - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      shift_table[bVar1] = sVar11;\n    } while (haystack + (int)needle_00 != pbVar5);\n    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);\n    if (iVar6 == 0) {\n      puVar12 = (uchar *)0x0;\n      local_44c = (uchar *)0x0;\nLAB_00033d10:\n      do {\n        puVar14 = haystack + (int)local_44c;\n        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);\n        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;\n        uVar10 = shift_table[puVar14[iVar3 + -1]];\n        puVar9 = puVar14;\n        if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }\n      } while( true );\n    }\n  }" if (parenthesized_expression "(haystack == (uchar *)0x0)" ( (binary_expression "haystack == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }" { (expression_statement "iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);" (assignment_expression "iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c)" identifier = (call_expression "memcmp(needle_00,needle_00 + period,(size_t)local_43c)" identifier (argument_list "(needle_00,needle_00 + period,(size_t)local_43c)" ( identifier , (binary_expression "needle_00 + period" identifier + identifier) , (cast_expression "(size_t)local_43c" ( (type_descriptor "size_t" primitive_type) ) identifier) )))) ;) (if_statement "if (iVar6 == 0) goto LAB_00033cb8;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00033cb8;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar13 = haystack + -1;\n    pbVar5 = needle_00;\n    do {\n      bVar1 = *pbVar5;\n      sVar11 = (int)(needle_00 + (int)puVar13) - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      shift_table[bVar1] = sVar11;\n    } while (haystack + (int)needle_00 != pbVar5);\n    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);\n    if (iVar6 == 0) {\n      puVar12 = (uchar *)0x0;\n      local_44c = (uchar *)0x0;\nLAB_00033d10:\n      do {\n        puVar14 = haystack + (int)local_44c;\n        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);\n        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;\n        uVar10 = shift_table[puVar14[iVar3 + -1]];\n        puVar9 = puVar14;\n        if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }\n      } while( true );\n    }\n  }" else (compound_statement "{\n    puVar13 = haystack + -1;\n    pbVar5 = needle_00;\n    do {\n      bVar1 = *pbVar5;\n      sVar11 = (int)(needle_00 + (int)puVar13) - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      shift_table[bVar1] = sVar11;\n    } while (haystack + (int)needle_00 != pbVar5);\n    iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);\n    if (iVar6 == 0) {\n      puVar12 = (uchar *)0x0;\n      local_44c = (uchar *)0x0;\nLAB_00033d10:\n      do {\n        puVar14 = haystack + (int)local_44c;\n        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);\n        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;\n        uVar10 = shift_table[puVar14[iVar3 + -1]];\n        puVar9 = puVar14;\n        if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }\n      } while( true );\n    }\n  }" { (expression_statement "puVar13 = haystack + -1;" (assignment_expression "puVar13 = haystack + -1" identifier = (binary_expression "haystack + -1" identifier + number_literal)) ;) (expression_statement "pbVar5 = needle_00;" (assignment_expression "pbVar5 = needle_00" identifier = identifier) ;) (do_statement "do {\n      bVar1 = *pbVar5;\n      sVar11 = (int)(needle_00 + (int)puVar13) - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      shift_table[bVar1] = sVar11;\n    } while (haystack + (int)needle_00 != pbVar5);" do (compound_statement "{\n      bVar1 = *pbVar5;\n      sVar11 = (int)(needle_00 + (int)puVar13) - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      shift_table[bVar1] = sVar11;\n    }" { (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (expression_statement "sVar11 = (int)(needle_00 + (int)puVar13) - (int)pbVar5;" (assignment_expression "sVar11 = (int)(needle_00 + (int)puVar13) - (int)pbVar5" identifier = (binary_expression "(int)(needle_00 + (int)puVar13) - (int)pbVar5" (cast_expression "(int)(needle_00 + (int)puVar13)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(needle_00 + (int)puVar13)" ( (binary_expression "needle_00 + (int)puVar13" identifier + (cast_expression "(int)puVar13" ( (type_descriptor "int" primitive_type) ) identifier)) ))) - (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "shift_table[bVar1] = sVar11;" (assignment_expression "shift_table[bVar1] = sVar11" (subscript_expression "shift_table[bVar1]" identifier [ identifier ]) = identifier) ;) }) while (parenthesized_expression "(haystack + (int)needle_00 != pbVar5)" ( (binary_expression "haystack + (int)needle_00 != pbVar5" (binary_expression "haystack + (int)needle_00" identifier + (cast_expression "(int)needle_00" ( (type_descriptor "int" primitive_type) ) identifier)) != identifier) )) ;) (expression_statement "iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c);" (assignment_expression "iVar6 = memcmp(needle_00,needle_00 + period,(size_t)local_43c)" identifier = (call_expression "memcmp(needle_00,needle_00 + period,(size_t)local_43c)" identifier (argument_list "(needle_00,needle_00 + period,(size_t)local_43c)" ( identifier , (binary_expression "needle_00 + period" identifier + identifier) , (cast_expression "(size_t)local_43c" ( (type_descriptor "size_t" primitive_type) ) identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n      puVar12 = (uchar *)0x0;\n      local_44c = (uchar *)0x0;\nLAB_00033d10:\n      do {\n        puVar14 = haystack + (int)local_44c;\n        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);\n        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;\n        uVar10 = shift_table[puVar14[iVar3 + -1]];\n        puVar9 = puVar14;\n        if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }\n      } while( true );\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar12 = (uchar *)0x0;\n      local_44c = (uchar *)0x0;\nLAB_00033d10:\n      do {\n        puVar14 = haystack + (int)local_44c;\n        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);\n        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;\n        uVar10 = shift_table[puVar14[iVar3 + -1]];\n        puVar9 = puVar14;\n        if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }\n      } while( true );\n    }" { (expression_statement "puVar12 = (uchar *)0x0;" (assignment_expression "puVar12 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_44c = (uchar *)0x0;" (assignment_expression "local_44c = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00033d10:\n      do {\n        puVar14 = haystack + (int)local_44c;\n        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);\n        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;\n        uVar10 = shift_table[puVar14[iVar3 + -1]];\n        puVar9 = puVar14;\n        if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }\n      } while( true );" statement_identifier : (do_statement "do {\n        puVar14 = haystack + (int)local_44c;\n        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);\n        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;\n        uVar10 = shift_table[puVar14[iVar3 + -1]];\n        puVar9 = puVar14;\n        if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }\n      } while( true );" do (compound_statement "{\n        puVar14 = haystack + (int)local_44c;\n        pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);\n        if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;\n        uVar10 = shift_table[puVar14[iVar3 + -1]];\n        puVar9 = puVar14;\n        if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }\n      }" { (expression_statement "puVar14 = haystack + (int)local_44c;" (assignment_expression "puVar14 = haystack + (int)local_44c" identifier = (binary_expression "haystack + (int)local_44c" identifier + (cast_expression "(int)local_44c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9);" (assignment_expression "pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9)" identifier = (call_expression "rpl_memchr(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9)" identifier (argument_list "(puVar9 + iVar3,0,(int)puVar14 - (int)puVar9)" ( (binary_expression "puVar9 + iVar3" identifier + identifier) , number_literal , (binary_expression "(int)puVar14 - (int)puVar9" (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if ((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)) goto LAB_00033cb8;" if (parenthesized_expression "((pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0))" ( (binary_expression "(pvVar7 != (void *)0x0) || (puVar14 == (uchar *)0x0)" (parenthesized_expression "(pvVar7 != (void *)0x0)" ( (binary_expression "pvVar7 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(puVar14 == (uchar *)0x0)" ( (binary_expression "puVar14 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (goto_statement "goto LAB_00033cb8;" goto statement_identifier ;)) (expression_statement "uVar10 = shift_table[puVar14[iVar3 + -1]];" (assignment_expression "uVar10 = shift_table[puVar14[iVar3 + -1]]" identifier = (subscript_expression "shift_table[puVar14[iVar3 + -1]]" identifier [ (subscript_expression "puVar14[iVar3 + -1]" identifier [ (binary_expression "iVar3 + -1" identifier + number_literal) ]) ])) ;) (expression_statement "puVar9 = puVar14;" (assignment_expression "puVar9 = puVar14" identifier = identifier) ;) (if_statement "if (uVar10 == 0) {\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }\n        else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }" if (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) (compound_statement "{\n          puVar14 = local_43c;\n          if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }\n          if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }\n          puVar14 = local_43c;\n          if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }\n          if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + sVar2;\n          puVar12 = haystack + -sVar2;\n        }" { (expression_statement "puVar14 = local_43c;" (assignment_expression "puVar14 = local_43c" identifier = identifier) ;) (if_statement "if (local_43c <= puVar12) {\n            puVar14 = puVar12;\n          }" if (parenthesized_expression "(local_43c <= puVar12)" ( (binary_expression "local_43c <= puVar12" identifier <= identifier) )) (compound_statement "{\n            puVar14 = puVar12;\n          }" { (expression_statement "puVar14 = puVar12;" (assignment_expression "puVar14 = puVar12" identifier = identifier) ;) })) (if_statement "if (puVar14 < puVar13) {\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }" if (parenthesized_expression "(puVar14 < puVar13)" ( (binary_expression "puVar14 < puVar13" identifier < identifier) )) (compound_statement "{\n            do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);\n          }" { (do_statement "do {\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            } while (puVar14 != puVar13);" do (compound_statement "{\n              if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }\n              puVar14 = puVar14 + 1;\n            }" { (if_statement "if (needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]) {\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }" if (parenthesized_expression "(needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)])" ( (binary_expression "needle_00[(int)puVar14] != puVar14[(int)(local_44c + iVar3)]" (subscript_expression "needle_00[(int)puVar14]" identifier [ (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier) ]) != (subscript_expression "puVar14[(int)(local_44c + iVar3)]" identifier [ (cast_expression "(int)(local_44c + iVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_44c + iVar3)" ( (binary_expression "local_44c + iVar3" identifier + identifier) ))) ])) )) (compound_statement "{\n                puVar12 = (uchar *)0x0;\n                local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;\n                goto LAB_00033d10;\n              }" { (expression_statement "puVar12 = (uchar *)0x0;" (assignment_expression "puVar12 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14;" (assignment_expression "local_44c = local_44c + (1 - (int)local_43c) + (int)puVar14" identifier = (binary_expression "local_44c + (1 - (int)local_43c) + (int)puVar14" (binary_expression "local_44c + (1 - (int)local_43c)" identifier + (parenthesized_expression "(1 - (int)local_43c)" ( (binary_expression "1 - (int)local_43c" number_literal - (cast_expression "(int)local_43c" ( (type_descriptor "int" primitive_type) ) identifier)) ))) + (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00033d10;" goto statement_identifier ;) })) (expression_statement "puVar14 = puVar14 + 1;" (assignment_expression "puVar14 = puVar14 + 1" identifier = (binary_expression "puVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar14 != puVar13)" ( (binary_expression "puVar14 != puVar13" identifier != identifier) )) ;) })) (expression_statement "puVar14 = local_43c;" (assignment_expression "puVar14 = local_43c" identifier = identifier) ;) (if_statement "if ((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])) {\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }" if (parenthesized_expression "((puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c]))" ( (binary_expression "(puVar12 < local_43c) &&\n             (puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])" (parenthesized_expression "(puVar12 < local_43c)" ( (binary_expression "puVar12 < local_43c" identifier < identifier) )) && (parenthesized_expression "(puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c])" ( (comma_expression "puVar8 = local_43c + -1,\n             (local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c]" (assignment_expression "puVar8 = local_43c + -1" identifier = (binary_expression "local_43c + -1" identifier + number_literal)) , (binary_expression "(local_43c + -1)[(int)(local_44c + iVar3)] == (needle_00 + -1)[(int)local_43c]" (subscript_expression "(local_43c + -1)[(int)(local_44c + iVar3)]" (parenthesized_expression "(local_43c + -1)" ( (binary_expression "local_43c + -1" identifier + number_literal) )) [ (cast_expression "(int)(local_44c + iVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_44c + iVar3)" ( (binary_expression "local_44c + iVar3" identifier + identifier) ))) ]) == (subscript_expression "(needle_00 + -1)[(int)local_43c]" (parenthesized_expression "(needle_00 + -1)" ( (binary_expression "needle_00 + -1" identifier + number_literal) )) [ (cast_expression "(int)local_43c" ( (type_descriptor "int" primitive_type) ) identifier) ]))) ))) )) (compound_statement "{\n            do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);\n          }" { (do_statement "do {\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            } while ((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]);" do (compound_statement "{\n              puVar14 = puVar8;\n              if (puVar12 == puVar14) break;\n              puVar8 = puVar14 + -1;\n            }" { (expression_statement "puVar14 = puVar8;" (assignment_expression "puVar14 = puVar8" identifier = identifier) ;) (if_statement "if (puVar12 == puVar14) break;" if (parenthesized_expression "(puVar12 == puVar14)" ( (binary_expression "puVar12 == puVar14" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "puVar8 = puVar14 + -1;" (assignment_expression "puVar8 = puVar14 + -1" identifier = (binary_expression "puVar14 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "((needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)])" ( (binary_expression "(needle_00 + -1)[(int)puVar14] == (puVar14 + -1)[(int)(local_44c + iVar3)]" (subscript_expression "(needle_00 + -1)[(int)puVar14]" (parenthesized_expression "(needle_00 + -1)" ( (binary_expression "needle_00 + -1" identifier + number_literal) )) [ (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier) ]) == (subscript_expression "(puVar14 + -1)[(int)(local_44c + iVar3)]" (parenthesized_expression "(puVar14 + -1)" ( (binary_expression "puVar14 + -1" identifier + number_literal) )) [ (cast_expression "(int)(local_44c + iVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(local_44c + iVar3)" ( (binary_expression "local_44c + iVar3" identifier + identifier) ))) ])) )) ;) })) (if_statement "if (puVar14 < puVar12 + 1) {\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }" if (parenthesized_expression "(puVar14 < puVar12 + 1)" ( (binary_expression "puVar14 < puVar12 + 1" identifier < (binary_expression "puVar12 + 1" identifier + number_literal)) )) (compound_statement "{\n            puVar13 = local_44c + iVar3;\n            goto LAB_00033cba;\n          }" { (expression_statement "puVar13 = local_44c + iVar3;" (assignment_expression "puVar13 = local_44c + iVar3" identifier = (binary_expression "local_44c + iVar3" identifier + identifier)) ;) (goto_statement "goto LAB_00033cba;" goto statement_identifier ;) })) (expression_statement "local_44c = local_44c + sVar2;" (assignment_expression "local_44c = local_44c + sVar2" identifier = (binary_expression "local_44c + sVar2" identifier + identifier)) ;) (expression_statement "puVar12 = haystack + -sVar2;" (assignment_expression "puVar12 = haystack + -sVar2" identifier = (binary_expression "haystack + -sVar2" identifier + (unary_expression "-sVar2" - identifier))) ;) }) (else_clause "else {\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }" else (compound_statement "{\n          if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }\n          local_44c = local_44c + uVar10;\n          puVar12 = (uchar *)0x0;\n        }" { (if_statement "if ((uVar10 < sVar2) && (puVar12 != (uchar *)0x0)) {\n            uVar10 = (int)haystack - sVar2;\n          }" if (parenthesized_expression "((uVar10 < sVar2) && (puVar12 != (uchar *)0x0))" ( (binary_expression "(uVar10 < sVar2) && (puVar12 != (uchar *)0x0)" (parenthesized_expression "(uVar10 < sVar2)" ( (binary_expression "uVar10 < sVar2" identifier < identifier) )) && (parenthesized_expression "(puVar12 != (uchar *)0x0)" ( (binary_expression "puVar12 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n            uVar10 = (int)haystack - sVar2;\n          }" { (expression_statement "uVar10 = (int)haystack - sVar2;" (assignment_expression "uVar10 = (int)haystack - sVar2" identifier = (binary_expression "(int)haystack - sVar2" (cast_expression "(int)haystack" ( (type_descriptor "int" primitive_type) ) identifier) - identifier)) ;) })) (expression_statement "local_44c = local_44c + uVar10;" (assignment_expression "local_44c = local_44c + uVar10" identifier = (binary_expression "local_44c + uVar10" identifier + identifier)) ;) (expression_statement "puVar12 = (uchar *)0x0;" (assignment_expression "puVar12 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;)) })) }))) (expression_statement "puVar12 = haystack + -(int)local_43c;" (assignment_expression "puVar12 = haystack + -(int)local_43c" identifier = (binary_expression "haystack + -(int)local_43c" identifier + (unary_expression "-(int)local_43c" - (cast_expression "(int)local_43c" ( (type_descriptor "int" primitive_type) ) identifier)))) ;) (if_statement "if (haystack + -(int)local_43c < local_43c) {\n    puVar12 = local_43c;\n  }" if (parenthesized_expression "(haystack + -(int)local_43c < local_43c)" ( (binary_expression "haystack + -(int)local_43c < local_43c" (binary_expression "haystack + -(int)local_43c" identifier + (unary_expression "-(int)local_43c" - (cast_expression "(int)local_43c" ( (type_descriptor "int" primitive_type) ) identifier))) < identifier) )) (compound_statement "{\n    puVar12 = local_43c;\n  }" { (expression_statement "puVar12 = local_43c;" (assignment_expression "puVar12 = local_43c" identifier = identifier) ;) })) (expression_statement "puVar14 = (uchar *)0x0;" (assignment_expression "puVar14 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "period = (size_t)(puVar12 + 1);" (assignment_expression "period = (size_t)(puVar12 + 1)" identifier = (cast_expression "(size_t)(puVar12 + 1)" ( (type_descriptor "size_t" primitive_type) ) (parenthesized_expression "(puVar12 + 1)" ( (binary_expression "puVar12 + 1" identifier + number_literal) )))) ;) (while_statement "while( true ) {\n    puVar13 = haystack + (int)puVar14;\n    pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar13 - (int)puVar9);\n    if ((puVar13 == (uchar *)0x0) || (pvVar7 != (void *)0x0)) break;\n    puVar9 = puVar13;\n    if (shift_table[puVar13[iVar3 + -1]] == 0) {\n      puVar13 = puVar14 + iVar3;\n      if (local_43c < haystack + -1) {\n        local_44c = local_43c;\n        if (puVar13[(int)local_43c] == needle_00[(int)local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);\n        }\n        puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c;\n      }\n      else {\nLAB_00033c4d:\n        puVar8 = local_43c + -1;\n        if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n        if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }\n        puVar14 = puVar14 + (int)(puVar12 + 1);\n      }\n    }\n    else {\n      puVar14 = puVar14 + shift_table[puVar13[iVar3 + -1]];\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    puVar13 = haystack + (int)puVar14;\n    pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar13 - (int)puVar9);\n    if ((puVar13 == (uchar *)0x0) || (pvVar7 != (void *)0x0)) break;\n    puVar9 = puVar13;\n    if (shift_table[puVar13[iVar3 + -1]] == 0) {\n      puVar13 = puVar14 + iVar3;\n      if (local_43c < haystack + -1) {\n        local_44c = local_43c;\n        if (puVar13[(int)local_43c] == needle_00[(int)local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);\n        }\n        puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c;\n      }\n      else {\nLAB_00033c4d:\n        puVar8 = local_43c + -1;\n        if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n        if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }\n        puVar14 = puVar14 + (int)(puVar12 + 1);\n      }\n    }\n    else {\n      puVar14 = puVar14 + shift_table[puVar13[iVar3 + -1]];\n    }\n  }" { (expression_statement "puVar13 = haystack + (int)puVar14;" (assignment_expression "puVar13 = haystack + (int)puVar14" identifier = (binary_expression "haystack + (int)puVar14" identifier + (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar13 - (int)puVar9);" (assignment_expression "pvVar7 = rpl_memchr(puVar9 + iVar3,0,(int)puVar13 - (int)puVar9)" identifier = (call_expression "rpl_memchr(puVar9 + iVar3,0,(int)puVar13 - (int)puVar9)" identifier (argument_list "(puVar9 + iVar3,0,(int)puVar13 - (int)puVar9)" ( (binary_expression "puVar9 + iVar3" identifier + identifier) , number_literal , (binary_expression "(int)puVar13 - (int)puVar9" (cast_expression "(int)puVar13" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if ((puVar13 == (uchar *)0x0) || (pvVar7 != (void *)0x0)) break;" if (parenthesized_expression "((puVar13 == (uchar *)0x0) || (pvVar7 != (void *)0x0))" ( (binary_expression "(puVar13 == (uchar *)0x0) || (pvVar7 != (void *)0x0)" (parenthesized_expression "(puVar13 == (uchar *)0x0)" ( (binary_expression "puVar13 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pvVar7 != (void *)0x0)" ( (binary_expression "pvVar7 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "puVar9 = puVar13;" (assignment_expression "puVar9 = puVar13" identifier = identifier) ;) (if_statement "if (shift_table[puVar13[iVar3 + -1]] == 0) {\n      puVar13 = puVar14 + iVar3;\n      if (local_43c < haystack + -1) {\n        local_44c = local_43c;\n        if (puVar13[(int)local_43c] == needle_00[(int)local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);\n        }\n        puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c;\n      }\n      else {\nLAB_00033c4d:\n        puVar8 = local_43c + -1;\n        if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n        if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }\n        puVar14 = puVar14 + (int)(puVar12 + 1);\n      }\n    }\n    else {\n      puVar14 = puVar14 + shift_table[puVar13[iVar3 + -1]];\n    }" if (parenthesized_expression "(shift_table[puVar13[iVar3 + -1]] == 0)" ( (binary_expression "shift_table[puVar13[iVar3 + -1]] == 0" (subscript_expression "shift_table[puVar13[iVar3 + -1]]" identifier [ (subscript_expression "puVar13[iVar3 + -1]" identifier [ (binary_expression "iVar3 + -1" identifier + number_literal) ]) ]) == number_literal) )) (compound_statement "{\n      puVar13 = puVar14 + iVar3;\n      if (local_43c < haystack + -1) {\n        local_44c = local_43c;\n        if (puVar13[(int)local_43c] == needle_00[(int)local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);\n        }\n        puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c;\n      }\n      else {\nLAB_00033c4d:\n        puVar8 = local_43c + -1;\n        if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n        if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }\n        puVar14 = puVar14 + (int)(puVar12 + 1);\n      }\n    }" { (expression_statement "puVar13 = puVar14 + iVar3;" (assignment_expression "puVar13 = puVar14 + iVar3" identifier = (binary_expression "puVar14 + iVar3" identifier + identifier)) ;) (if_statement "if (local_43c < haystack + -1) {\n        local_44c = local_43c;\n        if (puVar13[(int)local_43c] == needle_00[(int)local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);\n        }\n        puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c;\n      }\n      else {\nLAB_00033c4d:\n        puVar8 = local_43c + -1;\n        if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n        if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }\n        puVar14 = puVar14 + (int)(puVar12 + 1);\n      }" if (parenthesized_expression "(local_43c < haystack + -1)" ( (binary_expression "local_43c < haystack + -1" identifier < (binary_expression "haystack + -1" identifier + number_literal)) )) (compound_statement "{\n        local_44c = local_43c;\n        if (puVar13[(int)local_43c] == needle_00[(int)local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);\n        }\n        puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c;\n      }" { (expression_statement "local_44c = local_43c;" (assignment_expression "local_44c = local_43c" identifier = identifier) ;) (if_statement "if (puVar13[(int)local_43c] == needle_00[(int)local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);\n        }" if (parenthesized_expression "(puVar13[(int)local_43c] == needle_00[(int)local_43c])" ( (binary_expression "puVar13[(int)local_43c] == needle_00[(int)local_43c]" (subscript_expression "puVar13[(int)local_43c]" identifier [ (cast_expression "(int)local_43c" ( (type_descriptor "int" primitive_type) ) identifier) ]) == (subscript_expression "needle_00[(int)local_43c]" identifier [ (cast_expression "(int)local_43c" ( (type_descriptor "int" primitive_type) ) identifier) ])) )) (compound_statement "{\n          do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);\n        }" { (do_statement "do {\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          } while (needle_00[(int)local_44c] == puVar13[(int)local_44c]);" do (compound_statement "{\n            local_44c = local_44c + 1;\n            if (haystack + -1 <= local_44c) goto LAB_00033c4d;\n          }" { (expression_statement "local_44c = local_44c + 1;" (assignment_expression "local_44c = local_44c + 1" identifier = (binary_expression "local_44c + 1" identifier + number_literal)) ;) (if_statement "if (haystack + -1 <= local_44c) goto LAB_00033c4d;" if (parenthesized_expression "(haystack + -1 <= local_44c)" ( (binary_expression "haystack + -1 <= local_44c" (binary_expression "haystack + -1" identifier + number_literal) <= identifier) )) (goto_statement "goto LAB_00033c4d;" goto statement_identifier ;)) }) while (parenthesized_expression "(needle_00[(int)local_44c] == puVar13[(int)local_44c])" ( (binary_expression "needle_00[(int)local_44c] == puVar13[(int)local_44c]" (subscript_expression "needle_00[(int)local_44c]" identifier [ (cast_expression "(int)local_44c" ( (type_descriptor "int" primitive_type) ) identifier) ]) == (subscript_expression "puVar13[(int)local_44c]" identifier [ (cast_expression "(int)local_44c" ( (type_descriptor "int" primitive_type) ) identifier) ])) )) ;) })) (expression_statement "puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c;" (assignment_expression "puVar14 = puVar14 + (1 - (int)local_43c) + (int)local_44c" identifier = (binary_expression "puVar14 + (1 - (int)local_43c) + (int)local_44c" (binary_expression "puVar14 + (1 - (int)local_43c)" identifier + (parenthesized_expression "(1 - (int)local_43c)" ( (binary_expression "1 - (int)local_43c" number_literal - (cast_expression "(int)local_43c" ( (type_descriptor "int" primitive_type) ) identifier)) ))) + (cast_expression "(int)local_44c" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\nLAB_00033c4d:\n        puVar8 = local_43c + -1;\n        if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n        if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }\n        puVar14 = puVar14 + (int)(puVar12 + 1);\n      }" else (compound_statement "{\nLAB_00033c4d:\n        puVar8 = local_43c + -1;\n        if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n        if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }\n        puVar14 = puVar14 + (int)(puVar12 + 1);\n      }" { (labeled_statement "LAB_00033c4d:\n        puVar8 = local_43c + -1;" statement_identifier : (expression_statement "puVar8 = local_43c + -1;" (assignment_expression "puVar8 = local_43c + -1" identifier = (binary_expression "local_43c + -1" identifier + number_literal)) ;)) (if_statement "if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;" if (parenthesized_expression "(puVar8 == (uchar *)0xffffffff)" ( (binary_expression "puVar8 == (uchar *)0xffffffff" identifier == (cast_expression "(uchar *)0xffffffff" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00033cba;" goto statement_identifier ;)) (if_statement "if (puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]) {\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }" if (parenthesized_expression "(puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c])" ( (binary_expression "puVar13[(int)puVar8] == (needle_00 + -1)[(int)local_43c]" (subscript_expression "puVar13[(int)puVar8]" identifier [ (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) ]) == (subscript_expression "(needle_00 + -1)[(int)local_43c]" (parenthesized_expression "(needle_00 + -1)" ( (binary_expression "needle_00 + -1" identifier + number_literal) )) [ (cast_expression "(int)local_43c" ( (type_descriptor "int" primitive_type) ) identifier) ])) )) (compound_statement "{\n          do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);\n        }" { (do_statement "do {\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          } while (needle_00[(int)puVar8] == puVar13[(int)puVar8]);" do (compound_statement "{\n            puVar8 = puVar8 + -1;\n            if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;\n          }" { (expression_statement "puVar8 = puVar8 + -1;" (assignment_expression "puVar8 = puVar8 + -1" identifier = (binary_expression "puVar8 + -1" identifier + number_literal)) ;) (if_statement "if (puVar8 == (uchar *)0xffffffff) goto LAB_00033cba;" if (parenthesized_expression "(puVar8 == (uchar *)0xffffffff)" ( (binary_expression "puVar8 == (uchar *)0xffffffff" identifier == (cast_expression "(uchar *)0xffffffff" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00033cba;" goto statement_identifier ;)) }) while (parenthesized_expression "(needle_00[(int)puVar8] == puVar13[(int)puVar8])" ( (binary_expression "needle_00[(int)puVar8] == puVar13[(int)puVar8]" (subscript_expression "needle_00[(int)puVar8]" identifier [ (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) ]) == (subscript_expression "puVar13[(int)puVar8]" identifier [ (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) ])) )) ;) })) (expression_statement "puVar14 = puVar14 + (int)(puVar12 + 1);" (assignment_expression "puVar14 = puVar14 + (int)(puVar12 + 1)" identifier = (binary_expression "puVar14 + (int)(puVar12 + 1)" identifier + (cast_expression "(int)(puVar12 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar12 + 1)" ( (binary_expression "puVar12 + 1" identifier + number_literal) ))))) ;) }))) }) (else_clause "else {\n      puVar14 = puVar14 + shift_table[puVar13[iVar3 + -1]];\n    }" else (compound_statement "{\n      puVar14 = puVar14 + shift_table[puVar13[iVar3 + -1]];\n    }" { (expression_statement "puVar14 = puVar14 + shift_table[puVar13[iVar3 + -1]];" (assignment_expression "puVar14 = puVar14 + shift_table[puVar13[iVar3 + -1]]" identifier = (binary_expression "puVar14 + shift_table[puVar13[iVar3 + -1]]" identifier + (subscript_expression "shift_table[puVar13[iVar3 + -1]]" identifier [ (subscript_expression "puVar13[iVar3 + -1]" identifier [ (binary_expression "iVar3 + -1" identifier + number_literal) ]) ]))) ;) }))) })) (labeled_statement "LAB_00033cb8:\n  puVar13 = (uchar *)0x0;" statement_identifier : (expression_statement "puVar13 = (uchar *)0x0;" (assignment_expression "puVar13 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (labeled_statement "LAB_00033cba:\n  if (local_20[0] != *(size_t *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (local_20[0] != *(size_t *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(local_20[0] != *(size_t *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20[0] != *(size_t *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_20[0]" identifier [ number_literal ]) != (pointer_expression "*(size_t *)(in_GS_OFFSET + 0x14)" * (cast_expression "(size_t *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return (char *)puVar13;" return (cast_expression "(char *)puVar13" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })))
(translation_unit "int FUN_00033aa0(uint param_1)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  uint *puVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  int iVar9;\n  byte *__s1;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  uint local_44c;\n  uint local_43c;\n  uint local_438;\n  uint local_424;\n  uint local_420 [256];\n  uint local_20 [4];\n  \n  uVar13 = FUN_00019083();\n  iVar8 = (int)((ulonglong)uVar13 >> 0x20);\n  iVar3 = (int)uVar13;\n  local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);\n  if (param_1 < 3) {\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }\n  else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }\n  puVar4 = local_420;\n  do {\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  } while (local_20 != puVar4);\n  if (param_1 == 0) {\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }\n  uVar7 = param_1 - local_43c;\n  if (param_1 - local_43c < local_43c) {\n    uVar7 = local_43c;\n  }\n  iVar12 = 0;\n  while( true ) {\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }\nLAB_00033cb8:\n  iVar6 = 0;\nLAB_00033cba:\n  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00036030();\n  }\n  return iVar6;\n}\n\n" (function_definition "int FUN_00033aa0(uint param_1)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  uint *puVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  int iVar9;\n  byte *__s1;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  uint local_44c;\n  uint local_43c;\n  uint local_438;\n  uint local_424;\n  uint local_420 [256];\n  uint local_20 [4];\n  \n  uVar13 = FUN_00019083();\n  iVar8 = (int)((ulonglong)uVar13 >> 0x20);\n  iVar3 = (int)uVar13;\n  local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);\n  if (param_1 < 3) {\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }\n  else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }\n  puVar4 = local_420;\n  do {\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  } while (local_20 != puVar4);\n  if (param_1 == 0) {\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }\n  uVar7 = param_1 - local_43c;\n  if (param_1 - local_43c < local_43c) {\n    uVar7 = local_43c;\n  }\n  iVar12 = 0;\n  while( true ) {\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }\nLAB_00033cb8:\n  iVar6 = 0;\nLAB_00033cba:\n  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00036030();\n  }\n  return iVar6;\n}" primitive_type (function_declarator "FUN_00033aa0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  uint *puVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  int iVar9;\n  byte *__s1;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  uint local_44c;\n  uint local_43c;\n  uint local_438;\n  uint local_424;\n  uint local_420 [256];\n  uint local_20 [4];\n  \n  uVar13 = FUN_00019083();\n  iVar8 = (int)((ulonglong)uVar13 >> 0x20);\n  iVar3 = (int)uVar13;\n  local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);\n  if (param_1 < 3) {\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }\n  else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }\n  puVar4 = local_420;\n  do {\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  } while (local_20 != puVar4);\n  if (param_1 == 0) {\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }\n  uVar7 = param_1 - local_43c;\n  if (param_1 - local_43c < local_43c) {\n    uVar7 = local_43c;\n  }\n  iVar12 = 0;\n  while( true ) {\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }\nLAB_00033cb8:\n  iVar6 = 0;\nLAB_00033cba:\n  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00036030();\n  }\n  return iVar6;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "byte *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar13;" type_identifier identifier ;) (declaration "uint local_44c;" type_identifier identifier ;) (declaration "uint local_43c;" type_identifier identifier ;) (declaration "uint local_438;" type_identifier identifier ;) (declaration "uint local_424;" type_identifier identifier ;) (declaration "uint local_420 [256];" type_identifier (array_declarator "local_420 [256]" identifier [ number_literal ]) ;) (declaration "uint local_20 [4];" type_identifier (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "uVar13 = FUN_00019083();" (assignment_expression "uVar13 = FUN_00019083()" identifier = (call_expression "FUN_00019083()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = (int)((ulonglong)uVar13 >> 0x20);" (assignment_expression "iVar8 = (int)((ulonglong)uVar13 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar3 = (int)uVar13;" (assignment_expression "iVar3 = (int)uVar13" identifier = (cast_expression "(int)uVar13" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20[0] = *(uint *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" * (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 < 3) {\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }\n  else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }" if (parenthesized_expression "(param_1 < 3)" ( (binary_expression "param_1 < 3" identifier < number_literal) )) (compound_statement "{\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }" { (expression_statement "local_43c = param_1 - 1;" (assignment_expression "local_43c = param_1 - 1" identifier = (binary_expression "param_1 - 1" identifier - number_literal)) ;) (expression_statement "local_438 = 1;" (assignment_expression "local_438 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }" else (compound_statement "{\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }" { (expression_statement "local_43c = FUN_00033950();" (assignment_expression "local_43c = FUN_00033950()" identifier = (call_expression "FUN_00033950()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_438 = local_424;" (assignment_expression "local_438 = local_424" identifier = identifier) ;) }))) (expression_statement "puVar4 = local_420;" (assignment_expression "puVar4 = local_420" identifier = identifier) ;) (do_statement "do {\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  } while (local_20 != puVar4);" do (compound_statement "{\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  }" { (expression_statement "*puVar4 = param_1;" (assignment_expression "*puVar4 = param_1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_20 != puVar4)" ( (binary_expression "local_20 != puVar4" identifier != identifier) )) ;) (if_statement "if (param_1 == 0) {\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }" { (expression_statement "iVar6 = memcmp(__s1,__s1 + local_438,local_43c);" (assignment_expression "iVar6 = memcmp(__s1,__s1 + local_438,local_43c)" identifier = (call_expression "memcmp(__s1,__s1 + local_438,local_43c)" identifier (argument_list "(__s1,__s1 + local_438,local_43c)" ( identifier , (binary_expression "__s1 + local_438" identifier + identifier) , identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_00033cb8;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00033cb8;" goto statement_identifier ;)) }) (else_clause "else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }" else (compound_statement "{\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }" { (expression_statement "uVar7 = param_1 - 1;" (assignment_expression "uVar7 = param_1 - 1" identifier = (binary_expression "param_1 - 1" identifier - number_literal)) ;) (expression_statement "pbVar5 = __s1;" (assignment_expression "pbVar5 = __s1" identifier = identifier) ;) (do_statement "do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);" do (compound_statement "{\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    }" { (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (expression_statement "iVar6 = uVar7 - (int)pbVar5;" (assignment_expression "iVar6 = uVar7 - (int)pbVar5" identifier = (binary_expression "uVar7 - (int)pbVar5" identifier - (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "local_420[bVar1] = (uint)(__s1 + iVar6);" (assignment_expression "local_420[bVar1] = (uint)(__s1 + iVar6)" (subscript_expression "local_420[bVar1]" identifier [ identifier ]) = (call_expression "(uint)(__s1 + iVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(__s1 + iVar6)" ( (binary_expression "__s1 + iVar6" identifier + identifier) )))) ;) }) while (parenthesized_expression "(__s1 + param_1 != pbVar5)" ( (binary_expression "__s1 + param_1 != pbVar5" (binary_expression "__s1 + param_1" identifier + identifier) != identifier) )) ;) (expression_statement "iVar6 = memcmp(__s1,__s1 + local_438,local_43c);" (assignment_expression "iVar6 = memcmp(__s1,__s1 + local_438,local_43c)" identifier = (call_expression "memcmp(__s1,__s1 + local_438,local_43c)" identifier (argument_list "(__s1,__s1 + local_438,local_43c)" ( identifier , (binary_expression "__s1 + local_438" identifier + identifier) , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "local_44c = 0;" (assignment_expression "local_44c = 0" identifier = number_literal) ;) (labeled_statement "LAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );" statement_identifier : (do_statement "do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );" do (compound_statement "{\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      }" { (expression_statement "iVar6 = local_44c + param_1;" (assignment_expression "iVar6 = local_44c + param_1" identifier = (binary_expression "local_44c + param_1" identifier + identifier)) ;) (expression_statement "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);" (assignment_expression "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" identifier = (call_expression "FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" identifier (argument_list "(iVar8 + iVar3,0,iVar6 - iVar8)" ( (binary_expression "iVar8 + iVar3" identifier + identifier) , number_literal , (binary_expression "iVar6 - iVar8" identifier - identifier) )))) ;) (if_statement "if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;" if (parenthesized_expression "((iVar8 != 0) || (iVar6 == 0))" ( (binary_expression "(iVar8 != 0) || (iVar6 == 0)" (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) ))) )) (goto_statement "goto LAB_00033cb8;" goto statement_identifier ;)) (expression_statement "uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];" (assignment_expression "uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier = (subscript_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier [ (pointer_expression "*(byte *)(iVar3 + -1 + iVar6)" * (cast_expression "(byte *)(iVar3 + -1 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -1 + iVar6)" ( (binary_expression "iVar3 + -1 + iVar6" (binary_expression "iVar3 + -1" identifier + number_literal) + identifier) )))) ])) ;) (expression_statement "iVar8 = iVar6;" (assignment_expression "iVar8 = iVar6" identifier = identifier) ;) (if_statement "if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }" if (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }" { (expression_statement "uVar10 = local_43c;" (assignment_expression "uVar10 = local_43c" identifier = identifier) ;) (if_statement "if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }" if (parenthesized_expression "(local_43c <= uVar11)" ( (binary_expression "local_43c <= uVar11" identifier <= identifier) )) (compound_statement "{\n            uVar10 = uVar11;\n          }" { (expression_statement "uVar10 = uVar11;" (assignment_expression "uVar10 = uVar11" identifier = identifier) ;) })) (if_statement "if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }" if (parenthesized_expression "(uVar10 < uVar7)" ( (binary_expression "uVar10 < uVar7" identifier < identifier) )) (compound_statement "{\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }" { (do_statement "do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);" do (compound_statement "{\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            }" { (if_statement "if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }" if (parenthesized_expression "(__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10))" ( (binary_expression "__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)" (subscript_expression "__s1[uVar10]" identifier [ identifier ]) != (pointer_expression "*(byte *)(iVar3 + local_44c + uVar10)" * (cast_expression "(byte *)(iVar3 + local_44c + uVar10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + local_44c + uVar10)" ( (binary_expression "iVar3 + local_44c + uVar10" (binary_expression "iVar3 + local_44c" identifier + identifier) + identifier) ))))) )) (compound_statement "{\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "local_44c = local_44c + (1 - local_43c) + uVar10;" (assignment_expression "local_44c = local_44c + (1 - local_43c) + uVar10" identifier = (binary_expression "local_44c + (1 - local_43c) + uVar10" (binary_expression "local_44c + (1 - local_43c)" identifier + (parenthesized_expression "(1 - local_43c)" ( (binary_expression "1 - local_43c" number_literal - identifier) ))) + identifier)) ;) (goto_statement "goto LAB_00033d10;" goto statement_identifier ;) })) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar10 != uVar7)" ( (binary_expression "uVar10 != uVar7" identifier != identifier) )) ;) })) (expression_statement "uVar10 = local_43c;" (assignment_expression "uVar10 = local_43c" identifier = identifier) ;) (if_statement "if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }" if (parenthesized_expression "((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1]))" ( (binary_expression "(uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])" (parenthesized_expression "(uVar11 < local_43c)" ( (binary_expression "uVar11 < local_43c" identifier < identifier) )) && (parenthesized_expression "(uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])" ( (comma_expression "uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1]" (assignment_expression "uVar2 = local_43c - 1" identifier = (binary_expression "local_43c - 1" identifier - number_literal)) , (binary_expression "*(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1]" (pointer_expression "*(byte *)(iVar3 + local_44c + (local_43c - 1))" * (cast_expression "(byte *)(iVar3 + local_44c + (local_43c - 1))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + local_44c + (local_43c - 1))" ( (binary_expression "iVar3 + local_44c + (local_43c - 1)" (binary_expression "iVar3 + local_44c" identifier + identifier) + (parenthesized_expression "(local_43c - 1)" ( (binary_expression "local_43c - 1" identifier - number_literal) ))) )))) == (subscript_expression "__s1[local_43c - 1]" identifier [ (binary_expression "local_43c - 1" identifier - number_literal) ]))) ))) )) (compound_statement "{\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }" { (do_statement "do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));" do (compound_statement "{\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            }" { (expression_statement "uVar10 = uVar2;" (assignment_expression "uVar10 = uVar2" identifier = identifier) ;) (if_statement "if (uVar11 == uVar10) break;" if (parenthesized_expression "(uVar11 == uVar10)" ( (binary_expression "uVar11 == uVar10" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar2 = uVar10 - 1;" (assignment_expression "uVar2 = uVar10 - 1" identifier = (binary_expression "uVar10 - 1" identifier - number_literal)) ;) }) while (parenthesized_expression "(__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c))" ( (binary_expression "__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c)" (subscript_expression "__s1[uVar10 - 1]" identifier [ (binary_expression "uVar10 - 1" identifier - number_literal) ]) == (pointer_expression "*(byte *)((uVar10 - 1) + iVar3 + local_44c)" * (cast_expression "(byte *)((uVar10 - 1) + iVar3 + local_44c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar10 - 1) + iVar3 + local_44c)" ( (binary_expression "(uVar10 - 1) + iVar3 + local_44c" (binary_expression "(uVar10 - 1) + iVar3" (parenthesized_expression "(uVar10 - 1)" ( (binary_expression "uVar10 - 1" identifier - number_literal) )) + identifier) + identifier) ))))) )) ;) })) (if_statement "if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }" if (parenthesized_expression "(uVar10 < uVar11 + 1)" ( (binary_expression "uVar10 < uVar11 + 1" identifier < (binary_expression "uVar11 + 1" identifier + number_literal)) )) (compound_statement "{\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }" { (expression_statement "iVar6 = iVar3 + local_44c;" (assignment_expression "iVar6 = iVar3 + local_44c" identifier = (binary_expression "iVar3 + local_44c" identifier + identifier)) ;) (goto_statement "goto LAB_00033cba;" goto statement_identifier ;) })) (expression_statement "local_44c = local_44c + local_438;" (assignment_expression "local_44c = local_44c + local_438" identifier = (binary_expression "local_44c + local_438" identifier + identifier)) ;) (expression_statement "uVar11 = param_1 - local_438;" (assignment_expression "uVar11 = param_1 - local_438" identifier = (binary_expression "param_1 - local_438" identifier - identifier)) ;) }) (else_clause "else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }" else (compound_statement "{\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }" { (if_statement "if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }" if (parenthesized_expression "((uVar10 < local_438) && (uVar11 != 0))" ( (binary_expression "(uVar10 < local_438) && (uVar11 != 0)" (parenthesized_expression "(uVar10 < local_438)" ( (binary_expression "uVar10 < local_438" identifier < identifier) )) && (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) ))) )) (compound_statement "{\n            uVar10 = param_1 - local_438;\n          }" { (expression_statement "uVar10 = param_1 - local_438;" (assignment_expression "uVar10 = param_1 - local_438" identifier = (binary_expression "param_1 - local_438" identifier - identifier)) ;) })) (expression_statement "local_44c = local_44c + uVar10;" (assignment_expression "local_44c = local_44c + uVar10" identifier = (binary_expression "local_44c + uVar10" identifier + identifier)) ;) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;)) })) }))) (expression_statement "uVar7 = param_1 - local_43c;" (assignment_expression "uVar7 = param_1 - local_43c" identifier = (binary_expression "param_1 - local_43c" identifier - identifier)) ;) (if_statement "if (param_1 - local_43c < local_43c) {\n    uVar7 = local_43c;\n  }" if (parenthesized_expression "(param_1 - local_43c < local_43c)" ( (binary_expression "param_1 - local_43c < local_43c" (binary_expression "param_1 - local_43c" identifier - identifier) < identifier) )) (compound_statement "{\n    uVar7 = local_43c;\n  }" { (expression_statement "uVar7 = local_43c;" (assignment_expression "uVar7 = local_43c" identifier = identifier) ;) })) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }" { (expression_statement "iVar6 = param_1 + iVar12;" (assignment_expression "iVar6 = param_1 + iVar12" identifier = (binary_expression "param_1 + iVar12" identifier + identifier)) ;) (expression_statement "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);" (assignment_expression "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" identifier = (call_expression "FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" identifier (argument_list "(iVar8 + iVar3,0,iVar6 - iVar8)" ( (binary_expression "iVar8 + iVar3" identifier + identifier) , number_literal , (binary_expression "iVar6 - iVar8" identifier - identifier) )))) ;) (if_statement "if ((iVar6 == 0) || (iVar8 != 0)) break;" if (parenthesized_expression "((iVar6 == 0) || (iVar8 != 0))" ( (binary_expression "(iVar6 == 0) || (iVar8 != 0)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = iVar6;" (assignment_expression "iVar8 = iVar6" identifier = identifier) ;) (if_statement "if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }" if (parenthesized_expression "(local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0)" ( (binary_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0" (subscript_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier [ (pointer_expression "*(byte *)(iVar3 + -1 + iVar6)" * (cast_expression "(byte *)(iVar3 + -1 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -1 + iVar6)" ( (binary_expression "iVar3 + -1 + iVar6" (binary_expression "iVar3 + -1" identifier + number_literal) + identifier) )))) ]) == number_literal) )) (compound_statement "{\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }" { (expression_statement "iVar6 = iVar3 + iVar12;" (assignment_expression "iVar6 = iVar3 + iVar12" identifier = (binary_expression "iVar3 + iVar12" identifier + identifier)) ;) (if_statement "if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }" if (parenthesized_expression "(local_43c < param_1 - 1)" ( (binary_expression "local_43c < param_1 - 1" identifier < (binary_expression "param_1 - 1" identifier - number_literal)) )) (compound_statement "{\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }" { (expression_statement "local_44c = local_43c;" (assignment_expression "local_44c = local_43c" identifier = identifier) ;) (if_statement "if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }" if (parenthesized_expression "(*(byte *)(iVar6 + local_43c) == __s1[local_43c])" ( (binary_expression "*(byte *)(iVar6 + local_43c) == __s1[local_43c]" (pointer_expression "*(byte *)(iVar6 + local_43c)" * (cast_expression "(byte *)(iVar6 + local_43c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + local_43c)" ( (binary_expression "iVar6 + local_43c" identifier + identifier) )))) == (subscript_expression "__s1[local_43c]" identifier [ identifier ])) )) (compound_statement "{\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }" { (do_statement "do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));" do (compound_statement "{\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          }" { (expression_statement "local_44c = local_44c + 1;" (assignment_expression "local_44c = local_44c + 1" identifier = (binary_expression "local_44c + 1" identifier + number_literal)) ;) (if_statement "if (param_1 - 1 <= local_44c) goto LAB_00033c4d;" if (parenthesized_expression "(param_1 - 1 <= local_44c)" ( (binary_expression "param_1 - 1 <= local_44c" (binary_expression "param_1 - 1" identifier - number_literal) <= identifier) )) (goto_statement "goto LAB_00033c4d;" goto statement_identifier ;)) }) while (parenthesized_expression "(__s1[local_44c] == *(byte *)(iVar6 + local_44c))" ( (binary_expression "__s1[local_44c] == *(byte *)(iVar6 + local_44c)" (subscript_expression "__s1[local_44c]" identifier [ identifier ]) == (pointer_expression "*(byte *)(iVar6 + local_44c)" * (cast_expression "(byte *)(iVar6 + local_44c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + local_44c)" ( (binary_expression "iVar6 + local_44c" identifier + identifier) ))))) )) ;) })) (expression_statement "iVar12 = iVar12 + (1 - local_43c) + local_44c;" (assignment_expression "iVar12 = iVar12 + (1 - local_43c) + local_44c" identifier = (binary_expression "iVar12 + (1 - local_43c) + local_44c" (binary_expression "iVar12 + (1 - local_43c)" identifier + (parenthesized_expression "(1 - local_43c)" ( (binary_expression "1 - local_43c" number_literal - identifier) ))) + identifier)) ;) }) (else_clause "else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }" else (compound_statement "{\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }" { (labeled_statement "LAB_00033c4d:\n        iVar9 = local_43c - 1;" statement_identifier : (expression_statement "iVar9 = local_43c - 1;" (assignment_expression "iVar9 = local_43c - 1" identifier = (binary_expression "local_43c - 1" identifier - number_literal)) ;)) (if_statement "if (iVar9 == -1) goto LAB_00033cba;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00033cba;" goto statement_identifier ;)) (if_statement "if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }" if (parenthesized_expression "(*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1])" ( (binary_expression "*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]" (pointer_expression "*(byte *)(iVar6 + iVar9)" * (cast_expression "(byte *)(iVar6 + iVar9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9)" ( (binary_expression "iVar6 + iVar9" identifier + identifier) )))) == (subscript_expression "__s1[local_43c - 1]" identifier [ (binary_expression "local_43c - 1" identifier - number_literal) ])) )) (compound_statement "{\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }" { (do_statement "do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));" do (compound_statement "{\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          }" { (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (if_statement "if (iVar9 == -1) goto LAB_00033cba;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00033cba;" goto statement_identifier ;)) }) while (parenthesized_expression "(__s1[iVar9] == *(byte *)(iVar6 + iVar9))" ( (binary_expression "__s1[iVar9] == *(byte *)(iVar6 + iVar9)" (subscript_expression "__s1[iVar9]" identifier [ identifier ]) == (pointer_expression "*(byte *)(iVar6 + iVar9)" * (cast_expression "(byte *)(iVar6 + iVar9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9)" ( (binary_expression "iVar6 + iVar9" identifier + identifier) ))))) )) ;) })) (expression_statement "iVar12 = iVar12 + uVar7 + 1;" (assignment_expression "iVar12 = iVar12 + uVar7 + 1" identifier = (binary_expression "iVar12 + uVar7 + 1" (binary_expression "iVar12 + uVar7" identifier + identifier) + number_literal)) ;) }))) }) (else_clause "else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }" else (compound_statement "{\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }" { (expression_statement "iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];" (assignment_expression "iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier = (binary_expression "iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier + (subscript_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)]" identifier [ (pointer_expression "*(byte *)(iVar3 + -1 + iVar6)" * (cast_expression "(byte *)(iVar3 + -1 + iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -1 + iVar6)" ( (binary_expression "iVar3 + -1 + iVar6" (binary_expression "iVar3 + -1" identifier + number_literal) + identifier) )))) ]))) ;) }))) })) (labeled_statement "LAB_00033cb8:\n  iVar6 = 0;" statement_identifier : (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00033cba:\n  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00036030();\n  }" statement_identifier : (if_statement "if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00036030();\n  }" if (parenthesized_expression "(local_20[0] != *(uint *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_20[0]" identifier [ number_literal ]) != (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" * (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_00036030();\n  }" { (expression_statement "FUN_00036030();" (call_expression "FUN_00036030()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + IDENT) )))) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , LIT , (binary_expression IDENT - IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression 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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + IDENT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - IDENT) ))) + IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT - LIT)) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) )))) == (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]))) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + IDENT) + IDENT) ))))) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }) while (parenthesized_expression ( BOOL )) ;)) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , LIT , (binary_expression IDENT - IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT - LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) == (subscript_expression IDENT [ IDENT ])) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) <= IDENT) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - IDENT) ))) + IDENT)) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) == (subscript_expression IDENT [ (binary_expression IDENT - LIT) ])) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ]))) ;) }))) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_00033aa0(uint param_1)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  uint *puVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  int iVar9;\n  byte *__s1;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  uint local_44c;\n  uint local_43c;\n  uint local_438;\n  uint local_424;\n  uint local_420 [256];\n  uint local_20 [4];\n  \n  uVar13 = FUN_00019083();\n  iVar8 = (int)((ulonglong)uVar13 >> 0x20);\n  iVar3 = (int)uVar13;\n  local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);\n  if (param_1 < 3) {\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }\n  else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }\n  puVar4 = local_420;\n  do {\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  } while (local_20 != puVar4);\n  if (param_1 == 0) {\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }\n  uVar7 = param_1 - local_43c;\n  if (param_1 - local_43c < local_43c) {\n    uVar7 = local_43c;\n  }\n  iVar12 = 0;\n  while( true ) {\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }\nLAB_00033cb8:\n  iVar6 = 0;\nLAB_00033cba:\n  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00036030();\n  }\n  return iVar6;\n}" (primitive_type "int") (function_declarator "FUN_00033aa0(uint param_1)" (identifier "FUN_00033aa0") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  uint *puVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  int iVar9;\n  byte *__s1;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  uint local_44c;\n  uint local_43c;\n  uint local_438;\n  uint local_424;\n  uint local_420 [256];\n  uint local_20 [4];\n  \n  uVar13 = FUN_00019083();\n  iVar8 = (int)((ulonglong)uVar13 >> 0x20);\n  iVar3 = (int)uVar13;\n  local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);\n  if (param_1 < 3) {\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }\n  else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }\n  puVar4 = local_420;\n  do {\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  } while (local_20 != puVar4);\n  if (param_1 == 0) {\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }\n  uVar7 = param_1 - local_43c;\n  if (param_1 - local_43c < local_43c) {\n    uVar7 = local_43c;\n  }\n  iVar12 = 0;\n  while( true ) {\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }\nLAB_00033cb8:\n  iVar6 = 0;\nLAB_00033cba:\n  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00036030();\n  }\n  return iVar6;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "byte *__s1;" (type_identifier "byte") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined8 uVar13;" (type_identifier "undefined8") (identifier "uVar13") (; ";")) (declaration "uint local_44c;" (type_identifier "uint") (identifier "local_44c") (; ";")) (declaration "uint local_43c;" (type_identifier "uint") (identifier "local_43c") (; ";")) (declaration "uint local_438;" (type_identifier "uint") (identifier "local_438") (; ";")) (declaration "uint local_424;" (type_identifier "uint") (identifier "local_424") (; ";")) (declaration "uint local_420 [256];" (type_identifier "uint") (array_declarator "local_420 [256]" (identifier "local_420") ([ "[") (number_literal "256") (] "]")) (; ";")) (declaration "uint local_20 [4];" (type_identifier "uint") (array_declarator "local_20 [4]" (identifier "local_20") ([ "[") (number_literal "4") (] "]")) (; ";")) (expression_statement "uVar13 = FUN_00019083();" (assignment_expression "uVar13 = FUN_00019083()" (identifier "uVar13") (= "=") (call_expression "FUN_00019083()" (identifier "FUN_00019083") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar8 = (int)((ulonglong)uVar13 >> 0x20);" (assignment_expression "iVar8 = (int)((ulonglong)uVar13 >> 0x20)" (identifier "iVar8") (= "=") (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar13")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "iVar3 = (int)uVar13;" (assignment_expression "iVar3 = (int)uVar13" (identifier "iVar3") (= "=") (cast_expression "(int)uVar13" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar13"))) (; ";")) (expression_statement "local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20[0] = *(uint *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (param_1 < 3) {\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }\n  else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }" (if "if") (parenthesized_expression "(param_1 < 3)" (( "(") (binary_expression "param_1 < 3" (identifier "param_1") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n    local_43c = param_1 - 1;\n    local_438 = 1;\n  }" ({ "{") (expression_statement "local_43c = param_1 - 1;" (assignment_expression "local_43c = param_1 - 1" (identifier "local_43c") (= "=") (binary_expression "param_1 - 1" (identifier "param_1") (- "-") (number_literal "1"))) (; ";")) (expression_statement "local_438 = 1;" (assignment_expression "local_438 = 1" (identifier "local_438") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }" (else "else") (compound_statement "{\n    local_43c = FUN_00033950();\n    local_438 = local_424;\n  }" ({ "{") (expression_statement "local_43c = FUN_00033950();" (assignment_expression "local_43c = FUN_00033950()" (identifier "local_43c") (= "=") (call_expression "FUN_00033950()" (identifier "FUN_00033950") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_438 = local_424;" (assignment_expression "local_438 = local_424" (identifier "local_438") (= "=") (identifier "local_424")) (; ";")) (} "}")))) (expression_statement "puVar4 = local_420;" (assignment_expression "puVar4 = local_420" (identifier "puVar4") (= "=") (identifier "local_420")) (; ";")) (do_statement "do {\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  } while (local_20 != puVar4);" (do "do") (compound_statement "{\n    *puVar4 = param_1;\n    puVar4 = puVar4 + 1;\n  }" ({ "{") (expression_statement "*puVar4 = param_1;" (assignment_expression "*puVar4 = param_1" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_20 != puVar4)" (( "(") (binary_expression "local_20 != puVar4" (identifier "local_20") (!= "!=") (identifier "puVar4")) () ")")) (; ";")) (if_statement "if (param_1 == 0) {\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }\n  else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) goto LAB_00033cb8;\n  }" ({ "{") (expression_statement "iVar6 = memcmp(__s1,__s1 + local_438,local_43c);" (assignment_expression "iVar6 = memcmp(__s1,__s1 + local_438,local_43c)" (identifier "iVar6") (= "=") (call_expression "memcmp(__s1,__s1 + local_438,local_43c)" (identifier "memcmp") (argument_list "(__s1,__s1 + local_438,local_43c)" (( "(") (identifier "__s1") (, ",") (binary_expression "__s1 + local_438" (identifier "__s1") (+ "+") (identifier "local_438")) (, ",") (identifier "local_43c") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) goto LAB_00033cb8;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00033cb8;" (goto "goto") (statement_identifier "LAB_00033cb8") (; ";"))) (} "}")) (else_clause "else {\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }" (else "else") (compound_statement "{\n    uVar7 = param_1 - 1;\n    pbVar5 = __s1;\n    do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);\n    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);\n    if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }\n  }" ({ "{") (expression_statement "uVar7 = param_1 - 1;" (assignment_expression "uVar7 = param_1 - 1" (identifier "uVar7") (= "=") (binary_expression "param_1 - 1" (identifier "param_1") (- "-") (number_literal "1"))) (; ";")) (expression_statement "pbVar5 = __s1;" (assignment_expression "pbVar5 = __s1" (identifier "pbVar5") (= "=") (identifier "__s1")) (; ";")) (do_statement "do {\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    } while (__s1 + param_1 != pbVar5);" (do "do") (compound_statement "{\n      bVar1 = *pbVar5;\n      iVar6 = uVar7 - (int)pbVar5;\n      pbVar5 = pbVar5 + 1;\n      local_420[bVar1] = (uint)(__s1 + iVar6);\n    }" ({ "{") (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" (identifier "bVar1") (= "=") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5"))) (; ";")) (expression_statement "iVar6 = uVar7 - (int)pbVar5;" (assignment_expression "iVar6 = uVar7 - (int)pbVar5" (identifier "iVar6") (= "=") (binary_expression "uVar7 - (int)pbVar5" (identifier "uVar7") (- "-") (cast_expression "(int)pbVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar5")))) (; ";")) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_420[bVar1] = (uint)(__s1 + iVar6);" (assignment_expression "local_420[bVar1] = (uint)(__s1 + iVar6)" (subscript_expression "local_420[bVar1]" (identifier "local_420") ([ "[") (identifier "bVar1") (] "]")) (= "=") (call_expression "(uint)(__s1 + iVar6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(__s1 + iVar6)" (( "(") (binary_expression "__s1 + iVar6" (identifier "__s1") (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(__s1 + param_1 != pbVar5)" (( "(") (binary_expression "__s1 + param_1 != pbVar5" (binary_expression "__s1 + param_1" (identifier "__s1") (+ "+") (identifier "param_1")) (!= "!=") (identifier "pbVar5")) () ")")) (; ";")) (expression_statement "iVar6 = memcmp(__s1,__s1 + local_438,local_43c);" (assignment_expression "iVar6 = memcmp(__s1,__s1 + local_438,local_43c)" (identifier "iVar6") (= "=") (call_expression "memcmp(__s1,__s1 + local_438,local_43c)" (identifier "memcmp") (argument_list "(__s1,__s1 + local_438,local_43c)" (( "(") (identifier "__s1") (, ",") (binary_expression "__s1 + local_438" (identifier "__s1") (+ "+") (identifier "local_438")) (, ",") (identifier "local_43c") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar11 = 0;\n      local_44c = 0;\nLAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );\n    }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44c = 0;" (assignment_expression "local_44c = 0" (identifier "local_44c") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00033d10:\n      do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );" (statement_identifier "LAB_00033d10") (: ":") (do_statement "do {\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      } while( true );" (do "do") (compound_statement "{\n        iVar6 = local_44c + param_1;\n        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;\n        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];\n        iVar8 = iVar6;\n        if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }\n      }" ({ "{") (expression_statement "iVar6 = local_44c + param_1;" (assignment_expression "iVar6 = local_44c + param_1" (identifier "iVar6") (= "=") (binary_expression "local_44c + param_1" (identifier "local_44c") (+ "+") (identifier "param_1"))) (; ";")) (expression_statement "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);" (assignment_expression "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" (identifier "iVar8") (= "=") (call_expression "FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" (identifier "FUN_00024f50") (argument_list "(iVar8 + iVar3,0,iVar6 - iVar8)" (( "(") (binary_expression "iVar8 + iVar3" (identifier "iVar8") (+ "+") (identifier "iVar3")) (, ",") (number_literal "0") (, ",") (binary_expression "iVar6 - iVar8" (identifier "iVar6") (- "-") (identifier "iVar8")) () ")")))) (; ";")) (if_statement "if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;" (if "if") (parenthesized_expression "((iVar8 != 0) || (iVar6 == 0))" (( "(") (binary_expression "(iVar8 != 0) || (iVar6 == 0)" (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_00033cb8;" (goto "goto") (statement_identifier "LAB_00033cb8") (; ";"))) (expression_statement "uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];" (assignment_expression "uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)]" (identifier "uVar10") (= "=") (subscript_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)]" (identifier "local_420") ([ "[") (pointer_expression "*(byte *)(iVar3 + -1 + iVar6)" (* "*") (cast_expression "(byte *)(iVar3 + -1 + iVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -1 + iVar6)" (( "(") (binary_expression "iVar3 + -1 + iVar6" (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1")) (+ "+") (identifier "iVar6")) () ")")))) (] "]"))) (; ";")) (expression_statement "iVar8 = iVar6;" (assignment_expression "iVar8 = iVar6" (identifier "iVar8") (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (uVar10 == 0) {\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }\n        else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }" (if "if") (parenthesized_expression "(uVar10 == 0)" (( "(") (binary_expression "uVar10 == 0" (identifier "uVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar10 = local_43c;\n          if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }\n          if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }\n          uVar10 = local_43c;\n          if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }\n          if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }\n          local_44c = local_44c + local_438;\n          uVar11 = param_1 - local_438;\n        }" ({ "{") (expression_statement "uVar10 = local_43c;" (assignment_expression "uVar10 = local_43c" (identifier "uVar10") (= "=") (identifier "local_43c")) (; ";")) (if_statement "if (local_43c <= uVar11) {\n            uVar10 = uVar11;\n          }" (if "if") (parenthesized_expression "(local_43c <= uVar11)" (( "(") (binary_expression "local_43c <= uVar11" (identifier "local_43c") (<= "<=") (identifier "uVar11")) () ")")) (compound_statement "{\n            uVar10 = uVar11;\n          }" ({ "{") (expression_statement "uVar10 = uVar11;" (assignment_expression "uVar10 = uVar11" (identifier "uVar10") (= "=") (identifier "uVar11")) (; ";")) (} "}"))) (if_statement "if (uVar10 < uVar7) {\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }" (if "if") (parenthesized_expression "(uVar10 < uVar7)" (( "(") (binary_expression "uVar10 < uVar7" (identifier "uVar10") (< "<") (identifier "uVar7")) () ")")) (compound_statement "{\n            do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);\n          }" ({ "{") (do_statement "do {\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            } while (uVar10 != uVar7);" (do "do") (compound_statement "{\n              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }\n              uVar10 = uVar10 + 1;\n            }" ({ "{") (if_statement "if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }" (if "if") (parenthesized_expression "(__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10))" (( "(") (binary_expression "__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)" (subscript_expression "__s1[uVar10]" (identifier "__s1") ([ "[") (identifier "uVar10") (] "]")) (!= "!=") (pointer_expression "*(byte *)(iVar3 + local_44c + uVar10)" (* "*") (cast_expression "(byte *)(iVar3 + local_44c + uVar10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + local_44c + uVar10)" (( "(") (binary_expression "iVar3 + local_44c + uVar10" (binary_expression "iVar3 + local_44c" (identifier "iVar3") (+ "+") (identifier "local_44c")) (+ "+") (identifier "uVar10")) () ")"))))) () ")")) (compound_statement "{\n                uVar11 = 0;\n                local_44c = local_44c + (1 - local_43c) + uVar10;\n                goto LAB_00033d10;\n              }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44c = local_44c + (1 - local_43c) + uVar10;" (assignment_expression "local_44c = local_44c + (1 - local_43c) + uVar10" (identifier "local_44c") (= "=") (binary_expression "local_44c + (1 - local_43c) + uVar10" (binary_expression "local_44c + (1 - local_43c)" (identifier "local_44c") (+ "+") (parenthesized_expression "(1 - local_43c)" (( "(") (binary_expression "1 - local_43c" (number_literal "1") (- "-") (identifier "local_43c")) () ")"))) (+ "+") (identifier "uVar10"))) (; ";")) (goto_statement "goto LAB_00033d10;" (goto "goto") (statement_identifier "LAB_00033d10") (; ";")) (} "}"))) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" (identifier "uVar10") (= "=") (binary_expression "uVar10 + 1" (identifier "uVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar10 != uVar7)" (( "(") (binary_expression "uVar10 != uVar7" (identifier "uVar10") (!= "!=") (identifier "uVar7")) () ")")) (; ";")) (} "}"))) (expression_statement "uVar10 = local_43c;" (assignment_expression "uVar10 = local_43c" (identifier "uVar10") (= "=") (identifier "local_43c")) (; ";")) (if_statement "if ((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }" (if "if") (parenthesized_expression "((uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1]))" (( "(") (binary_expression "(uVar11 < local_43c) &&\n             (uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])" (parenthesized_expression "(uVar11 < local_43c)" (( "(") (binary_expression "uVar11 < local_43c" (identifier "uVar11") (< "<") (identifier "local_43c")) () ")")) (&& "&&") (parenthesized_expression "(uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])" (( "(") (comma_expression "uVar2 = local_43c - 1,\n             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1]" (assignment_expression "uVar2 = local_43c - 1" (identifier "uVar2") (= "=") (binary_expression "local_43c - 1" (identifier "local_43c") (- "-") (number_literal "1"))) (, ",") (binary_expression "*(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1]" (pointer_expression "*(byte *)(iVar3 + local_44c + (local_43c - 1))" (* "*") (cast_expression "(byte *)(iVar3 + local_44c + (local_43c - 1))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + local_44c + (local_43c - 1))" (( "(") (binary_expression "iVar3 + local_44c + (local_43c - 1)" (binary_expression "iVar3 + local_44c" (identifier "iVar3") (+ "+") (identifier "local_44c")) (+ "+") (parenthesized_expression "(local_43c - 1)" (( "(") (binary_expression "local_43c - 1" (identifier "local_43c") (- "-") (number_literal "1")) () ")"))) () ")")))) (== "==") (subscript_expression "__s1[local_43c - 1]" (identifier "__s1") ([ "[") (binary_expression "local_43c - 1" (identifier "local_43c") (- "-") (number_literal "1")) (] "]")))) () ")"))) () ")")) (compound_statement "{\n            do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));\n          }" ({ "{") (do_statement "do {\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));" (do "do") (compound_statement "{\n              uVar10 = uVar2;\n              if (uVar11 == uVar10) break;\n              uVar2 = uVar10 - 1;\n            }" ({ "{") (expression_statement "uVar10 = uVar2;" (assignment_expression "uVar10 = uVar2" (identifier "uVar10") (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (uVar11 == uVar10) break;" (if "if") (parenthesized_expression "(uVar11 == uVar10)" (( "(") (binary_expression "uVar11 == uVar10" (identifier "uVar11") (== "==") (identifier "uVar10")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar2 = uVar10 - 1;" (assignment_expression "uVar2 = uVar10 - 1" (identifier "uVar2") (= "=") (binary_expression "uVar10 - 1" (identifier "uVar10") (- "-") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c))" (( "(") (binary_expression "__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c)" (subscript_expression "__s1[uVar10 - 1]" (identifier "__s1") ([ "[") (binary_expression "uVar10 - 1" (identifier "uVar10") (- "-") (number_literal "1")) (] "]")) (== "==") (pointer_expression "*(byte *)((uVar10 - 1) + iVar3 + local_44c)" (* "*") (cast_expression "(byte *)((uVar10 - 1) + iVar3 + local_44c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uVar10 - 1) + iVar3 + local_44c)" (( "(") (binary_expression "(uVar10 - 1) + iVar3 + local_44c" (binary_expression "(uVar10 - 1) + iVar3" (parenthesized_expression "(uVar10 - 1)" (( "(") (binary_expression "uVar10 - 1" (identifier "uVar10") (- "-") (number_literal "1")) () ")")) (+ "+") (identifier "iVar3")) (+ "+") (identifier "local_44c")) () ")"))))) () ")")) (; ";")) (} "}"))) (if_statement "if (uVar10 < uVar11 + 1) {\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }" (if "if") (parenthesized_expression "(uVar10 < uVar11 + 1)" (( "(") (binary_expression "uVar10 < uVar11 + 1" (identifier "uVar10") (< "<") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) () ")")) (compound_statement "{\n            iVar6 = iVar3 + local_44c;\n            goto LAB_00033cba;\n          }" ({ "{") (expression_statement "iVar6 = iVar3 + local_44c;" (assignment_expression "iVar6 = iVar3 + local_44c" (identifier "iVar6") (= "=") (binary_expression "iVar3 + local_44c" (identifier "iVar3") (+ "+") (identifier "local_44c"))) (; ";")) (goto_statement "goto LAB_00033cba;" (goto "goto") (statement_identifier "LAB_00033cba") (; ";")) (} "}"))) (expression_statement "local_44c = local_44c + local_438;" (assignment_expression "local_44c = local_44c + local_438" (identifier "local_44c") (= "=") (binary_expression "local_44c + local_438" (identifier "local_44c") (+ "+") (identifier "local_438"))) (; ";")) (expression_statement "uVar11 = param_1 - local_438;" (assignment_expression "uVar11 = param_1 - local_438" (identifier "uVar11") (= "=") (binary_expression "param_1 - local_438" (identifier "param_1") (- "-") (identifier "local_438"))) (; ";")) (} "}")) (else_clause "else {\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }" (else "else") (compound_statement "{\n          if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }\n          local_44c = local_44c + uVar10;\n          uVar11 = 0;\n        }" ({ "{") (if_statement "if ((uVar10 < local_438) && (uVar11 != 0)) {\n            uVar10 = param_1 - local_438;\n          }" (if "if") (parenthesized_expression "((uVar10 < local_438) && (uVar11 != 0))" (( "(") (binary_expression "(uVar10 < local_438) && (uVar11 != 0)" (parenthesized_expression "(uVar10 < local_438)" (( "(") (binary_expression "uVar10 < local_438" (identifier "uVar10") (< "<") (identifier "local_438")) () ")")) (&& "&&") (parenthesized_expression "(uVar11 != 0)" (( "(") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            uVar10 = param_1 - local_438;\n          }" ({ "{") (expression_statement "uVar10 = param_1 - local_438;" (assignment_expression "uVar10 = param_1 - local_438" (identifier "uVar10") (= "=") (binary_expression "param_1 - local_438" (identifier "param_1") (- "-") (identifier "local_438"))) (; ";")) (} "}"))) (expression_statement "local_44c = local_44c + uVar10;" (assignment_expression "local_44c = local_44c + uVar10" (identifier "local_44c") (= "=") (binary_expression "local_44c + uVar10" (identifier "local_44c") (+ "+") (identifier "uVar10"))) (; ";")) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}"))) (} "}")))) (expression_statement "uVar7 = param_1 - local_43c;" (assignment_expression "uVar7 = param_1 - local_43c" (identifier "uVar7") (= "=") (binary_expression "param_1 - local_43c" (identifier "param_1") (- "-") (identifier "local_43c"))) (; ";")) (if_statement "if (param_1 - local_43c < local_43c) {\n    uVar7 = local_43c;\n  }" (if "if") (parenthesized_expression "(param_1 - local_43c < local_43c)" (( "(") (binary_expression "param_1 - local_43c < local_43c" (binary_expression "param_1 - local_43c" (identifier "param_1") (- "-") (identifier "local_43c")) (< "<") (identifier "local_43c")) () ")")) (compound_statement "{\n    uVar7 = local_43c;\n  }" ({ "{") (expression_statement "uVar7 = local_43c;" (assignment_expression "uVar7 = local_43c" (identifier "uVar7") (= "=") (identifier "local_43c")) (; ";")) (} "}"))) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    iVar6 = param_1 + iVar12;\n    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);\n    if ((iVar6 == 0) || (iVar8 != 0)) break;\n    iVar8 = iVar6;\n    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }\n  }" ({ "{") (expression_statement "iVar6 = param_1 + iVar12;" (assignment_expression "iVar6 = param_1 + iVar12" (identifier "iVar6") (= "=") (binary_expression "param_1 + iVar12" (identifier "param_1") (+ "+") (identifier "iVar12"))) (; ";")) (expression_statement "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);" (assignment_expression "iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" (identifier "iVar8") (= "=") (call_expression "FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8)" (identifier "FUN_00024f50") (argument_list "(iVar8 + iVar3,0,iVar6 - iVar8)" (( "(") (binary_expression "iVar8 + iVar3" (identifier "iVar8") (+ "+") (identifier "iVar3")) (, ",") (number_literal "0") (, ",") (binary_expression "iVar6 - iVar8" (identifier "iVar6") (- "-") (identifier "iVar8")) () ")")))) (; ";")) (if_statement "if ((iVar6 == 0) || (iVar8 != 0)) break;" (if "if") (parenthesized_expression "((iVar6 == 0) || (iVar8 != 0))" (( "(") (binary_expression "(iVar6 == 0) || (iVar8 != 0)" (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar8 = iVar6;" (assignment_expression "iVar8 = iVar6" (identifier "iVar8") (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }\n    else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }" (if "if") (parenthesized_expression "(local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0)" (( "(") (binary_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0" (subscript_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)]" (identifier "local_420") ([ "[") (pointer_expression "*(byte *)(iVar3 + -1 + iVar6)" (* "*") (cast_expression "(byte *)(iVar3 + -1 + iVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -1 + iVar6)" (( "(") (binary_expression "iVar3 + -1 + iVar6" (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1")) (+ "+") (identifier "iVar6")) () ")")))) (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar6 = iVar3 + iVar12;\n      if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }\n    }" ({ "{") (expression_statement "iVar6 = iVar3 + iVar12;" (assignment_expression "iVar6 = iVar3 + iVar12" (identifier "iVar6") (= "=") (binary_expression "iVar3 + iVar12" (identifier "iVar3") (+ "+") (identifier "iVar12"))) (; ";")) (if_statement "if (local_43c < param_1 - 1) {\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }\n      else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }" (if "if") (parenthesized_expression "(local_43c < param_1 - 1)" (( "(") (binary_expression "local_43c < param_1 - 1" (identifier "local_43c") (< "<") (binary_expression "param_1 - 1" (identifier "param_1") (- "-") (number_literal "1"))) () ")")) (compound_statement "{\n        local_44c = local_43c;\n        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }\n        iVar12 = iVar12 + (1 - local_43c) + local_44c;\n      }" ({ "{") (expression_statement "local_44c = local_43c;" (assignment_expression "local_44c = local_43c" (identifier "local_44c") (= "=") (identifier "local_43c")) (; ";")) (if_statement "if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }" (if "if") (parenthesized_expression "(*(byte *)(iVar6 + local_43c) == __s1[local_43c])" (( "(") (binary_expression "*(byte *)(iVar6 + local_43c) == __s1[local_43c]" (pointer_expression "*(byte *)(iVar6 + local_43c)" (* "*") (cast_expression "(byte *)(iVar6 + local_43c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + local_43c)" (( "(") (binary_expression "iVar6 + local_43c" (identifier "iVar6") (+ "+") (identifier "local_43c")) () ")")))) (== "==") (subscript_expression "__s1[local_43c]" (identifier "__s1") ([ "[") (identifier "local_43c") (] "]"))) () ")")) (compound_statement "{\n          do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));\n        }" ({ "{") (do_statement "do {\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));" (do "do") (compound_statement "{\n            local_44c = local_44c + 1;\n            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;\n          }" ({ "{") (expression_statement "local_44c = local_44c + 1;" (assignment_expression "local_44c = local_44c + 1" (identifier "local_44c") (= "=") (binary_expression "local_44c + 1" (identifier "local_44c") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (param_1 - 1 <= local_44c) goto LAB_00033c4d;" (if "if") (parenthesized_expression "(param_1 - 1 <= local_44c)" (( "(") (binary_expression "param_1 - 1 <= local_44c" (binary_expression "param_1 - 1" (identifier "param_1") (- "-") (number_literal "1")) (<= "<=") (identifier "local_44c")) () ")")) (goto_statement "goto LAB_00033c4d;" (goto "goto") (statement_identifier "LAB_00033c4d") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(__s1[local_44c] == *(byte *)(iVar6 + local_44c))" (( "(") (binary_expression "__s1[local_44c] == *(byte *)(iVar6 + local_44c)" (subscript_expression "__s1[local_44c]" (identifier "__s1") ([ "[") (identifier "local_44c") (] "]")) (== "==") (pointer_expression "*(byte *)(iVar6 + local_44c)" (* "*") (cast_expression "(byte *)(iVar6 + local_44c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + local_44c)" (( "(") (binary_expression "iVar6 + local_44c" (identifier "iVar6") (+ "+") (identifier "local_44c")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar12 = iVar12 + (1 - local_43c) + local_44c;" (assignment_expression "iVar12 = iVar12 + (1 - local_43c) + local_44c" (identifier "iVar12") (= "=") (binary_expression "iVar12 + (1 - local_43c) + local_44c" (binary_expression "iVar12 + (1 - local_43c)" (identifier "iVar12") (+ "+") (parenthesized_expression "(1 - local_43c)" (( "(") (binary_expression "1 - local_43c" (number_literal "1") (- "-") (identifier "local_43c")) () ")"))) (+ "+") (identifier "local_44c"))) (; ";")) (} "}")) (else_clause "else {\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }" (else "else") (compound_statement "{\nLAB_00033c4d:\n        iVar9 = local_43c - 1;\n        if (iVar9 == -1) goto LAB_00033cba;\n        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }\n        iVar12 = iVar12 + uVar7 + 1;\n      }" ({ "{") (labeled_statement "LAB_00033c4d:\n        iVar9 = local_43c - 1;" (statement_identifier "LAB_00033c4d") (: ":") (expression_statement "iVar9 = local_43c - 1;" (assignment_expression "iVar9 = local_43c - 1" (identifier "iVar9") (= "=") (binary_expression "local_43c - 1" (identifier "local_43c") (- "-") (number_literal "1"))) (; ";"))) (if_statement "if (iVar9 == -1) goto LAB_00033cba;" (if "if") (parenthesized_expression "(iVar9 == -1)" (( "(") (binary_expression "iVar9 == -1" (identifier "iVar9") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_00033cba;" (goto "goto") (statement_identifier "LAB_00033cba") (; ";"))) (if_statement "if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }" (if "if") (parenthesized_expression "(*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1])" (( "(") (binary_expression "*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]" (pointer_expression "*(byte *)(iVar6 + iVar9)" (* "*") (cast_expression "(byte *)(iVar6 + iVar9)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar9)" (( "(") (binary_expression "iVar6 + iVar9" (identifier "iVar6") (+ "+") (identifier "iVar9")) () ")")))) (== "==") (subscript_expression "__s1[local_43c - 1]" (identifier "__s1") ([ "[") (binary_expression "local_43c - 1" (identifier "local_43c") (- "-") (number_literal "1")) (] "]"))) () ")")) (compound_statement "{\n          do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));\n        }" ({ "{") (do_statement "do {\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));" (do "do") (compound_statement "{\n            iVar9 = iVar9 + -1;\n            if (iVar9 == -1) goto LAB_00033cba;\n          }" ({ "{") (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar9 == -1) goto LAB_00033cba;" (if "if") (parenthesized_expression "(iVar9 == -1)" (( "(") (binary_expression "iVar9 == -1" (identifier "iVar9") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_00033cba;" (goto "goto") (statement_identifier "LAB_00033cba") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(__s1[iVar9] == *(byte *)(iVar6 + iVar9))" (( "(") (binary_expression "__s1[iVar9] == *(byte *)(iVar6 + iVar9)" (subscript_expression "__s1[iVar9]" (identifier "__s1") ([ "[") (identifier "iVar9") (] "]")) (== "==") (pointer_expression "*(byte *)(iVar6 + iVar9)" (* "*") (cast_expression "(byte *)(iVar6 + iVar9)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar9)" (( "(") (binary_expression "iVar6 + iVar9" (identifier "iVar6") (+ "+") (identifier "iVar9")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar12 = iVar12 + uVar7 + 1;" (assignment_expression "iVar12 = iVar12 + uVar7 + 1" (identifier "iVar12") (= "=") (binary_expression "iVar12 + uVar7 + 1" (binary_expression "iVar12 + uVar7" (identifier "iVar12") (+ "+") (identifier "uVar7")) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }" (else "else") (compound_statement "{\n      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];\n    }" ({ "{") (expression_statement "iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];" (assignment_expression "iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)]" (identifier "iVar12") (= "=") (binary_expression "iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)]" (identifier "iVar12") (+ "+") (subscript_expression "local_420[*(byte *)(iVar3 + -1 + iVar6)]" (identifier "local_420") ([ "[") (pointer_expression "*(byte *)(iVar3 + -1 + iVar6)" (* "*") (cast_expression "(byte *)(iVar3 + -1 + iVar6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -1 + iVar6)" (( "(") (binary_expression "iVar3 + -1 + iVar6" (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1")) (+ "+") (identifier "iVar6")) () ")")))) (] "]")))) (; ";")) (} "}")))) (} "}"))) (labeled_statement "LAB_00033cb8:\n  iVar6 = 0;" (statement_identifier "LAB_00033cb8") (: ":") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_00033cba:\n  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00036030();\n  }" (statement_identifier "LAB_00033cba") (: ":") (if_statement "if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00036030();\n  }" (if "if") (parenthesized_expression "(local_20[0] != *(uint *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (!= "!=") (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_00036030();\n  }" ({ "{") (expression_statement "FUN_00036030();" (call_expression "FUN_00036030()" (identifier "FUN_00036030") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return iVar6;" (return "return") (identifier "iVar6") (; ";")) (} "}")))

/* WARNING: Type propagation algorithm not settling */

char * function_1(type_1 *var_3,size_t haystack_len,type_1 *needle,size_t needle_len)

{
  type_2 bVar1;
  size_t var_22;
  int var_14;
  size_t *var_5;
  type_2 *var_11;
  int var_10;
  void *var_15;
  type_1 *var_23;
  type_1 *var_13;
  type_3 var_17;
  type_2 *var_8;
  size_t sVar11;
  type_1 *var_19;
  type_1 *var_20;
  type_1 *var_16;
  int var_2;
  type_4 uVar15;
  type_1 *var_21;
  type_1 *var_18;
  size_t var_9;
  size_t shift_table [256];
  size_t var_6 [4];
  
  uVar15 = var_1();
  var_13 = (type_1 *)((type_5)uVar15 >> 0x20);
  var_14 = (int)uVar15;
  var_6[0] = *(size_t *)(var_2 + 0x14);
  if (var_3 < (type_1 *)0x3) {
    var_18 = var_3 + -1;
    var_9 = 1;
  }
  else {
    var_18 = (type_1 *)var_4(var_8,(size_t)var_3,&var_9);
  }
  var_22 = var_9;
  var_5 = shift_table;
  do {
    *var_5 = (size_t)var_3;
    var_5 = var_5 + 1;
  } while (var_6 != var_5);
  if (var_3 == (type_1 *)0x0) {
    var_10 = var_7(var_8,var_8 + var_9,(size_t)var_18);
    if (var_10 == 0) goto LAB_00033cb8;
  }
  else {
    var_20 = var_3 + -1;
    var_11 = var_8;
    do {
      bVar1 = *var_11;
      sVar11 = (int)(var_8 + (int)var_20) - (int)var_11;
      var_11 = var_11 + 1;
      shift_table[bVar1] = sVar11;
    } while (var_3 + (int)var_8 != var_11);
    var_10 = var_7(var_8,var_8 + var_9,(size_t)var_18);
    if (var_10 == 0) {
      var_19 = (type_1 *)0x0;
      var_21 = (type_1 *)0x0;
LAB_00033d10:
      do {
        var_16 = var_3 + (int)var_21;
        var_15 = var_12(var_13 + var_14,0,(int)var_16 - (int)var_13);
        if ((var_15 != (void *)0x0) || (var_16 == (type_1 *)0x0)) goto LAB_00033cb8;
        var_17 = shift_table[var_16[var_14 + -1]];
        var_13 = var_16;
        if (var_17 == 0) {
          var_16 = var_18;
          if (var_18 <= var_19) {
            var_16 = var_19;
          }
          if (var_16 < var_20) {
            do {
              if (var_8[(int)var_16] != var_16[(int)(var_21 + var_14)]) {
                var_19 = (type_1 *)0x0;
                var_21 = var_21 + (1 - (int)var_18) + (int)var_16;
                goto LAB_00033d10;
              }
              var_16 = var_16 + 1;
            } while (var_16 != var_20);
          }
          var_16 = var_18;
          if ((var_19 < var_18) &&
             (var_23 = var_18 + -1,
             (var_18 + -1)[(int)(var_21 + var_14)] == (var_8 + -1)[(int)var_18])) {
            do {
              var_16 = var_23;
              if (var_19 == var_16) break;
              var_23 = var_16 + -1;
            } while ((var_8 + -1)[(int)var_16] == (var_16 + -1)[(int)(var_21 + var_14)]);
          }
          if (var_16 < var_19 + 1) {
            var_20 = var_21 + var_14;
            goto LAB_00033cba;
          }
          var_21 = var_21 + var_22;
          var_19 = var_3 + -var_22;
        }
        else {
          if ((var_17 < var_22) && (var_19 != (type_1 *)0x0)) {
            var_17 = (int)var_3 - var_22;
          }
          var_21 = var_21 + var_17;
          var_19 = (type_1 *)0x0;
        }
      } while( true );
    }
  }
  var_19 = var_3 + -(int)var_18;
  if (var_3 + -(int)var_18 < var_18) {
    var_19 = var_18;
  }
  var_16 = (type_1 *)0x0;
  var_9 = (size_t)(var_19 + 1);
  while( true ) {
    var_20 = var_3 + (int)var_16;
    var_15 = var_12(var_13 + var_14,0,(int)var_20 - (int)var_13);
    if ((var_20 == (type_1 *)0x0) || (var_15 != (void *)0x0)) break;
    var_13 = var_20;
    if (shift_table[var_20[var_14 + -1]] == 0) {
      var_20 = var_16 + var_14;
      if (var_18 < var_3 + -1) {
        var_21 = var_18;
        if (var_20[(int)var_18] == var_8[(int)var_18]) {
          do {
            var_21 = var_21 + 1;
            if (var_3 + -1 <= var_21) goto LAB_00033c4d;
          } while (var_8[(int)var_21] == var_20[(int)var_21]);
        }
        var_16 = var_16 + (1 - (int)var_18) + (int)var_21;
      }
      else {
LAB_00033c4d:
        var_23 = var_18 + -1;
        if (var_23 == (type_1 *)0xffffffff) goto LAB_00033cba;
        if (var_20[(int)var_23] == (var_8 + -1)[(int)var_18]) {
          do {
            var_23 = var_23 + -1;
            if (var_23 == (type_1 *)0xffffffff) goto LAB_00033cba;
          } while (var_8[(int)var_23] == var_20[(int)var_23]);
        }
        var_16 = var_16 + (int)(var_19 + 1);
      }
    }
    else {
      var_16 = var_16 + shift_table[var_20[var_14 + -1]];
    }
  }
LAB_00033cb8:
  var_20 = (type_1 *)0x0;
LAB_00033cba:
  if (var_6[0] != *(size_t *)(var_2 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_24();
  }
  return (char *)var_20;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (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: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (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: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) 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: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (identifier)) (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))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (number_literal) (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier)))) right: (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (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: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal)))))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)) right: (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) condition: (parenthesized_expression (true))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (number_literal) (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (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))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (subscript_expression argument: (identifier) index: (identifier)))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))) condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier)))) right: (identifier))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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)))))))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (return_statement (identifier)))))

int MASKED(uint param_1)

{
  byte bVar1;
  uint uVar2;
  int iVar3;
  uint *puVar4;
  byte *pbVar5;
  int iVar6;
  uint uVar7;
  int iVar8;
  int iVar9;
  byte *__s1;
  uint uVar10;
  uint uVar11;
  int iVar12;
  int in_GS_OFFSET;
  undefined8 uVar13;
  uint local_44c;
  uint local_43c;
  uint local_438;
  uint local_424;
  uint local_420 [256];
  uint local_20 [4];
  
  uVar13 = FUN_00019083();
  iVar8 = (int)((ulonglong)uVar13 >> 0x20);
  iVar3 = (int)uVar13;
  local_20[0] = *(uint *)(in_GS_OFFSET + 0x14);
  if (param_1 < 3) {
    local_43c = param_1 - 1;
    local_438 = 1;
  }
  else {
    local_43c = FUN_00033950();
    local_438 = local_424;
  }
  puVar4 = local_420;
  do {
    *puVar4 = param_1;
    puVar4 = puVar4 + 1;
  } while (local_20 != puVar4);
  if (param_1 == 0) {
    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);
    if (iVar6 == 0) goto LAB_00033cb8;
  }
  else {
    uVar7 = param_1 - 1;
    pbVar5 = __s1;
    do {
      bVar1 = *pbVar5;
      iVar6 = uVar7 - (int)pbVar5;
      pbVar5 = pbVar5 + 1;
      local_420[bVar1] = (uint)(__s1 + iVar6);
    } while (__s1 + param_1 != pbVar5);
    iVar6 = memcmp(__s1,__s1 + local_438,local_43c);
    if (iVar6 == 0) {
      uVar11 = 0;
      local_44c = 0;
LAB_00033d10:
      do {
        iVar6 = local_44c + param_1;
        iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);
        if ((iVar8 != 0) || (iVar6 == 0)) goto LAB_00033cb8;
        uVar10 = local_420[*(byte *)(iVar3 + -1 + iVar6)];
        iVar8 = iVar6;
        if (uVar10 == 0) {
          uVar10 = local_43c;
          if (local_43c <= uVar11) {
            uVar10 = uVar11;
          }
          if (uVar10 < uVar7) {
            do {
              if (__s1[uVar10] != *(byte *)(iVar3 + local_44c + uVar10)) {
                uVar11 = 0;
                local_44c = local_44c + (1 - local_43c) + uVar10;
                goto LAB_00033d10;
              }
              uVar10 = uVar10 + 1;
            } while (uVar10 != uVar7);
          }
          uVar10 = local_43c;
          if ((uVar11 < local_43c) &&
             (uVar2 = local_43c - 1,
             *(byte *)(iVar3 + local_44c + (local_43c - 1)) == __s1[local_43c - 1])) {
            do {
              uVar10 = uVar2;
              if (uVar11 == uVar10) break;
              uVar2 = uVar10 - 1;
            } while (__s1[uVar10 - 1] == *(byte *)((uVar10 - 1) + iVar3 + local_44c));
          }
          if (uVar10 < uVar11 + 1) {
            iVar6 = iVar3 + local_44c;
            goto LAB_00033cba;
          }
          local_44c = local_44c + local_438;
          uVar11 = param_1 - local_438;
        }
        else {
          if ((uVar10 < local_438) && (uVar11 != 0)) {
            uVar10 = param_1 - local_438;
          }
          local_44c = local_44c + uVar10;
          uVar11 = 0;
        }
      } while( true );
    }
  }
  uVar7 = param_1 - local_43c;
  if (param_1 - local_43c < local_43c) {
    uVar7 = local_43c;
  }
  iVar12 = 0;
  while( true ) {
    iVar6 = param_1 + iVar12;
    iVar8 = FUN_00024f50(iVar8 + iVar3,0,iVar6 - iVar8);
    if ((iVar6 == 0) || (iVar8 != 0)) break;
    iVar8 = iVar6;
    if (local_420[*(byte *)(iVar3 + -1 + iVar6)] == 0) {
      iVar6 = iVar3 + iVar12;
      if (local_43c < param_1 - 1) {
        local_44c = local_43c;
        if (*(byte *)(iVar6 + local_43c) == __s1[local_43c]) {
          do {
            local_44c = local_44c + 1;
            if (param_1 - 1 <= local_44c) goto LAB_00033c4d;
          } while (__s1[local_44c] == *(byte *)(iVar6 + local_44c));
        }
        iVar12 = iVar12 + (1 - local_43c) + local_44c;
      }
      else {
LAB_00033c4d:
        iVar9 = local_43c - 1;
        if (iVar9 == -1) goto LAB_00033cba;
        if (*(byte *)(iVar6 + iVar9) == __s1[local_43c - 1]) {
          do {
            iVar9 = iVar9 + -1;
            if (iVar9 == -1) goto LAB_00033cba;
          } while (__s1[iVar9] == *(byte *)(iVar6 + iVar9));
        }
        iVar12 = iVar12 + uVar7 + 1;
      }
    }
    else {
      iVar12 = iVar12 + local_420[*(byte *)(iVar3 + -1 + iVar6)];
    }
  }
LAB_00033cb8:
  iVar6 = 0;
LAB_00033cba:
  if (local_20[0] != *(uint *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00036030();
  }
  return iVar6;
}

