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

char * rpl_strcasestr(char *haystack_start,char *needle_start)

{
  bool bVar1;
  ushort *puVar2;
  ushort **ppuVar3;
  __int32_t **pp_Var4;
  uchar *puVar5;
  int iVar6;
  void *pvVar7;
  byte bVar8;
  byte *pbVar9;
  byte *pbVar10;
  size_t sVar11;
  uint uVar12;
  size_t sVar13;
  byte bVar14;
  uint uVar15;
  size_t sVar16;
  uint uVar17;
  uint uVar18;
  uint uVar19;
  int in_GS_OFFSET;
  uint local_58;
  uint local_54;
  int local_4c;
  uint local_44;
  size_t period;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x2fd19;
  bVar8 = *haystack_start;
  bVar14 = *needle_start;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (bVar8 == 0) {
    puVar5 = (uchar *)0x0;
    if (bVar14 == 0) {
      puVar5 = (uchar *)haystack_start;
    }
  }
  else {
    puVar5 = (uchar *)haystack_start;
    if (bVar14 != 0) {
      ppuVar3 = __ctype_b_loc();
      bVar1 = true;
      puVar2 = *ppuVar3;
      pbVar9 = (byte *)needle_start;
      pbVar10 = (byte *)haystack_start;
      do {
        uVar12 = (uint)bVar8;
        if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {
          pp_Var4 = __ctype_tolower_loc();
          uVar12 = (*pp_Var4)[uVar12];
        }
        uVar15 = (uint)bVar14;
        if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {
          pp_Var4 = __ctype_tolower_loc();
          uVar15 = (*pp_Var4)[uVar15];
        }
        pbVar10 = pbVar10 + 1;
        bVar8 = *pbVar10;
        pbVar9 = pbVar9 + 1;
        bVar1 = (bool)(bVar1 & uVar12 == uVar15);
        bVar14 = *pbVar9;
        if (bVar8 == 0) {
          puVar5 = (uchar *)0x0;
          if (bVar14 != 0) goto LAB_0002fe3b;
          break;
        }
      } while (bVar14 != 0);
      puVar5 = (uchar *)haystack_start;
      if (!bVar1) {
        puVar5 = (uchar *)(haystack_start + 1);
        uVar12 = (int)pbVar9 - (int)needle_start;
        sVar13 = uVar12 - 1;
        if (uVar12 < 0x20) {
          if (uVar12 < 3) {
            period = 1;
            local_44 = sVar13;
          }
          else {
            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);
          }
          sVar11 = period;
          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);
          if (iVar6 != 0) {
            local_54 = 0;
            uVar15 = uVar12 - local_44;
            if (uVar12 - local_44 < local_44) {
              uVar15 = local_44;
            }
            period = uVar15 + 1;
LAB_000300a0:
            do {
              sVar11 = local_54 + uVar12;
              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);
              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;
              sVar13 = sVar11;
              if (local_44 < uVar12) {
                puVar2 = *ppuVar3;
                uVar17 = local_44;
                do {
                  uVar18 = (uint)(byte)needle_start[uVar17];
                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {
                    pp_Var4 = __ctype_tolower_loc();
                    uVar18 = (*pp_Var4)[uVar18];
                  }
                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];
                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {
                    pp_Var4 = __ctype_tolower_loc();
                    uVar19 = (*pp_Var4)[uVar19];
                  }
                  if (uVar18 != uVar19) {
                    if (uVar17 < uVar12) {
                      local_54 = local_54 + (1 - local_44) + uVar17;
                      goto LAB_000300a0;
                    }
                    break;
                  }
                  uVar17 = uVar17 + 1;
                } while (uVar17 < uVar12);
              }
              iVar6 = local_44 - 1;
              if (iVar6 == -1) {
LAB_00030230:
                puVar5 = puVar5 + local_54;
                goto LAB_0002fe3b;
              }
              puVar2 = *ppuVar3;
              while( true ) {
                uVar17 = (uint)(byte)needle_start[iVar6];
                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {
                  pp_Var4 = __ctype_tolower_loc();
                  uVar17 = (*pp_Var4)[uVar17];
                }
                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];
                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {
                  pp_Var4 = __ctype_tolower_loc();
                  uVar18 = (*pp_Var4)[uVar18];
                }
                if (uVar17 != uVar18) break;
                iVar6 = iVar6 + -1;
                if (iVar6 == -1) goto LAB_00030230;
              }
              local_54 = local_54 + uVar15 + 1;
            } while( true );
          }
          local_54 = 0;
          local_4c = 0;
LAB_0002fec8:
          do {
            sVar16 = uVar12 + local_4c;
            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);
            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;
            uVar15 = local_54;
            if (local_54 <= local_44) {
              uVar15 = local_44;
            }
            sVar13 = sVar16;
            if (uVar15 < uVar12) {
              puVar2 = *ppuVar3;
              do {
                uVar17 = (uint)(byte)needle_start[uVar15];
                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {
                  pp_Var4 = __ctype_tolower_loc();
                  uVar17 = (*pp_Var4)[uVar17];
                }
                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];
                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {
                  pp_Var4 = __ctype_tolower_loc();
                  uVar18 = (*pp_Var4)[uVar18];
                }
                if (uVar17 != uVar18) {
                  if (uVar15 < uVar12) {
                    local_54 = 0;
                    local_4c = local_4c + (1 - local_44) + uVar15;
                    goto LAB_0002fec8;
                  }
                  break;
                }
                uVar15 = uVar15 + 1;
              } while (uVar12 != uVar15);
            }
            if (local_54 < local_44) {
              puVar2 = *ppuVar3;
              local_58 = local_44;
              do {
                uVar17 = local_58 - 1;
                uVar15 = (uint)(byte)needle_start[uVar17];
                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {
                  pp_Var4 = __ctype_tolower_loc();
                  uVar15 = (*pp_Var4)[uVar15];
                }
                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];
                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {
                  pp_Var4 = __ctype_tolower_loc();
                  uVar18 = (*pp_Var4)[uVar18];
                }
                if (uVar15 != uVar18) goto LAB_0003002d;
                local_58 = uVar17;
              } while (local_54 != uVar17);
              local_58 = local_54;
            }
            else {
              local_58 = local_44;
            }
LAB_0003002d:
            if (local_58 < local_54 + 1) {
              puVar5 = puVar5 + local_4c;
              goto LAB_0002fe3b;
            }
            local_4c = local_4c + sVar11;
            local_54 = uVar12 - sVar11;
          } while( true );
        }
        puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);
      }
    }
  }
LAB_0002fe3b:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return (char *)puVar5;
LAB_00030058:
  puVar5 = (uchar *)0x0;
  goto LAB_0002fe3b;
}



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

byte * FUN_0002fd10(byte *param_1,byte *param_2)

{
  bool bVar1;
  int iVar2;
  ushort *puVar3;
  ushort **ppuVar4;
  __int32_t **pp_Var5;
  int iVar6;
  byte bVar7;
  byte *pbVar8;
  byte *pbVar9;
  uint uVar10;
  uint uVar11;
  byte bVar12;
  uint uVar13;
  uint uVar14;
  uint uVar15;
  uint uVar16;
  int in_GS_OFFSET;
  uint local_58;
  uint local_54;
  int local_4c;
  uint local_44;
  int local_30;
  int local_24;
  
  bVar7 = *param_1;
  bVar12 = *param_2;
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  if (bVar7 == 0) {
    pbVar9 = (byte *)0x0;
    if (bVar12 == 0) {
      pbVar9 = param_1;
    }
  }
  else {
    pbVar9 = param_1;
    if (bVar12 != 0) {
      ppuVar4 = __ctype_b_loc();
      bVar1 = true;
      puVar3 = *ppuVar4;
      pbVar8 = param_2;
      do {
        uVar10 = (uint)bVar7;
        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {
          pp_Var5 = __ctype_tolower_loc();
          uVar10 = (*pp_Var5)[uVar10];
        }
        uVar13 = (uint)bVar12;
        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {
          pp_Var5 = __ctype_tolower_loc();
          uVar13 = (*pp_Var5)[uVar13];
        }
        pbVar9 = pbVar9 + 1;
        bVar7 = *pbVar9;
        pbVar8 = pbVar8 + 1;
        bVar1 = (bool)(bVar1 & uVar10 == uVar13);
        bVar12 = *pbVar8;
        if (bVar7 == 0) {
          pbVar9 = (byte *)0x0;
          if (bVar12 != 0) goto LAB_0002fe3b;
          break;
        }
      } while (bVar12 != 0);
      pbVar9 = param_1;
      if (!bVar1) {
        uVar13 = (int)pbVar8 - (int)param_2;
        uVar10 = uVar13 - 1;
        if (uVar13 < 0x20) {
          if (uVar13 < 3) {
            local_30 = 1;
            local_44 = uVar10;
          }
          else {
            local_44 = FUN_0002f5a0();
            local_30 = local_24;
          }
          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);
          if (iVar6 != 0) {
            local_54 = 0;
            uVar14 = uVar13 - local_44;
            if (uVar13 - local_44 < local_44) {
              uVar14 = local_44;
            }
LAB_000300a0:
            do {
              uVar11 = local_54 + uVar13;
              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);
              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;
              uVar10 = uVar11;
              if (local_44 < uVar13) {
                puVar3 = *ppuVar4;
                uVar11 = local_44;
                do {
                  uVar15 = (uint)param_2[uVar11];
                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {
                    pp_Var5 = __ctype_tolower_loc();
                    uVar15 = (*pp_Var5)[uVar15];
                  }
                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];
                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {
                    pp_Var5 = __ctype_tolower_loc();
                    uVar16 = (*pp_Var5)[uVar16];
                  }
                  if (uVar15 != uVar16) {
                    if (uVar11 < uVar13) {
                      local_54 = local_54 + (1 - local_44) + uVar11;
                      goto LAB_000300a0;
                    }
                    break;
                  }
                  uVar11 = uVar11 + 1;
                } while (uVar11 < uVar13);
              }
              iVar6 = local_44 - 1;
              if (iVar6 == -1) {
LAB_00030230:
                pbVar9 = param_1 + local_54 + 1;
                goto LAB_0002fe3b;
              }
              puVar3 = *ppuVar4;
              while( true ) {
                uVar11 = (uint)param_2[iVar6];
                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar11 = (*pp_Var5)[uVar11];
                }
                uVar15 = (uint)param_1[iVar6 + 1 + local_54];
                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar15 = (*pp_Var5)[uVar15];
                }
                if (uVar11 != uVar15) break;
                iVar6 = iVar6 + -1;
                if (iVar6 == -1) goto LAB_00030230;
              }
              local_54 = local_54 + uVar14 + 1;
            } while( true );
          }
          local_54 = 0;
          local_4c = 0;
LAB_0002fec8:
          do {
            uVar14 = uVar13 + local_4c;
            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);
            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;
            uVar11 = local_54;
            if (local_54 <= local_44) {
              uVar11 = local_44;
            }
            uVar10 = uVar14;
            if (uVar11 < uVar13) {
              puVar3 = *ppuVar4;
              do {
                uVar14 = (uint)param_2[uVar11];
                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar14 = (*pp_Var5)[uVar14];
                }
                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];
                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar15 = (*pp_Var5)[uVar15];
                }
                if (uVar14 != uVar15) {
                  if (uVar11 < uVar13) {
                    local_54 = 0;
                    local_4c = local_4c + (1 - local_44) + uVar11;
                    goto LAB_0002fec8;
                  }
                  break;
                }
                uVar11 = uVar11 + 1;
              } while (uVar13 != uVar11);
            }
            if (local_54 < local_44) {
              puVar3 = *ppuVar4;
              local_58 = local_44;
              do {
                uVar11 = local_58 - 1;
                uVar14 = (uint)param_2[uVar11];
                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar14 = (*pp_Var5)[uVar14];
                }
                uVar15 = (uint)param_1[local_58 + local_4c];
                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar15 = (*pp_Var5)[uVar15];
                }
                if (uVar14 != uVar15) goto LAB_0003002d;
                local_58 = uVar11;
              } while (local_54 != uVar11);
              local_58 = local_54;
            }
            else {
              local_58 = local_44;
            }
LAB_0003002d:
            if (local_58 < local_54 + 1) {
              pbVar9 = param_1 + local_4c + 1;
              goto LAB_0002fe3b;
            }
            local_4c = local_4c + local_30;
            local_54 = uVar13 - local_30;
          } while( true );
        }
        pbVar9 = (byte *)FUN_0002f7f0(uVar13);
      }
    }
  }
LAB_0002fe3b:
  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00031620();
  }
  return pbVar9;
LAB_00030058:
  pbVar9 = (byte *)0x0;
  goto LAB_0002fe3b;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000134d0
ADD EBX,0xe0eb
SUB ESP,0x5c
MOV ESI,dword ptr [ESP + 0x70]
MOV EBP,dword ptr [ESP + 0x74]
MOVZX ECX,byte ptr [ESI]
MOVZX EDI,byte ptr [EBP]
MOV dword ptr [ESP + 0x1c],ESI
MOV dword ptr [ESP + 0x8],EBP
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x4c],EAX
XOR EAX,EAX
TEST CL,CL
MOV EAX,EDI
MOV byte ptr [ESP + 0x14],CL
JZ 0x00030205
TEST AL,AL
JZ 0x00030216
CALL 0x000126d0
MOV byte ptr [ESP + 0x10],0x1
MOVZX ECX,byte ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,EBP
MOV EBP,ESI
MOV EDX,EAX
JMP 0x0002fd8a
MOV EAX,EDI
TEST AL,AL
JZ 0x0002fe58
MOV EAX,dword ptr [ESP + 0xc]
MOVZX ESI,CL
MOV ECX,ESI
TEST byte ptr [EAX + ESI*0x2 + 0x1],0x1
JZ 0x0002fdac
MOV dword ptr [ESP + 0x14],EDX
CALL 0x000126b0
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX]
MOV ECX,dword ptr [EAX + ESI*0x4]
MOV EAX,EDI
MOV ESI,dword ptr [ESP + 0xc]
MOVZX EDI,AL
MOV EAX,EDI
TEST byte ptr [ESI + EDI*0x2 + 0x1],0x1
JZ 0x0002fdd8
MOV dword ptr [ESP + 0x18],EDX
MOV dword ptr [ESP + 0x14],ECX
CALL 0x000126b0
MOV EDX,dword ptr [ESP + 0x18]
MOV ECX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + EDI*0x4]
CMP ECX,EAX
SETZ AL
ADD EBP,0x1
MOVZX ECX,byte ptr [EBP]
ADD EDX,0x1
AND byte ptr [ESP + 0x10],AL
MOVZX EDI,byte ptr [EDX]
TEST CL,CL
JNZ 0x0002fd80
MOV ECX,EDI
MOV EBP,EDX
XOR EAX,EAX
TEST CL,CL
JNZ 0x0002fe3b
MOV EDX,dword ptr [ESP + 0x1c]
CMP byte ptr [ESP + 0x10],0x0
MOV EAX,EDX
JNZ 0x0002fe3b
MOV EAX,EBP
LEA ECX,[EDX + 0x1]
SUB EAX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0xc],EAX
LEA ESI,[EAX + -0x1]
MOV dword ptr [ESP + 0x2c],ECX
CMP EAX,0x1f
JBE 0x0002fe60
SUB ESP,0xc
MOV EDX,ESI
PUSH dword ptr [ESP + 0x18]
MOV ECX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESP + 0x3c]
CALL 0x0002f7f0
ADD ESP,0x10
MOV EBX,dword ptr [ESP + 0x4c]
XOR EBX,dword ptr GS:[0x14]
JNZ 0x0003024a
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBP,EDX
JMP 0x0002fdfc
MOV EDX,EAX
CMP EAX,0x2
JBE 0x000301ec
MOV EAX,dword ptr [ESP + 0x8]
LEA ECX,[ESP + 0x48]
CALL 0x0002f5a0
MOV dword ptr [ESP + 0x28],EAX
MOV EAX,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0x3c],EAX
SUB ESP,0x4
PUSH dword ptr [ESP + 0x2c]
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x44]
ADD EAX,ECX
PUSH EAX
PUSH ECX
CALL 0x000124a0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0003006a
MOV EAX,0x1
SUB EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP + 0x18],0x0
MOV dword ptr [ESP + 0x20],0x0
MOV dword ptr [ESP + 0x38],EAX
LEA ESI,[ESI]
MOV EDI,dword ptr [ESP + 0xc]
ADD EDI,dword ptr [ESP + 0x20]
SUB ESP,0x4
MOV EAX,EDI
MOV dword ptr [ESP + 0x38],EDI
SUB EAX,ESI
PUSH EAX
PUSH 0x0
ADD ESI,dword ptr [ESP + 0x38]
PUSH ESI
CALL 0x000213e0
ADD ESP,0x10
TEST EDI,EDI
JZ 0x00030058
TEST EAX,EAX
JNZ 0x00030058
MOV EAX,dword ptr [ESP + 0x28]
MOV ESI,dword ptr [ESP + 0x18]
CMP EAX,ESI
CMOVNC ESI,EAX
CMP dword ptr [ESP + 0xc],ESI
JBE 0x0002ffa8
MOV EAX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x20]
MOV EBP,dword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x1c]
ADD EAX,ECX
MOV dword ptr [ESP + 0x10],EAX
JMP 0x0002ff39
ADD ESI,0x1
CMP dword ptr [ESP + 0xc],ESI
JZ 0x0002ffa8
MOV EAX,dword ptr [ESP + 0x8]
MOVZX EDI,byte ptr [EAX + ESI*0x1]
MOV EDX,EDI
TEST byte ptr [EBP + EDI*0x2 + 0x1],0x1
JZ 0x0002ff54
CALL 0x000126b0
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + EDI*0x4]
MOV EAX,dword ptr [ESP + 0x10]
MOVZX EDI,byte ptr [ESI + EAX*0x1 + 0x1]
MOV EAX,EDI
TEST byte ptr [EBP + EDI*0x2 + 0x1],0x1
JZ 0x0002ff78
MOV dword ptr [ESP + 0x14],EDX
CALL 0x000126b0
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + EDI*0x4]
CMP EDX,EAX
JZ 0x0002ff30
CMP dword ptr [ESP + 0xc],ESI
JBE 0x0002ffa8
MOV EAX,dword ptr [ESP + 0x20]
ADD EAX,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0x18],0x0
ADD EAX,ESI
MOV dword ptr [ESP + 0x20],EAX
MOV ESI,dword ptr [ESP + 0x34]
JMP 0x0002fec8
MOV EAX,dword ptr [ESP + 0x28]
LEA ESI,[EAX + -0x1]
CMP EAX,dword ptr [ESP + 0x18]
JBE 0x0003021f
MOV EAX,dword ptr [ESP + 0x24]
MOV EDX,dword ptr [ESP + 0x20]
MOV ECX,dword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x1c]
ADD EAX,EDX
MOV EBP,ECX
MOV dword ptr [ESP + 0x10],EAX
JMP 0x0002ffe3
LEA EAX,[ESI + -0x1]
CMP dword ptr [ESP + 0x18],ESI
JZ 0x00030060
MOV ESI,EAX
LEA EAX,[ESI + 0x1]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x8]
MOVZX EDI,byte ptr [EAX + ESI*0x1]
MOV EDX,EDI
TEST byte ptr [EBP + EDI*0x2 + 0x1],0x1
JZ 0x00030005
CALL 0x000126b0
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + EDI*0x4]
MOV EAX,dword ptr [ESP + 0x10]
MOVZX EDI,byte ptr [ESI + EAX*0x1 + 0x1]
MOV EAX,EDI
TEST byte ptr [EBP + EDI*0x2 + 0x1],0x1
JZ 0x00030029
MOV dword ptr [ESP + 0x30],EDX
CALL 0x000126b0
MOV EDX,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + EDI*0x4]
CMP EDX,EAX
JZ 0x0002ffd8
MOV EAX,dword ptr [ESP + 0x18]
ADD EAX,0x1
CMP EAX,dword ptr [ESP + 0x14]
JA 0x0003023d
MOV ECX,dword ptr [ESP + 0x3c]
MOV EAX,dword ptr [ESP + 0xc]
ADD dword ptr [ESP + 0x20],ECX
SUB EAX,ECX
MOV dword ptr [ESP + 0x18],EAX
JMP 0x0002ff98
XOR EAX,EAX
JMP 0x0002fe3b
MOV EAX,dword ptr [ESP + 0x18]
MOV dword ptr [ESP + 0x14],EAX
JMP 0x0003002d
MOV ECX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x18],0x0
SUB EAX,ECX
CMP EAX,ECX
CMOVC EAX,ECX
ADD EAX,0x1
MOV dword ptr [ESP + 0x34],EAX
MOV dword ptr [ESP + 0x48],EAX
MOV EAX,0x1
SUB EAX,ECX
MOV dword ptr [ESP + 0x30],EAX
LEA ESI,[ESI]
NOP
MOV EDI,dword ptr [ESP + 0xc]
MOV EBP,dword ptr [ESP + 0x18]
SUB ESP,0x4
ADD EBP,EDI
MOV EAX,EBP
MOV dword ptr [ESP + 0x24],EBP
SUB EAX,ESI
PUSH EAX
PUSH 0x0
ADD ESI,dword ptr [ESP + 0x38]
PUSH ESI
CALL 0x000213e0
ADD ESP,0x10
TEST EBP,EBP
JZ 0x00030058
TEST EAX,EAX
JNZ 0x00030058
MOV ESI,dword ptr [ESP + 0x28]
CMP EDI,ESI
JBE 0x00030160
MOV ECX,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [ESP + 0x18]
MOV EBP,dword ptr [ECX]
MOV ECX,dword ptr [ESP + 0x1c]
ADD EAX,ECX
MOV dword ptr [ESP + 0x10],EAX
JMP 0x000300f9
ADD ESI,0x1
CMP dword ptr [ESP + 0xc],ESI
JBE 0x00030160
MOV EAX,dword ptr [ESP + 0x8]
MOVZX EDI,byte ptr [EAX + ESI*0x1]
MOV EDX,EDI
TEST byte ptr [EBP + EDI*0x2 + 0x1],0x1
JZ 0x00030114
CALL 0x000126b0
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + EDI*0x4]
MOV EAX,dword ptr [ESP + 0x10]
MOVZX EDI,byte ptr [ESI + EAX*0x1 + 0x1]
MOV EAX,EDI
TEST byte ptr [EBP + EDI*0x2 + 0x1],0x1
JZ 0x00030138
MOV dword ptr [ESP + 0x14],EDX
CALL 0x000126b0
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + EDI*0x4]
CMP EDX,EAX
JZ 0x000300f0
CMP dword ptr [ESP + 0xc],ESI
JBE 0x00030160
MOV EAX,dword ptr [ESP + 0x18]
ADD EAX,dword ptr [ESP + 0x30]
ADD EAX,ESI
MOV dword ptr [ESP + 0x18],EAX
MOV ESI,dword ptr [ESP + 0x20]
JMP 0x000300a0
MOV EAX,dword ptr [ESP + 0x28]
LEA ESI,[EAX + -0x1]
CMP ESI,-0x1
JZ 0x00030230
MOV EAX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x18]
MOV EBP,dword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x1c]
ADD EAX,ECX
MOV dword ptr [ESP + 0x10],EAX
JMP 0x0003019c
SUB ESI,0x1
CMP ESI,-0x1
JZ 0x00030230
MOV EAX,dword ptr [ESP + 0x8]
MOVZX EDI,byte ptr [EAX + ESI*0x1]
MOV EDX,EDI
TEST byte ptr [EBP + EDI*0x2 + 0x1],0x1
JZ 0x000301b7
CALL 0x000126b0
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + EDI*0x4]
MOV EAX,dword ptr [ESP + 0x10]
MOVZX EDI,byte ptr [ESI + EAX*0x1 + 0x1]
MOV EAX,EDI
TEST byte ptr [EBP + EDI*0x2 + 0x1],0x1
JZ 0x000301db
MOV dword ptr [ESP + 0x14],EDX
CALL 0x000126b0
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + EDI*0x4]
CMP EDX,EAX
JZ 0x00030190
MOV ECX,dword ptr [ESP + 0x34]
ADD dword ptr [ESP + 0x18],ECX
JMP 0x00030150
MOV dword ptr [ESP + 0x48],0x1
MOV dword ptr [ESP + 0x28],ESI
MOV dword ptr [ESP + 0x3c],0x1
JMP 0x0002fe84
TEST AL,AL
MOV EAX,0x0
CMOVZ EAX,dword ptr [ESP + 0x1c]
JMP 0x0002fe3b
MOV EAX,dword ptr [ESP + 0x1c]
JMP 0x0002fe3b
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP + 0x14],EAX
JMP 0x0003002d
MOV EAX,dword ptr [ESP + 0x2c]
ADD EAX,dword ptr [ESP + 0x18]
JMP 0x0002fe3b
MOV EAX,dword ptr [ESP + 0x2c]
ADD EAX,dword ptr [ESP + 0x20]
JMP 0x0002fe3b
CALL 0x00031620
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbyte * FUN_0002fd10(byte *param_1,byte *param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  ushort *puVar3;\n  ushort **ppuVar4;\n  __int32_t **pp_Var5;\n  int iVar6;\n  byte bVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  byte bVar12;\n  uint uVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  uint local_58;\n  uint local_54;\n  int local_4c;\n  uint local_44;\n  int local_30;\n  int local_24;\n  \n  bVar7 = *param_1;\n  bVar12 = *param_2;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (bVar7 == 0) {\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }\n  else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }\nLAB_0002fe3b:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031620();\n  }\n  return pbVar9;\nLAB_00030058:\n  pbVar9 = (byte *)0x0;\n  goto LAB_0002fe3b;\n}\n\n" comment (function_definition "byte * FUN_0002fd10(byte *param_1,byte *param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  ushort *puVar3;\n  ushort **ppuVar4;\n  __int32_t **pp_Var5;\n  int iVar6;\n  byte bVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  byte bVar12;\n  uint uVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  uint local_58;\n  uint local_54;\n  int local_4c;\n  uint local_44;\n  int local_30;\n  int local_24;\n  \n  bVar7 = *param_1;\n  bVar12 = *param_2;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (bVar7 == 0) {\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }\n  else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }\nLAB_0002fe3b:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031620();\n  }\n  return pbVar9;\nLAB_00030058:\n  pbVar9 = (byte *)0x0;\n  goto LAB_0002fe3b;\n}" type_identifier (pointer_declarator "* FUN_0002fd10(byte *param_1,byte *param_2)" * (function_declarator "FUN_0002fd10(byte *param_1,byte *param_2)" identifier (parameter_list "(byte *param_1,byte *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  ushort *puVar3;\n  ushort **ppuVar4;\n  __int32_t **pp_Var5;\n  int iVar6;\n  byte bVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  byte bVar12;\n  uint uVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  uint local_58;\n  uint local_54;\n  int local_4c;\n  uint local_44;\n  int local_30;\n  int local_24;\n  \n  bVar7 = *param_1;\n  bVar12 = *param_2;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (bVar7 == 0) {\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }\n  else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }\nLAB_0002fe3b:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031620();\n  }\n  return pbVar9;\nLAB_00030058:\n  pbVar9 = (byte *)0x0;\n  goto LAB_0002fe3b;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ushort *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "ushort **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "__int32_t **pp_Var5;" type_identifier (pointer_declarator "**pp_Var5" * (pointer_declarator "*pp_Var5" * identifier)) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "byte bVar12;" type_identifier identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_58;" type_identifier identifier ;) (declaration "uint local_54;" type_identifier identifier ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "bVar7 = *param_1;" (assignment_expression "bVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "bVar12 = *param_2;" (assignment_expression "bVar12 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (bVar7 == 0) {\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }\n  else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }" if (parenthesized_expression "(bVar7 == 0)" ( (binary_expression "bVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }" { (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }" if (parenthesized_expression "(bVar12 == 0)" ( (binary_expression "bVar12 == 0" identifier == number_literal) )) (compound_statement "{\n      pbVar9 = param_1;\n    }" { (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) })) }) (else_clause "else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }" else (compound_statement "{\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }" { (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) (if_statement "if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }" if (parenthesized_expression "(bVar12 != 0)" ( (binary_expression "bVar12 != 0" identifier != number_literal) )) (compound_statement "{\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }" { (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) (expression_statement "pbVar8 = param_2;" (assignment_expression "pbVar8 = param_2" identifier = identifier) ;) (do_statement "do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);" do (compound_statement "{\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      }" { (expression_statement "uVar10 = (uint)bVar7;" (assignment_expression "uVar10 = (uint)bVar7" identifier = (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar10 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar10 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar10 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar10 * 2 + 1" (binary_expression "(int)puVar3 + uVar10 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar10 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar10 = (*pp_Var5)[uVar10];" (assignment_expression "uVar10 = (*pp_Var5)[uVar10]" identifier = (subscript_expression "(*pp_Var5)[uVar10]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar13 = (uint)bVar12;" (assignment_expression "uVar13 = (uint)bVar12" identifier = (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar13 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar13 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar13 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar13 * 2 + 1" (binary_expression "(int)puVar3 + uVar13 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar13 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar13 = (*pp_Var5)[uVar13];" (assignment_expression "uVar13 = (*pp_Var5)[uVar13]" identifier = (subscript_expression "(*pp_Var5)[uVar13]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar9;" (assignment_expression "bVar7 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = (bool)(bVar1 & uVar10 == uVar13);" (assignment_expression "bVar1 = (bool)(bVar1 & uVar10 == uVar13)" identifier = (cast_expression "(bool)(bVar1 & uVar10 == uVar13)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar1 & uVar10 == uVar13)" ( (binary_expression "bVar1 & uVar10 == uVar13" identifier & (binary_expression "uVar10 == uVar13" identifier == identifier)) )))) ;) (expression_statement "bVar12 = *pbVar8;" (assignment_expression "bVar12 = *pbVar8" identifier = (pointer_expression "*pbVar8" * identifier)) ;) (if_statement "if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }" if (parenthesized_expression "(bVar7 == 0)" ( (binary_expression "bVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }" { (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (bVar12 != 0) goto LAB_0002fe3b;" if (parenthesized_expression "(bVar12 != 0)" ( (binary_expression "bVar12 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(bVar12 != 0)" ( (binary_expression "bVar12 != 0" identifier != number_literal) )) ;) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) (if_statement "if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (compound_statement "{\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }" { (expression_statement "uVar13 = (int)pbVar8 - (int)param_2;" (assignment_expression "uVar13 = (int)pbVar8 - (int)param_2" identifier = (binary_expression "(int)pbVar8 - (int)param_2" (cast_expression "(int)pbVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar10 = uVar13 - 1;" (assignment_expression "uVar10 = uVar13 - 1" identifier = (binary_expression "uVar13 - 1" identifier - number_literal)) ;) (if_statement "if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }" if (parenthesized_expression "(uVar13 < 0x20)" ( (binary_expression "uVar13 < 0x20" identifier < number_literal) )) (compound_statement "{\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }" { (if_statement "if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }" if (parenthesized_expression "(uVar13 < 3)" ( (binary_expression "uVar13 < 3" identifier < number_literal) )) (compound_statement "{\n            local_30 = 1;\n            local_44 = uVar10;\n          }" { (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" identifier = number_literal) ;) (expression_statement "local_44 = uVar10;" (assignment_expression "local_44 = uVar10" identifier = identifier) ;) }) (else_clause "else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }" else (compound_statement "{\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }" { (expression_statement "local_44 = FUN_0002f5a0();" (assignment_expression "local_44 = FUN_0002f5a0()" identifier = (call_expression "FUN_0002f5a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_30 = local_24;" (assignment_expression "local_30 = local_24" identifier = identifier) ;) }))) (expression_statement "iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);" (assignment_expression "iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44)" identifier = (call_expression "strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44)" identifier (argument_list "((char *)param_2,(char *)(param_2 + local_30),local_44)" ( (cast_expression "(char *)param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)(param_2 + local_30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + local_30)" ( (binary_expression "param_2 + local_30" identifier + identifier) ))) , identifier )))) ;) (if_statement "if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }" { (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "uVar14 = uVar13 - local_44;" (assignment_expression "uVar14 = uVar13 - local_44" identifier = (binary_expression "uVar13 - local_44" identifier - identifier)) ;) (if_statement "if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }" if (parenthesized_expression "(uVar13 - local_44 < local_44)" ( (binary_expression "uVar13 - local_44 < local_44" (binary_expression "uVar13 - local_44" identifier - identifier) < identifier) )) (compound_statement "{\n              uVar14 = local_44;\n            }" { (expression_statement "uVar14 = local_44;" (assignment_expression "uVar14 = local_44" identifier = identifier) ;) })) (labeled_statement "LAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );" statement_identifier : (do_statement "do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );" do (compound_statement "{\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            }" { (expression_statement "uVar11 = local_54 + uVar13;" (assignment_expression "uVar11 = local_54 + uVar13" identifier = (binary_expression "local_54 + uVar13" identifier + identifier)) ;) (expression_statement "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);" (assignment_expression "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10)" identifier = (call_expression "FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10)" identifier (argument_list "(param_1 + uVar10 + 1,0,uVar11 - uVar10)" ( (binary_expression "param_1 + uVar10 + 1" (binary_expression "param_1 + uVar10" identifier + identifier) + number_literal) , number_literal , (binary_expression "uVar11 - uVar10" identifier - identifier) )))) ;) (if_statement "if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;" if (parenthesized_expression "((uVar11 == 0) || (iVar6 != 0))" ( (binary_expression "(uVar11 == 0) || (iVar6 != 0)" (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) ))) )) (goto_statement "goto LAB_00030058;" goto statement_identifier ;)) (expression_statement "uVar10 = uVar11;" (assignment_expression "uVar10 = uVar11" identifier = identifier) ;) (if_statement "if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }" if (parenthesized_expression "(local_44 < uVar13)" ( (binary_expression "local_44 < uVar13" identifier < identifier) )) (compound_statement "{\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }" { (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) (expression_statement "uVar11 = local_44;" (assignment_expression "uVar11 = local_44" identifier = identifier) ;) (do_statement "do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);" do (compound_statement "{\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                }" { (expression_statement "uVar15 = (uint)param_2[uVar11];" (assignment_expression "uVar15 = (uint)param_2[uVar11]" identifier = (cast_expression "(uint)param_2[uVar11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar15 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" identifier = (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar16 = (uint)param_1[uVar11 + 1 + local_54];" (assignment_expression "uVar16 = (uint)param_1[uVar11 + 1 + local_54]" identifier = (cast_expression "(uint)param_1[uVar11 + 1 + local_54]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[uVar11 + 1 + local_54]" identifier [ (binary_expression "uVar11 + 1 + local_54" (binary_expression "uVar11 + 1" identifier + number_literal) + identifier) ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar16 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar16 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar16 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar16 * 2 + 1" (binary_expression "(int)puVar3 + uVar16 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar16 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar16 = (*pp_Var5)[uVar16];" (assignment_expression "uVar16 = (*pp_Var5)[uVar16]" identifier = (subscript_expression "(*pp_Var5)[uVar16]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }" if (parenthesized_expression "(uVar15 != uVar16)" ( (binary_expression "uVar15 != uVar16" identifier != identifier) )) (compound_statement "{\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }" { (if_statement "if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }" if (parenthesized_expression "(uVar11 < uVar13)" ( (binary_expression "uVar11 < uVar13" identifier < identifier) )) (compound_statement "{\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }" { (expression_statement "local_54 = local_54 + (1 - local_44) + uVar11;" (assignment_expression "local_54 = local_54 + (1 - local_44) + uVar11" identifier = (binary_expression "local_54 + (1 - local_44) + uVar11" (binary_expression "local_54 + (1 - local_44)" identifier + (parenthesized_expression "(1 - local_44)" ( (binary_expression "1 - local_44" number_literal - identifier) ))) + identifier)) ;) (goto_statement "goto LAB_000300a0;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 < uVar13)" ( (binary_expression "uVar11 < uVar13" identifier < identifier) )) ;) })) (expression_statement "iVar6 = local_44 - 1;" (assignment_expression "iVar6 = local_44 - 1" identifier = (binary_expression "local_44 - 1" identifier - number_literal)) ;) (if_statement "if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }" { (labeled_statement "LAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;" statement_identifier : (expression_statement "pbVar9 = param_1 + local_54 + 1;" (assignment_expression "pbVar9 = param_1 + local_54 + 1" identifier = (binary_expression "param_1 + local_54 + 1" (binary_expression "param_1 + local_54" identifier + identifier) + number_literal)) ;)) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;) })) (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) (while_statement "while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }" { (expression_statement "uVar11 = (uint)param_2[iVar6];" (assignment_expression "uVar11 = (uint)param_2[iVar6]" identifier = (cast_expression "(uint)param_2[iVar6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[iVar6]" identifier [ identifier ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar11 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar11 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar11 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar11 * 2 + 1" (binary_expression "(int)puVar3 + uVar11 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar11 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar11 = (*pp_Var5)[uVar11];" (assignment_expression "uVar11 = (*pp_Var5)[uVar11]" identifier = (subscript_expression "(*pp_Var5)[uVar11]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar15 = (uint)param_1[iVar6 + 1 + local_54];" (assignment_expression "uVar15 = (uint)param_1[iVar6 + 1 + local_54]" identifier = (cast_expression "(uint)param_1[iVar6 + 1 + local_54]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[iVar6 + 1 + local_54]" identifier [ (binary_expression "iVar6 + 1 + local_54" (binary_expression "iVar6 + 1" identifier + number_literal) + identifier) ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar15 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" identifier = (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar11 != uVar15) break;" if (parenthesized_expression "(uVar11 != uVar15)" ( (binary_expression "uVar11 != uVar15" identifier != identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (if_statement "if (iVar6 == -1) goto LAB_00030230;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00030230;" goto statement_identifier ;)) })) (expression_statement "local_54 = local_54 + uVar14 + 1;" (assignment_expression "local_54 = local_54 + uVar14 + 1" identifier = (binary_expression "local_54 + uVar14 + 1" (binary_expression "local_54 + uVar14" identifier + identifier) + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })) (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );" statement_identifier : (do_statement "do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );" do (compound_statement "{\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          }" { (expression_statement "uVar14 = uVar13 + local_4c;" (assignment_expression "uVar14 = uVar13 + local_4c" identifier = (binary_expression "uVar13 + local_4c" identifier + identifier)) ;) (expression_statement "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);" (assignment_expression "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10)" identifier = (call_expression "FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10)" identifier (argument_list "(param_1 + uVar10 + 1,0,uVar14 - uVar10)" ( (binary_expression "param_1 + uVar10 + 1" (binary_expression "param_1 + uVar10" identifier + identifier) + number_literal) , number_literal , (binary_expression "uVar14 - uVar10" identifier - identifier) )))) ;) (if_statement "if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;" if (parenthesized_expression "((uVar14 == 0) || (iVar6 != 0))" ( (binary_expression "(uVar14 == 0) || (iVar6 != 0)" (parenthesized_expression "(uVar14 == 0)" ( (binary_expression "uVar14 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) ))) )) (goto_statement "goto LAB_00030058;" goto statement_identifier ;)) (expression_statement "uVar11 = local_54;" (assignment_expression "uVar11 = local_54" identifier = identifier) ;) (if_statement "if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }" if (parenthesized_expression "(local_54 <= local_44)" ( (binary_expression "local_54 <= local_44" identifier <= identifier) )) (compound_statement "{\n              uVar11 = local_44;\n            }" { (expression_statement "uVar11 = local_44;" (assignment_expression "uVar11 = local_44" identifier = identifier) ;) })) (expression_statement "uVar10 = uVar14;" (assignment_expression "uVar10 = uVar14" identifier = identifier) ;) (if_statement "if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }" if (parenthesized_expression "(uVar11 < uVar13)" ( (binary_expression "uVar11 < uVar13" identifier < identifier) )) (compound_statement "{\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }" { (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) (do_statement "do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);" do (compound_statement "{\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              }" { (expression_statement "uVar14 = (uint)param_2[uVar11];" (assignment_expression "uVar14 = (uint)param_2[uVar11]" identifier = (cast_expression "(uint)param_2[uVar11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar14 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar14 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar14 * 2 + 1" (binary_expression "(int)puVar3 + uVar14 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar14 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar14 = (*pp_Var5)[uVar14];" (assignment_expression "uVar14 = (*pp_Var5)[uVar14]" identifier = (subscript_expression "(*pp_Var5)[uVar14]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar15 = (uint)param_1[uVar11 + 1 + local_4c];" (assignment_expression "uVar15 = (uint)param_1[uVar11 + 1 + local_4c]" identifier = (cast_expression "(uint)param_1[uVar11 + 1 + local_4c]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[uVar11 + 1 + local_4c]" identifier [ (binary_expression "uVar11 + 1 + local_4c" (binary_expression "uVar11 + 1" identifier + number_literal) + identifier) ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar15 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" identifier = (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }" if (parenthesized_expression "(uVar14 != uVar15)" ( (binary_expression "uVar14 != uVar15" identifier != identifier) )) (compound_statement "{\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }" { (if_statement "if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }" if (parenthesized_expression "(uVar11 < uVar13)" ( (binary_expression "uVar11 < uVar13" identifier < identifier) )) (compound_statement "{\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }" { (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "local_4c = local_4c + (1 - local_44) + uVar11;" (assignment_expression "local_4c = local_4c + (1 - local_44) + uVar11" identifier = (binary_expression "local_4c + (1 - local_44) + uVar11" (binary_expression "local_4c + (1 - local_44)" identifier + (parenthesized_expression "(1 - local_44)" ( (binary_expression "1 - local_44" number_literal - identifier) ))) + identifier)) ;) (goto_statement "goto LAB_0002fec8;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar13 != uVar11)" ( (binary_expression "uVar13 != uVar11" identifier != identifier) )) ;) })) (if_statement "if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }" if (parenthesized_expression "(local_54 < local_44)" ( (binary_expression "local_54 < local_44" identifier < identifier) )) (compound_statement "{\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }" { (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) (expression_statement "local_58 = local_44;" (assignment_expression "local_58 = local_44" identifier = identifier) ;) (do_statement "do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);" do (compound_statement "{\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              }" { (expression_statement "uVar11 = local_58 - 1;" (assignment_expression "uVar11 = local_58 - 1" identifier = (binary_expression "local_58 - 1" identifier - number_literal)) ;) (expression_statement "uVar14 = (uint)param_2[uVar11];" (assignment_expression "uVar14 = (uint)param_2[uVar11]" identifier = (cast_expression "(uint)param_2[uVar11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar14 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar14 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar14 * 2 + 1" (binary_expression "(int)puVar3 + uVar14 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar14 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar14 = (*pp_Var5)[uVar14];" (assignment_expression "uVar14 = (*pp_Var5)[uVar14]" identifier = (subscript_expression "(*pp_Var5)[uVar14]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar15 = (uint)param_1[local_58 + local_4c];" (assignment_expression "uVar15 = (uint)param_1[local_58 + local_4c]" identifier = (cast_expression "(uint)param_1[local_58 + local_4c]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[local_58 + local_4c]" identifier [ (binary_expression "local_58 + local_4c" identifier + identifier) ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar15 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" identifier = (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar14 != uVar15) goto LAB_0003002d;" if (parenthesized_expression "(uVar14 != uVar15)" ( (binary_expression "uVar14 != uVar15" identifier != identifier) )) (goto_statement "goto LAB_0003002d;" goto statement_identifier ;)) (expression_statement "local_58 = uVar11;" (assignment_expression "local_58 = uVar11" identifier = identifier) ;) }) while (parenthesized_expression "(local_54 != uVar11)" ( (binary_expression "local_54 != uVar11" identifier != identifier) )) ;) (expression_statement "local_58 = local_54;" (assignment_expression "local_58 = local_54" identifier = identifier) ;) }) (else_clause "else {\n              local_58 = local_44;\n            }" else (compound_statement "{\n              local_58 = local_44;\n            }" { (expression_statement "local_58 = local_44;" (assignment_expression "local_58 = local_44" identifier = identifier) ;) }))) (labeled_statement "LAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }" statement_identifier : (if_statement "if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }" if (parenthesized_expression "(local_58 < local_54 + 1)" ( (binary_expression "local_58 < local_54 + 1" identifier < (binary_expression "local_54 + 1" identifier + number_literal)) )) (compound_statement "{\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }" { (expression_statement "pbVar9 = param_1 + local_4c + 1;" (assignment_expression "pbVar9 = param_1 + local_4c + 1" identifier = (binary_expression "param_1 + local_4c + 1" (binary_expression "param_1 + local_4c" identifier + identifier) + number_literal)) ;) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;) }))) (expression_statement "local_4c = local_4c + local_30;" (assignment_expression "local_4c = local_4c + local_30" identifier = (binary_expression "local_4c + local_30" identifier + identifier)) ;) (expression_statement "local_54 = uVar13 - local_30;" (assignment_expression "local_54 = uVar13 - local_30" identifier = (binary_expression "uVar13 - local_30" identifier - identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })) (expression_statement "pbVar9 = (byte *)FUN_0002f7f0(uVar13);" (assignment_expression "pbVar9 = (byte *)FUN_0002f7f0(uVar13)" identifier = (cast_expression "(byte *)FUN_0002f7f0(uVar13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002f7f0(uVar13)" identifier (argument_list "(uVar13)" ( identifier ))))) ;) })) })) }))) (labeled_statement "LAB_0002fe3b:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031620();\n  }" statement_identifier : (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031620();\n  }" if (parenthesized_expression "(iVar2 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00031620();\n  }" { comment (expression_statement "FUN_00031620();" (call_expression "FUN_00031620()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return pbVar9;" return identifier ;) (labeled_statement "LAB_00030058:\n  pbVar9 = (byte *)0x0;" statement_identifier : (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nchar * rpl_strcasestr(char *haystack_start,char *needle_start)\n\n{\n  bool bVar1;\n  ushort *puVar2;\n  ushort **ppuVar3;\n  __int32_t **pp_Var4;\n  uchar *puVar5;\n  int iVar6;\n  void *pvVar7;\n  byte bVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  size_t sVar11;\n  uint uVar12;\n  size_t sVar13;\n  byte bVar14;\n  uint uVar15;\n  size_t sVar16;\n  uint uVar17;\n  uint uVar18;\n  uint uVar19;\n  int in_GS_OFFSET;\n  uint local_58;\n  uint local_54;\n  int local_4c;\n  uint local_44;\n  size_t period;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2fd19;\n  bVar8 = *haystack_start;\n  bVar14 = *needle_start;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (bVar8 == 0) {\n    puVar5 = (uchar *)0x0;\n    if (bVar14 == 0) {\n      puVar5 = (uchar *)haystack_start;\n    }\n  }\n  else {\n    puVar5 = (uchar *)haystack_start;\n    if (bVar14 != 0) {\n      ppuVar3 = __ctype_b_loc();\n      bVar1 = true;\n      puVar2 = *ppuVar3;\n      pbVar9 = (byte *)needle_start;\n      pbVar10 = (byte *)haystack_start;\n      do {\n        uVar12 = (uint)bVar8;\n        if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }\n        uVar15 = (uint)bVar14;\n        if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }\n        pbVar10 = pbVar10 + 1;\n        bVar8 = *pbVar10;\n        pbVar9 = pbVar9 + 1;\n        bVar1 = (bool)(bVar1 & uVar12 == uVar15);\n        bVar14 = *pbVar9;\n        if (bVar8 == 0) {\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar14 != 0);\n      puVar5 = (uchar *)haystack_start;\n      if (!bVar1) {\n        puVar5 = (uchar *)(haystack_start + 1);\n        uVar12 = (int)pbVar9 - (int)needle_start;\n        sVar13 = uVar12 - 1;\n        if (uVar12 < 0x20) {\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }\n        puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);\n      }\n    }\n  }\nLAB_0002fe3b:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return (char *)puVar5;\nLAB_00030058:\n  puVar5 = (uchar *)0x0;\n  goto LAB_0002fe3b;\n}\n\n" comment comment (function_definition "char * rpl_strcasestr(char *haystack_start,char *needle_start)\n\n{\n  bool bVar1;\n  ushort *puVar2;\n  ushort **ppuVar3;\n  __int32_t **pp_Var4;\n  uchar *puVar5;\n  int iVar6;\n  void *pvVar7;\n  byte bVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  size_t sVar11;\n  uint uVar12;\n  size_t sVar13;\n  byte bVar14;\n  uint uVar15;\n  size_t sVar16;\n  uint uVar17;\n  uint uVar18;\n  uint uVar19;\n  int in_GS_OFFSET;\n  uint local_58;\n  uint local_54;\n  int local_4c;\n  uint local_44;\n  size_t period;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2fd19;\n  bVar8 = *haystack_start;\n  bVar14 = *needle_start;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (bVar8 == 0) {\n    puVar5 = (uchar *)0x0;\n    if (bVar14 == 0) {\n      puVar5 = (uchar *)haystack_start;\n    }\n  }\n  else {\n    puVar5 = (uchar *)haystack_start;\n    if (bVar14 != 0) {\n      ppuVar3 = __ctype_b_loc();\n      bVar1 = true;\n      puVar2 = *ppuVar3;\n      pbVar9 = (byte *)needle_start;\n      pbVar10 = (byte *)haystack_start;\n      do {\n        uVar12 = (uint)bVar8;\n        if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }\n        uVar15 = (uint)bVar14;\n        if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }\n        pbVar10 = pbVar10 + 1;\n        bVar8 = *pbVar10;\n        pbVar9 = pbVar9 + 1;\n        bVar1 = (bool)(bVar1 & uVar12 == uVar15);\n        bVar14 = *pbVar9;\n        if (bVar8 == 0) {\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar14 != 0);\n      puVar5 = (uchar *)haystack_start;\n      if (!bVar1) {\n        puVar5 = (uchar *)(haystack_start + 1);\n        uVar12 = (int)pbVar9 - (int)needle_start;\n        sVar13 = uVar12 - 1;\n        if (uVar12 < 0x20) {\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }\n        puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);\n      }\n    }\n  }\nLAB_0002fe3b:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return (char *)puVar5;\nLAB_00030058:\n  puVar5 = (uchar *)0x0;\n  goto LAB_0002fe3b;\n}" primitive_type (pointer_declarator "* rpl_strcasestr(char *haystack_start,char *needle_start)" * (function_declarator "rpl_strcasestr(char *haystack_start,char *needle_start)" identifier (parameter_list "(char *haystack_start,char *needle_start)" ( (parameter_declaration "char *haystack_start" primitive_type (pointer_declarator "*haystack_start" * identifier)) , (parameter_declaration "char *needle_start" primitive_type (pointer_declarator "*needle_start" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  ushort *puVar2;\n  ushort **ppuVar3;\n  __int32_t **pp_Var4;\n  uchar *puVar5;\n  int iVar6;\n  void *pvVar7;\n  byte bVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  size_t sVar11;\n  uint uVar12;\n  size_t sVar13;\n  byte bVar14;\n  uint uVar15;\n  size_t sVar16;\n  uint uVar17;\n  uint uVar18;\n  uint uVar19;\n  int in_GS_OFFSET;\n  uint local_58;\n  uint local_54;\n  int local_4c;\n  uint local_44;\n  size_t period;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2fd19;\n  bVar8 = *haystack_start;\n  bVar14 = *needle_start;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (bVar8 == 0) {\n    puVar5 = (uchar *)0x0;\n    if (bVar14 == 0) {\n      puVar5 = (uchar *)haystack_start;\n    }\n  }\n  else {\n    puVar5 = (uchar *)haystack_start;\n    if (bVar14 != 0) {\n      ppuVar3 = __ctype_b_loc();\n      bVar1 = true;\n      puVar2 = *ppuVar3;\n      pbVar9 = (byte *)needle_start;\n      pbVar10 = (byte *)haystack_start;\n      do {\n        uVar12 = (uint)bVar8;\n        if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }\n        uVar15 = (uint)bVar14;\n        if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }\n        pbVar10 = pbVar10 + 1;\n        bVar8 = *pbVar10;\n        pbVar9 = pbVar9 + 1;\n        bVar1 = (bool)(bVar1 & uVar12 == uVar15);\n        bVar14 = *pbVar9;\n        if (bVar8 == 0) {\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar14 != 0);\n      puVar5 = (uchar *)haystack_start;\n      if (!bVar1) {\n        puVar5 = (uchar *)(haystack_start + 1);\n        uVar12 = (int)pbVar9 - (int)needle_start;\n        sVar13 = uVar12 - 1;\n        if (uVar12 < 0x20) {\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }\n        puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);\n      }\n    }\n  }\nLAB_0002fe3b:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return (char *)puVar5;\nLAB_00030058:\n  puVar5 = (uchar *)0x0;\n  goto LAB_0002fe3b;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "ushort *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "ushort **ppuVar3;" type_identifier (pointer_declarator "**ppuVar3" * (pointer_declarator "*ppuVar3" * identifier)) ;) (declaration "__int32_t **pp_Var4;" type_identifier (pointer_declarator "**pp_Var4" * (pointer_declarator "*pp_Var4" * identifier)) ;) (declaration "uchar *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "void *pvVar7;" primitive_type (pointer_declarator "*pvVar7" * identifier) ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "size_t sVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "size_t sVar13;" primitive_type identifier ;) (declaration "byte bVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "size_t sVar16;" primitive_type identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "uint uVar19;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_58;" type_identifier identifier ;) (declaration "uint local_54;" type_identifier identifier ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "size_t period;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2fd19;" (assignment_expression "uStack_14 = 0x2fd19" identifier = number_literal) ;) (expression_statement "bVar8 = *haystack_start;" (assignment_expression "bVar8 = *haystack_start" identifier = (pointer_expression "*haystack_start" * identifier)) ;) (expression_statement "bVar14 = *needle_start;" (assignment_expression "bVar14 = *needle_start" identifier = (pointer_expression "*needle_start" * identifier)) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (bVar8 == 0) {\n    puVar5 = (uchar *)0x0;\n    if (bVar14 == 0) {\n      puVar5 = (uchar *)haystack_start;\n    }\n  }\n  else {\n    puVar5 = (uchar *)haystack_start;\n    if (bVar14 != 0) {\n      ppuVar3 = __ctype_b_loc();\n      bVar1 = true;\n      puVar2 = *ppuVar3;\n      pbVar9 = (byte *)needle_start;\n      pbVar10 = (byte *)haystack_start;\n      do {\n        uVar12 = (uint)bVar8;\n        if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }\n        uVar15 = (uint)bVar14;\n        if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }\n        pbVar10 = pbVar10 + 1;\n        bVar8 = *pbVar10;\n        pbVar9 = pbVar9 + 1;\n        bVar1 = (bool)(bVar1 & uVar12 == uVar15);\n        bVar14 = *pbVar9;\n        if (bVar8 == 0) {\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar14 != 0);\n      puVar5 = (uchar *)haystack_start;\n      if (!bVar1) {\n        puVar5 = (uchar *)(haystack_start + 1);\n        uVar12 = (int)pbVar9 - (int)needle_start;\n        sVar13 = uVar12 - 1;\n        if (uVar12 < 0x20) {\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }\n        puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);\n      }\n    }\n  }" if (parenthesized_expression "(bVar8 == 0)" ( (binary_expression "bVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar5 = (uchar *)0x0;\n    if (bVar14 == 0) {\n      puVar5 = (uchar *)haystack_start;\n    }\n  }" { (expression_statement "puVar5 = (uchar *)0x0;" (assignment_expression "puVar5 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (bVar14 == 0) {\n      puVar5 = (uchar *)haystack_start;\n    }" if (parenthesized_expression "(bVar14 == 0)" ( (binary_expression "bVar14 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar5 = (uchar *)haystack_start;\n    }" { (expression_statement "puVar5 = (uchar *)haystack_start;" (assignment_expression "puVar5 = (uchar *)haystack_start" identifier = (cast_expression "(uchar *)haystack_start" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) }) (else_clause "else {\n    puVar5 = (uchar *)haystack_start;\n    if (bVar14 != 0) {\n      ppuVar3 = __ctype_b_loc();\n      bVar1 = true;\n      puVar2 = *ppuVar3;\n      pbVar9 = (byte *)needle_start;\n      pbVar10 = (byte *)haystack_start;\n      do {\n        uVar12 = (uint)bVar8;\n        if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }\n        uVar15 = (uint)bVar14;\n        if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }\n        pbVar10 = pbVar10 + 1;\n        bVar8 = *pbVar10;\n        pbVar9 = pbVar9 + 1;\n        bVar1 = (bool)(bVar1 & uVar12 == uVar15);\n        bVar14 = *pbVar9;\n        if (bVar8 == 0) {\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar14 != 0);\n      puVar5 = (uchar *)haystack_start;\n      if (!bVar1) {\n        puVar5 = (uchar *)(haystack_start + 1);\n        uVar12 = (int)pbVar9 - (int)needle_start;\n        sVar13 = uVar12 - 1;\n        if (uVar12 < 0x20) {\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }\n        puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);\n      }\n    }\n  }" else (compound_statement "{\n    puVar5 = (uchar *)haystack_start;\n    if (bVar14 != 0) {\n      ppuVar3 = __ctype_b_loc();\n      bVar1 = true;\n      puVar2 = *ppuVar3;\n      pbVar9 = (byte *)needle_start;\n      pbVar10 = (byte *)haystack_start;\n      do {\n        uVar12 = (uint)bVar8;\n        if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }\n        uVar15 = (uint)bVar14;\n        if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }\n        pbVar10 = pbVar10 + 1;\n        bVar8 = *pbVar10;\n        pbVar9 = pbVar9 + 1;\n        bVar1 = (bool)(bVar1 & uVar12 == uVar15);\n        bVar14 = *pbVar9;\n        if (bVar8 == 0) {\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar14 != 0);\n      puVar5 = (uchar *)haystack_start;\n      if (!bVar1) {\n        puVar5 = (uchar *)(haystack_start + 1);\n        uVar12 = (int)pbVar9 - (int)needle_start;\n        sVar13 = uVar12 - 1;\n        if (uVar12 < 0x20) {\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }\n        puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);\n      }\n    }\n  }" { (expression_statement "puVar5 = (uchar *)haystack_start;" (assignment_expression "puVar5 = (uchar *)haystack_start" identifier = (cast_expression "(uchar *)haystack_start" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (bVar14 != 0) {\n      ppuVar3 = __ctype_b_loc();\n      bVar1 = true;\n      puVar2 = *ppuVar3;\n      pbVar9 = (byte *)needle_start;\n      pbVar10 = (byte *)haystack_start;\n      do {\n        uVar12 = (uint)bVar8;\n        if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }\n        uVar15 = (uint)bVar14;\n        if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }\n        pbVar10 = pbVar10 + 1;\n        bVar8 = *pbVar10;\n        pbVar9 = pbVar9 + 1;\n        bVar1 = (bool)(bVar1 & uVar12 == uVar15);\n        bVar14 = *pbVar9;\n        if (bVar8 == 0) {\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar14 != 0);\n      puVar5 = (uchar *)haystack_start;\n      if (!bVar1) {\n        puVar5 = (uchar *)(haystack_start + 1);\n        uVar12 = (int)pbVar9 - (int)needle_start;\n        sVar13 = uVar12 - 1;\n        if (uVar12 < 0x20) {\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }\n        puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);\n      }\n    }" if (parenthesized_expression "(bVar14 != 0)" ( (binary_expression "bVar14 != 0" identifier != number_literal) )) (compound_statement "{\n      ppuVar3 = __ctype_b_loc();\n      bVar1 = true;\n      puVar2 = *ppuVar3;\n      pbVar9 = (byte *)needle_start;\n      pbVar10 = (byte *)haystack_start;\n      do {\n        uVar12 = (uint)bVar8;\n        if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }\n        uVar15 = (uint)bVar14;\n        if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }\n        pbVar10 = pbVar10 + 1;\n        bVar8 = *pbVar10;\n        pbVar9 = pbVar9 + 1;\n        bVar1 = (bool)(bVar1 & uVar12 == uVar15);\n        bVar14 = *pbVar9;\n        if (bVar8 == 0) {\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar14 != 0);\n      puVar5 = (uchar *)haystack_start;\n      if (!bVar1) {\n        puVar5 = (uchar *)(haystack_start + 1);\n        uVar12 = (int)pbVar9 - (int)needle_start;\n        sVar13 = uVar12 - 1;\n        if (uVar12 < 0x20) {\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }\n        puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);\n      }\n    }" { (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "puVar2 = *ppuVar3;" (assignment_expression "puVar2 = *ppuVar3" identifier = (pointer_expression "*ppuVar3" * identifier)) ;) (expression_statement "pbVar9 = (byte *)needle_start;" (assignment_expression "pbVar9 = (byte *)needle_start" identifier = (cast_expression "(byte *)needle_start" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar10 = (byte *)haystack_start;" (assignment_expression "pbVar10 = (byte *)haystack_start" identifier = (cast_expression "(byte *)haystack_start" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n        uVar12 = (uint)bVar8;\n        if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }\n        uVar15 = (uint)bVar14;\n        if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }\n        pbVar10 = pbVar10 + 1;\n        bVar8 = *pbVar10;\n        pbVar9 = pbVar9 + 1;\n        bVar1 = (bool)(bVar1 & uVar12 == uVar15);\n        bVar14 = *pbVar9;\n        if (bVar8 == 0) {\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar14 != 0);" do (compound_statement "{\n        uVar12 = (uint)bVar8;\n        if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }\n        uVar15 = (uint)bVar14;\n        if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }\n        pbVar10 = pbVar10 + 1;\n        bVar8 = *pbVar10;\n        pbVar9 = pbVar9 + 1;\n        bVar1 = (bool)(bVar1 & uVar12 == uVar15);\n        bVar14 = *pbVar9;\n        if (bVar8 == 0) {\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      }" { (expression_statement "uVar12 = (uint)bVar8;" (assignment_expression "uVar12 = (uint)bVar8" identifier = (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }" if (parenthesized_expression "((*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar2 + uVar12 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar2 + uVar12 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + uVar12 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + uVar12 * 2 + 1)" ( (binary_expression "(int)puVar2 + uVar12 * 2 + 1" (binary_expression "(int)puVar2 + uVar12 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar12 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n          pp_Var4 = __ctype_tolower_loc();\n          uVar12 = (*pp_Var4)[uVar12];\n        }" { (expression_statement "pp_Var4 = __ctype_tolower_loc();" (assignment_expression "pp_Var4 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar12 = (*pp_Var4)[uVar12];" (assignment_expression "uVar12 = (*pp_Var4)[uVar12]" identifier = (subscript_expression "(*pp_Var4)[uVar12]" (parenthesized_expression "(*pp_Var4)" ( (pointer_expression "*pp_Var4" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar15 = (uint)bVar14;" (assignment_expression "uVar15 = (uint)bVar14" identifier = (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }" if (parenthesized_expression "((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar2 + uVar15 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + uVar15 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + uVar15 * 2 + 1)" ( (binary_expression "(int)puVar2 + uVar15 * 2 + 1" (binary_expression "(int)puVar2 + uVar15 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar15 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n          pp_Var4 = __ctype_tolower_loc();\n          uVar15 = (*pp_Var4)[uVar15];\n        }" { (expression_statement "pp_Var4 = __ctype_tolower_loc();" (assignment_expression "pp_Var4 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar15 = (*pp_Var4)[uVar15];" (assignment_expression "uVar15 = (*pp_Var4)[uVar15]" identifier = (subscript_expression "(*pp_Var4)[uVar15]" (parenthesized_expression "(*pp_Var4)" ( (pointer_expression "*pp_Var4" * identifier) )) [ identifier ])) ;) })) (expression_statement "pbVar10 = pbVar10 + 1;" (assignment_expression "pbVar10 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = *pbVar10;" (assignment_expression "bVar8 = *pbVar10" identifier = (pointer_expression "*pbVar10" * identifier)) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = (bool)(bVar1 & uVar12 == uVar15);" (assignment_expression "bVar1 = (bool)(bVar1 & uVar12 == uVar15)" identifier = (cast_expression "(bool)(bVar1 & uVar12 == uVar15)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar1 & uVar12 == uVar15)" ( (binary_expression "bVar1 & uVar12 == uVar15" identifier & (binary_expression "uVar12 == uVar15" identifier == identifier)) )))) ;) (expression_statement "bVar14 = *pbVar9;" (assignment_expression "bVar14 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (if_statement "if (bVar8 == 0) {\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }" if (parenthesized_expression "(bVar8 == 0)" ( (binary_expression "bVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          puVar5 = (uchar *)0x0;\n          if (bVar14 != 0) goto LAB_0002fe3b;\n          break;\n        }" { (expression_statement "puVar5 = (uchar *)0x0;" (assignment_expression "puVar5 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (bVar14 != 0) goto LAB_0002fe3b;" if (parenthesized_expression "(bVar14 != 0)" ( (binary_expression "bVar14 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(bVar14 != 0)" ( (binary_expression "bVar14 != 0" identifier != number_literal) )) ;) (expression_statement "puVar5 = (uchar *)haystack_start;" (assignment_expression "puVar5 = (uchar *)haystack_start" identifier = (cast_expression "(uchar *)haystack_start" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (!bVar1) {\n        puVar5 = (uchar *)(haystack_start + 1);\n        uVar12 = (int)pbVar9 - (int)needle_start;\n        sVar13 = uVar12 - 1;\n        if (uVar12 < 0x20) {\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }\n        puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);\n      }" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (compound_statement "{\n        puVar5 = (uchar *)(haystack_start + 1);\n        uVar12 = (int)pbVar9 - (int)needle_start;\n        sVar13 = uVar12 - 1;\n        if (uVar12 < 0x20) {\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }\n        puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);\n      }" { (expression_statement "puVar5 = (uchar *)(haystack_start + 1);" (assignment_expression "puVar5 = (uchar *)(haystack_start + 1)" identifier = (cast_expression "(uchar *)(haystack_start + 1)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(haystack_start + 1)" ( (binary_expression "haystack_start + 1" identifier + number_literal) )))) ;) (expression_statement "uVar12 = (int)pbVar9 - (int)needle_start;" (assignment_expression "uVar12 = (int)pbVar9 - (int)needle_start" identifier = (binary_expression "(int)pbVar9 - (int)needle_start" (cast_expression "(int)pbVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)needle_start" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "sVar13 = uVar12 - 1;" (assignment_expression "sVar13 = uVar12 - 1" identifier = (binary_expression "uVar12 - 1" identifier - number_literal)) ;) (if_statement "if (uVar12 < 0x20) {\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }" if (parenthesized_expression "(uVar12 < 0x20)" ( (binary_expression "uVar12 < 0x20" identifier < number_literal) )) (compound_statement "{\n          if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }\n          sVar11 = period;\n          iVar6 = strncasecmp(needle_start,needle_start + period,local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );\n        }" { (if_statement "if (uVar12 < 3) {\n            period = 1;\n            local_44 = sVar13;\n          }\n          else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }" if (parenthesized_expression "(uVar12 < 3)" ( (binary_expression "uVar12 < 3" identifier < number_literal) )) (compound_statement "{\n            period = 1;\n            local_44 = sVar13;\n          }" { (expression_statement "period = 1;" (assignment_expression "period = 1" identifier = number_literal) ;) (expression_statement "local_44 = sVar13;" (assignment_expression "local_44 = sVar13" identifier = identifier) ;) }) (else_clause "else {\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }" else (compound_statement "{\n            local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);\n          }" { (expression_statement "local_44 = critical_factorization((uchar *)needle_start,uVar12,&period);" (assignment_expression "local_44 = critical_factorization((uchar *)needle_start,uVar12,&period)" identifier = (call_expression "critical_factorization((uchar *)needle_start,uVar12,&period)" identifier (argument_list "((uchar *)needle_start,uVar12,&period)" ( (cast_expression "(uchar *)needle_start" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , (pointer_expression "&period" & identifier) )))) ;) }))) (expression_statement "sVar11 = period;" (assignment_expression "sVar11 = period" identifier = identifier) ;) (expression_statement "iVar6 = strncasecmp(needle_start,needle_start + period,local_44);" (assignment_expression "iVar6 = strncasecmp(needle_start,needle_start + period,local_44)" identifier = (call_expression "strncasecmp(needle_start,needle_start + period,local_44)" identifier (argument_list "(needle_start,needle_start + period,local_44)" ( identifier , (binary_expression "needle_start + period" identifier + identifier) , identifier )))) ;) (if_statement "if (iVar6 != 0) {\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            local_54 = 0;\n            uVar15 = uVar12 - local_44;\n            if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }\n            period = uVar15 + 1;\nLAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );\n          }" { (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "uVar15 = uVar12 - local_44;" (assignment_expression "uVar15 = uVar12 - local_44" identifier = (binary_expression "uVar12 - local_44" identifier - identifier)) ;) (if_statement "if (uVar12 - local_44 < local_44) {\n              uVar15 = local_44;\n            }" if (parenthesized_expression "(uVar12 - local_44 < local_44)" ( (binary_expression "uVar12 - local_44 < local_44" (binary_expression "uVar12 - local_44" identifier - identifier) < identifier) )) (compound_statement "{\n              uVar15 = local_44;\n            }" { (expression_statement "uVar15 = local_44;" (assignment_expression "uVar15 = local_44" identifier = identifier) ;) })) (expression_statement "period = uVar15 + 1;" (assignment_expression "period = uVar15 + 1" identifier = (binary_expression "uVar15 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_000300a0:\n            do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );" statement_identifier : (do_statement "do {\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            } while( true );" do (compound_statement "{\n              sVar11 = local_54 + uVar12;\n              pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);\n              if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n              sVar13 = sVar11;\n              if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }\n              puVar2 = *ppuVar3;\n              while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar15 + 1;\n            }" { (expression_statement "sVar11 = local_54 + uVar12;" (assignment_expression "sVar11 = local_54 + uVar12" identifier = (binary_expression "local_54 + uVar12" identifier + identifier)) ;) (expression_statement "pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13);" (assignment_expression "pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13)" identifier = (call_expression "rpl_memchr(puVar5 + sVar13,0,sVar11 - sVar13)" identifier (argument_list "(puVar5 + sVar13,0,sVar11 - sVar13)" ( (binary_expression "puVar5 + sVar13" identifier + identifier) , number_literal , (binary_expression "sVar11 - sVar13" identifier - identifier) )))) ;) (if_statement "if ((sVar11 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;" if (parenthesized_expression "((sVar11 == 0) || (pvVar7 != (void *)0x0))" ( (binary_expression "(sVar11 == 0) || (pvVar7 != (void *)0x0)" (parenthesized_expression "(sVar11 == 0)" ( (binary_expression "sVar11 == 0" identifier == 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)) ))) )) (goto_statement "goto LAB_00030058;" goto statement_identifier ;)) (expression_statement "sVar13 = sVar11;" (assignment_expression "sVar13 = sVar11" identifier = identifier) ;) (if_statement "if (local_44 < uVar12) {\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }" if (parenthesized_expression "(local_44 < uVar12)" ( (binary_expression "local_44 < uVar12" identifier < identifier) )) (compound_statement "{\n                puVar2 = *ppuVar3;\n                uVar17 = local_44;\n                do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);\n              }" { (expression_statement "puVar2 = *ppuVar3;" (assignment_expression "puVar2 = *ppuVar3" identifier = (pointer_expression "*ppuVar3" * identifier)) ;) (expression_statement "uVar17 = local_44;" (assignment_expression "uVar17 = local_44" identifier = identifier) ;) (do_statement "do {\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                } while (uVar17 < uVar12);" do (compound_statement "{\n                  uVar18 = (uint)(byte)needle_start[uVar17];\n                  if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }\n                  uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];\n                  if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }\n                  if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar17 = uVar17 + 1;\n                }" { (expression_statement "uVar18 = (uint)(byte)needle_start[uVar17];" (assignment_expression "uVar18 = (uint)(byte)needle_start[uVar17]" identifier = (cast_expression "(uint)(byte)needle_start[uVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)needle_start[uVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "needle_start[uVar17]" identifier [ identifier ])))) ;) (if_statement "if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }" if (parenthesized_expression "((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar2 + uVar18 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + uVar18 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + uVar18 * 2 + 1)" ( (binary_expression "(int)puVar2 + uVar18 * 2 + 1" (binary_expression "(int)puVar2 + uVar18 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar18 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar18 = (*pp_Var4)[uVar18];\n                  }" { (expression_statement "pp_Var4 = __ctype_tolower_loc();" (assignment_expression "pp_Var4 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar18 = (*pp_Var4)[uVar18];" (assignment_expression "uVar18 = (*pp_Var4)[uVar18]" identifier = (subscript_expression "(*pp_Var4)[uVar18]" (parenthesized_expression "(*pp_Var4)" ( (pointer_expression "*pp_Var4" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54];" (assignment_expression "uVar19 = (uint)(byte)haystack_start[uVar17 + 1 + local_54]" identifier = (cast_expression "(uint)(byte)haystack_start[uVar17 + 1 + local_54]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)haystack_start[uVar17 + 1 + local_54]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "haystack_start[uVar17 + 1 + local_54]" identifier [ (binary_expression "uVar17 + 1 + local_54" (binary_expression "uVar17 + 1" identifier + number_literal) + identifier) ])))) ;) (if_statement "if ((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0) {\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }" if (parenthesized_expression "((*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar2 + uVar19 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar2 + uVar19 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + uVar19 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + uVar19 * 2 + 1)" ( (binary_expression "(int)puVar2 + uVar19 * 2 + 1" (binary_expression "(int)puVar2 + uVar19 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar19 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    pp_Var4 = __ctype_tolower_loc();\n                    uVar19 = (*pp_Var4)[uVar19];\n                  }" { (expression_statement "pp_Var4 = __ctype_tolower_loc();" (assignment_expression "pp_Var4 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar19 = (*pp_Var4)[uVar19];" (assignment_expression "uVar19 = (*pp_Var4)[uVar19]" identifier = (subscript_expression "(*pp_Var4)[uVar19]" (parenthesized_expression "(*pp_Var4)" ( (pointer_expression "*pp_Var4" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar18 != uVar19) {\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }" if (parenthesized_expression "(uVar18 != uVar19)" ( (binary_expression "uVar18 != uVar19" identifier != identifier) )) (compound_statement "{\n                    if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }" { (if_statement "if (uVar17 < uVar12) {\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }" if (parenthesized_expression "(uVar17 < uVar12)" ( (binary_expression "uVar17 < uVar12" identifier < identifier) )) (compound_statement "{\n                      local_54 = local_54 + (1 - local_44) + uVar17;\n                      goto LAB_000300a0;\n                    }" { (expression_statement "local_54 = local_54 + (1 - local_44) + uVar17;" (assignment_expression "local_54 = local_54 + (1 - local_44) + uVar17" identifier = (binary_expression "local_54 + (1 - local_44) + uVar17" (binary_expression "local_54 + (1 - local_44)" identifier + (parenthesized_expression "(1 - local_44)" ( (binary_expression "1 - local_44" number_literal - identifier) ))) + identifier)) ;) (goto_statement "goto LAB_000300a0;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "uVar17 = uVar17 + 1;" (assignment_expression "uVar17 = uVar17 + 1" identifier = (binary_expression "uVar17 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar17 < uVar12)" ( (binary_expression "uVar17 < uVar12" identifier < identifier) )) ;) })) (expression_statement "iVar6 = local_44 - 1;" (assignment_expression "iVar6 = local_44 - 1" identifier = (binary_expression "local_44 - 1" identifier - number_literal)) ;) (if_statement "if (iVar6 == -1) {\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\nLAB_00030230:\n                puVar5 = puVar5 + local_54;\n                goto LAB_0002fe3b;\n              }" { (labeled_statement "LAB_00030230:\n                puVar5 = puVar5 + local_54;" statement_identifier : (expression_statement "puVar5 = puVar5 + local_54;" (assignment_expression "puVar5 = puVar5 + local_54" identifier = (binary_expression "puVar5 + local_54" identifier + identifier)) ;)) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;) })) (expression_statement "puVar2 = *ppuVar3;" (assignment_expression "puVar2 = *ppuVar3" identifier = (pointer_expression "*ppuVar3" * identifier)) ;) (while_statement "while( true ) {\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                uVar17 = (uint)(byte)needle_start[iVar6];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }" { (expression_statement "uVar17 = (uint)(byte)needle_start[iVar6];" (assignment_expression "uVar17 = (uint)(byte)needle_start[iVar6]" identifier = (cast_expression "(uint)(byte)needle_start[iVar6]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)needle_start[iVar6]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "needle_start[iVar6]" identifier [ identifier ])))) ;) (if_statement "if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar2 + uVar17 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + uVar17 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + uVar17 * 2 + 1)" ( (binary_expression "(int)puVar2 + uVar17 * 2 + 1" (binary_expression "(int)puVar2 + uVar17 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar17 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }" { (expression_statement "pp_Var4 = __ctype_tolower_loc();" (assignment_expression "pp_Var4 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar17 = (*pp_Var4)[uVar17];" (assignment_expression "uVar17 = (*pp_Var4)[uVar17]" identifier = (subscript_expression "(*pp_Var4)[uVar17]" (parenthesized_expression "(*pp_Var4)" ( (pointer_expression "*pp_Var4" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54];" (assignment_expression "uVar18 = (uint)(byte)haystack_start[iVar6 + 1 + local_54]" identifier = (cast_expression "(uint)(byte)haystack_start[iVar6 + 1 + local_54]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)haystack_start[iVar6 + 1 + local_54]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "haystack_start[iVar6 + 1 + local_54]" identifier [ (binary_expression "iVar6 + 1 + local_54" (binary_expression "iVar6 + 1" identifier + number_literal) + identifier) ])))) ;) (if_statement "if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar2 + uVar18 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + uVar18 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + uVar18 * 2 + 1)" ( (binary_expression "(int)puVar2 + uVar18 * 2 + 1" (binary_expression "(int)puVar2 + uVar18 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar18 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }" { (expression_statement "pp_Var4 = __ctype_tolower_loc();" (assignment_expression "pp_Var4 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar18 = (*pp_Var4)[uVar18];" (assignment_expression "uVar18 = (*pp_Var4)[uVar18]" identifier = (subscript_expression "(*pp_Var4)[uVar18]" (parenthesized_expression "(*pp_Var4)" ( (pointer_expression "*pp_Var4" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar17 != uVar18) break;" if (parenthesized_expression "(uVar17 != uVar18)" ( (binary_expression "uVar17 != uVar18" identifier != identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (if_statement "if (iVar6 == -1) goto LAB_00030230;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00030230;" goto statement_identifier ;)) })) (expression_statement "local_54 = local_54 + uVar15 + 1;" (assignment_expression "local_54 = local_54 + uVar15 + 1" identifier = (binary_expression "local_54 + uVar15 + 1" (binary_expression "local_54 + uVar15" identifier + identifier) + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })) (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002fec8:\n          do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );" statement_identifier : (do_statement "do {\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          } while( true );" do (compound_statement "{\n            sVar16 = uVar12 + local_4c;\n            pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);\n            if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;\n            uVar15 = local_54;\n            if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }\n            sVar13 = sVar16;\n            if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }\n            if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + sVar11;\n            local_54 = uVar12 - sVar11;\n          }" { (expression_statement "sVar16 = uVar12 + local_4c;" (assignment_expression "sVar16 = uVar12 + local_4c" identifier = (binary_expression "uVar12 + local_4c" identifier + identifier)) ;) (expression_statement "pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13);" (assignment_expression "pvVar7 = rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13)" identifier = (call_expression "rpl_memchr(puVar5 + sVar13,0,sVar16 - sVar13)" identifier (argument_list "(puVar5 + sVar13,0,sVar16 - sVar13)" ( (binary_expression "puVar5 + sVar13" identifier + identifier) , number_literal , (binary_expression "sVar16 - sVar13" identifier - identifier) )))) ;) (if_statement "if ((sVar16 == 0) || (pvVar7 != (void *)0x0)) goto LAB_00030058;" if (parenthesized_expression "((sVar16 == 0) || (pvVar7 != (void *)0x0))" ( (binary_expression "(sVar16 == 0) || (pvVar7 != (void *)0x0)" (parenthesized_expression "(sVar16 == 0)" ( (binary_expression "sVar16 == 0" identifier == 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)) ))) )) (goto_statement "goto LAB_00030058;" goto statement_identifier ;)) (expression_statement "uVar15 = local_54;" (assignment_expression "uVar15 = local_54" identifier = identifier) ;) (if_statement "if (local_54 <= local_44) {\n              uVar15 = local_44;\n            }" if (parenthesized_expression "(local_54 <= local_44)" ( (binary_expression "local_54 <= local_44" identifier <= identifier) )) (compound_statement "{\n              uVar15 = local_44;\n            }" { (expression_statement "uVar15 = local_44;" (assignment_expression "uVar15 = local_44" identifier = identifier) ;) })) (expression_statement "sVar13 = sVar16;" (assignment_expression "sVar13 = sVar16" identifier = identifier) ;) (if_statement "if (uVar15 < uVar12) {\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }" if (parenthesized_expression "(uVar15 < uVar12)" ( (binary_expression "uVar15 < uVar12" identifier < identifier) )) (compound_statement "{\n              puVar2 = *ppuVar3;\n              do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);\n            }" { (expression_statement "puVar2 = *ppuVar3;" (assignment_expression "puVar2 = *ppuVar3" identifier = (pointer_expression "*ppuVar3" * identifier)) ;) (do_statement "do {\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              } while (uVar12 != uVar15);" do (compound_statement "{\n                uVar17 = (uint)(byte)needle_start[uVar15];\n                if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }\n                uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar15 = uVar15 + 1;\n              }" { (expression_statement "uVar17 = (uint)(byte)needle_start[uVar15];" (assignment_expression "uVar17 = (uint)(byte)needle_start[uVar15]" identifier = (cast_expression "(uint)(byte)needle_start[uVar15]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)needle_start[uVar15]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "needle_start[uVar15]" identifier [ identifier ])))) ;) (if_statement "if ((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar2 + uVar17 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar2 + uVar17 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + uVar17 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + uVar17 * 2 + 1)" ( (binary_expression "(int)puVar2 + uVar17 * 2 + 1" (binary_expression "(int)puVar2 + uVar17 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar17 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar17 = (*pp_Var4)[uVar17];\n                }" { (expression_statement "pp_Var4 = __ctype_tolower_loc();" (assignment_expression "pp_Var4 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar17 = (*pp_Var4)[uVar17];" (assignment_expression "uVar17 = (*pp_Var4)[uVar17]" identifier = (subscript_expression "(*pp_Var4)[uVar17]" (parenthesized_expression "(*pp_Var4)" ( (pointer_expression "*pp_Var4" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c];" (assignment_expression "uVar18 = (uint)(byte)haystack_start[uVar15 + 1 + local_4c]" identifier = (cast_expression "(uint)(byte)haystack_start[uVar15 + 1 + local_4c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)haystack_start[uVar15 + 1 + local_4c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "haystack_start[uVar15 + 1 + local_4c]" identifier [ (binary_expression "uVar15 + 1 + local_4c" (binary_expression "uVar15 + 1" identifier + number_literal) + identifier) ])))) ;) (if_statement "if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar2 + uVar18 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + uVar18 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + uVar18 * 2 + 1)" ( (binary_expression "(int)puVar2 + uVar18 * 2 + 1" (binary_expression "(int)puVar2 + uVar18 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar18 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }" { (expression_statement "pp_Var4 = __ctype_tolower_loc();" (assignment_expression "pp_Var4 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar18 = (*pp_Var4)[uVar18];" (assignment_expression "uVar18 = (*pp_Var4)[uVar18]" identifier = (subscript_expression "(*pp_Var4)[uVar18]" (parenthesized_expression "(*pp_Var4)" ( (pointer_expression "*pp_Var4" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar17 != uVar18) {\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }" if (parenthesized_expression "(uVar17 != uVar18)" ( (binary_expression "uVar17 != uVar18" identifier != identifier) )) (compound_statement "{\n                  if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }" { (if_statement "if (uVar15 < uVar12) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }" if (parenthesized_expression "(uVar15 < uVar12)" ( (binary_expression "uVar15 < uVar12" identifier < identifier) )) (compound_statement "{\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar15;\n                    goto LAB_0002fec8;\n                  }" { (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "local_4c = local_4c + (1 - local_44) + uVar15;" (assignment_expression "local_4c = local_4c + (1 - local_44) + uVar15" identifier = (binary_expression "local_4c + (1 - local_44) + uVar15" (binary_expression "local_4c + (1 - local_44)" identifier + (parenthesized_expression "(1 - local_44)" ( (binary_expression "1 - local_44" number_literal - identifier) ))) + identifier)) ;) (goto_statement "goto LAB_0002fec8;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "uVar15 = uVar15 + 1;" (assignment_expression "uVar15 = uVar15 + 1" identifier = (binary_expression "uVar15 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar12 != uVar15)" ( (binary_expression "uVar12 != uVar15" identifier != identifier) )) ;) })) (if_statement "if (local_54 < local_44) {\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }" if (parenthesized_expression "(local_54 < local_44)" ( (binary_expression "local_54 < local_44" identifier < identifier) )) (compound_statement "{\n              puVar2 = *ppuVar3;\n              local_58 = local_44;\n              do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);\n              local_58 = local_54;\n            }" { (expression_statement "puVar2 = *ppuVar3;" (assignment_expression "puVar2 = *ppuVar3" identifier = (pointer_expression "*ppuVar3" * identifier)) ;) (expression_statement "local_58 = local_44;" (assignment_expression "local_58 = local_44" identifier = identifier) ;) (do_statement "do {\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              } while (local_54 != uVar17);" do (compound_statement "{\n                uVar17 = local_58 - 1;\n                uVar15 = (uint)(byte)needle_start[uVar17];\n                if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }\n                uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];\n                if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }\n                if (uVar15 != uVar18) goto LAB_0003002d;\n                local_58 = uVar17;\n              }" { (expression_statement "uVar17 = local_58 - 1;" (assignment_expression "uVar17 = local_58 - 1" identifier = (binary_expression "local_58 - 1" identifier - number_literal)) ;) (expression_statement "uVar15 = (uint)(byte)needle_start[uVar17];" (assignment_expression "uVar15 = (uint)(byte)needle_start[uVar17]" identifier = (cast_expression "(uint)(byte)needle_start[uVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)needle_start[uVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "needle_start[uVar17]" identifier [ identifier ])))) ;) (if_statement "if ((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar2 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar2 + uVar15 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + uVar15 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + uVar15 * 2 + 1)" ( (binary_expression "(int)puVar2 + uVar15 * 2 + 1" (binary_expression "(int)puVar2 + uVar15 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar15 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var4)[uVar15];\n                }" { (expression_statement "pp_Var4 = __ctype_tolower_loc();" (assignment_expression "pp_Var4 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar15 = (*pp_Var4)[uVar15];" (assignment_expression "uVar15 = (*pp_Var4)[uVar15]" identifier = (subscript_expression "(*pp_Var4)[uVar15]" (parenthesized_expression "(*pp_Var4)" ( (pointer_expression "*pp_Var4" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar18 = (uint)(byte)haystack_start[local_58 + local_4c];" (assignment_expression "uVar18 = (uint)(byte)haystack_start[local_58 + local_4c]" identifier = (cast_expression "(uint)(byte)haystack_start[local_58 + local_4c]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)haystack_start[local_58 + local_4c]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "haystack_start[local_58 + local_4c]" identifier [ (binary_expression "local_58 + local_4c" identifier + identifier) ])))) ;) (if_statement "if ((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0) {\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar2 + uVar18 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar2 + uVar18 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + uVar18 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + uVar18 * 2 + 1)" ( (binary_expression "(int)puVar2 + uVar18 * 2 + 1" (binary_expression "(int)puVar2 + uVar18 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar18 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var4 = __ctype_tolower_loc();\n                  uVar18 = (*pp_Var4)[uVar18];\n                }" { (expression_statement "pp_Var4 = __ctype_tolower_loc();" (assignment_expression "pp_Var4 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar18 = (*pp_Var4)[uVar18];" (assignment_expression "uVar18 = (*pp_Var4)[uVar18]" identifier = (subscript_expression "(*pp_Var4)[uVar18]" (parenthesized_expression "(*pp_Var4)" ( (pointer_expression "*pp_Var4" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar15 != uVar18) goto LAB_0003002d;" if (parenthesized_expression "(uVar15 != uVar18)" ( (binary_expression "uVar15 != uVar18" identifier != identifier) )) (goto_statement "goto LAB_0003002d;" goto statement_identifier ;)) (expression_statement "local_58 = uVar17;" (assignment_expression "local_58 = uVar17" identifier = identifier) ;) }) while (parenthesized_expression "(local_54 != uVar17)" ( (binary_expression "local_54 != uVar17" identifier != identifier) )) ;) (expression_statement "local_58 = local_54;" (assignment_expression "local_58 = local_54" identifier = identifier) ;) }) (else_clause "else {\n              local_58 = local_44;\n            }" else (compound_statement "{\n              local_58 = local_44;\n            }" { (expression_statement "local_58 = local_44;" (assignment_expression "local_58 = local_44" identifier = identifier) ;) }))) (labeled_statement "LAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }" statement_identifier : (if_statement "if (local_58 < local_54 + 1) {\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }" if (parenthesized_expression "(local_58 < local_54 + 1)" ( (binary_expression "local_58 < local_54 + 1" identifier < (binary_expression "local_54 + 1" identifier + number_literal)) )) (compound_statement "{\n              puVar5 = puVar5 + local_4c;\n              goto LAB_0002fe3b;\n            }" { (expression_statement "puVar5 = puVar5 + local_4c;" (assignment_expression "puVar5 = puVar5 + local_4c" identifier = (binary_expression "puVar5 + local_4c" identifier + identifier)) ;) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;) }))) (expression_statement "local_4c = local_4c + sVar11;" (assignment_expression "local_4c = local_4c + sVar11" identifier = (binary_expression "local_4c + sVar11" identifier + identifier)) ;) (expression_statement "local_54 = uVar12 - sVar11;" (assignment_expression "local_54 = uVar12 - sVar11" identifier = (binary_expression "uVar12 - sVar11" identifier - identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })) (expression_statement "puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12);" (assignment_expression "puVar5 = (uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12)" identifier = (cast_expression "(uchar *)two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "two_way_long_needle(puVar5,sVar13,(uchar *)needle_start,uVar12)" identifier (argument_list "(puVar5,sVar13,(uchar *)needle_start,uVar12)" ( identifier , identifier , (cast_expression "(uchar *)needle_start" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))))) ;) })) })) }))) (labeled_statement "LAB_0002fe3b:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* 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 *)puVar5;" return (cast_expression "(char *)puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) (labeled_statement "LAB_00030058:\n  puVar5 = (uchar *)0x0;" statement_identifier : (expression_statement "puVar5 = (uchar *)0x0;" (assignment_expression "puVar5 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;) })))
(translation_unit "byte * FUN_0002fd10(byte *param_1,byte *param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  ushort *puVar3;\n  ushort **ppuVar4;\n  __int32_t **pp_Var5;\n  int iVar6;\n  byte bVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  byte bVar12;\n  uint uVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  uint local_58;\n  uint local_54;\n  int local_4c;\n  uint local_44;\n  int local_30;\n  int local_24;\n  \n  bVar7 = *param_1;\n  bVar12 = *param_2;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (bVar7 == 0) {\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }\n  else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }\nLAB_0002fe3b:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }\n  return pbVar9;\nLAB_00030058:\n  pbVar9 = (byte *)0x0;\n  goto LAB_0002fe3b;\n}\n\n" (function_definition "byte * FUN_0002fd10(byte *param_1,byte *param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  ushort *puVar3;\n  ushort **ppuVar4;\n  __int32_t **pp_Var5;\n  int iVar6;\n  byte bVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  byte bVar12;\n  uint uVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  uint local_58;\n  uint local_54;\n  int local_4c;\n  uint local_44;\n  int local_30;\n  int local_24;\n  \n  bVar7 = *param_1;\n  bVar12 = *param_2;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (bVar7 == 0) {\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }\n  else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }\nLAB_0002fe3b:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }\n  return pbVar9;\nLAB_00030058:\n  pbVar9 = (byte *)0x0;\n  goto LAB_0002fe3b;\n}" type_identifier (pointer_declarator "* FUN_0002fd10(byte *param_1,byte *param_2)" * (function_declarator "FUN_0002fd10(byte *param_1,byte *param_2)" identifier (parameter_list "(byte *param_1,byte *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  ushort *puVar3;\n  ushort **ppuVar4;\n  __int32_t **pp_Var5;\n  int iVar6;\n  byte bVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  byte bVar12;\n  uint uVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  uint local_58;\n  uint local_54;\n  int local_4c;\n  uint local_44;\n  int local_30;\n  int local_24;\n  \n  bVar7 = *param_1;\n  bVar12 = *param_2;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (bVar7 == 0) {\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }\n  else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }\nLAB_0002fe3b:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }\n  return pbVar9;\nLAB_00030058:\n  pbVar9 = (byte *)0x0;\n  goto LAB_0002fe3b;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ushort *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "ushort **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "__int32_t **pp_Var5;" type_identifier (pointer_declarator "**pp_Var5" * (pointer_declarator "*pp_Var5" * identifier)) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "byte bVar12;" type_identifier identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_58;" type_identifier identifier ;) (declaration "uint local_54;" type_identifier identifier ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "bVar7 = *param_1;" (assignment_expression "bVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "bVar12 = *param_2;" (assignment_expression "bVar12 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (bVar7 == 0) {\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }\n  else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }" if (parenthesized_expression "(bVar7 == 0)" ( (binary_expression "bVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }" { (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }" if (parenthesized_expression "(bVar12 == 0)" ( (binary_expression "bVar12 == 0" identifier == number_literal) )) (compound_statement "{\n      pbVar9 = param_1;\n    }" { (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) })) }) (else_clause "else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }" else (compound_statement "{\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }" { (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) (if_statement "if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }" if (parenthesized_expression "(bVar12 != 0)" ( (binary_expression "bVar12 != 0" identifier != number_literal) )) (compound_statement "{\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }" { (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) (expression_statement "pbVar8 = param_2;" (assignment_expression "pbVar8 = param_2" identifier = identifier) ;) (do_statement "do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);" do (compound_statement "{\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      }" { (expression_statement "uVar10 = (uint)bVar7;" (assignment_expression "uVar10 = (uint)bVar7" identifier = (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar10 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar10 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar10 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar10 * 2 + 1" (binary_expression "(int)puVar3 + uVar10 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar10 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar10 = (*pp_Var5)[uVar10];" (assignment_expression "uVar10 = (*pp_Var5)[uVar10]" identifier = (subscript_expression "(*pp_Var5)[uVar10]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar13 = (uint)bVar12;" (assignment_expression "uVar13 = (uint)bVar12" identifier = (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar13 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar13 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar13 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar13 * 2 + 1" (binary_expression "(int)puVar3 + uVar13 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar13 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar13 = (*pp_Var5)[uVar13];" (assignment_expression "uVar13 = (*pp_Var5)[uVar13]" identifier = (subscript_expression "(*pp_Var5)[uVar13]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar9;" (assignment_expression "bVar7 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = (bool)(bVar1 & uVar10 == uVar13);" (assignment_expression "bVar1 = (bool)(bVar1 & uVar10 == uVar13)" identifier = (cast_expression "(bool)(bVar1 & uVar10 == uVar13)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar1 & uVar10 == uVar13)" ( (binary_expression "bVar1 & uVar10 == uVar13" identifier & (binary_expression "uVar10 == uVar13" identifier == identifier)) )))) ;) (expression_statement "bVar12 = *pbVar8;" (assignment_expression "bVar12 = *pbVar8" identifier = (pointer_expression "*pbVar8" * identifier)) ;) (if_statement "if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }" if (parenthesized_expression "(bVar7 == 0)" ( (binary_expression "bVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }" { (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (bVar12 != 0) goto LAB_0002fe3b;" if (parenthesized_expression "(bVar12 != 0)" ( (binary_expression "bVar12 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(bVar12 != 0)" ( (binary_expression "bVar12 != 0" identifier != number_literal) )) ;) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) (if_statement "if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (compound_statement "{\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }" { (expression_statement "uVar13 = (int)pbVar8 - (int)param_2;" (assignment_expression "uVar13 = (int)pbVar8 - (int)param_2" identifier = (binary_expression "(int)pbVar8 - (int)param_2" (cast_expression "(int)pbVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar10 = uVar13 - 1;" (assignment_expression "uVar10 = uVar13 - 1" identifier = (binary_expression "uVar13 - 1" identifier - number_literal)) ;) (if_statement "if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }" if (parenthesized_expression "(uVar13 < 0x20)" ( (binary_expression "uVar13 < 0x20" identifier < number_literal) )) (compound_statement "{\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }" { (if_statement "if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }" if (parenthesized_expression "(uVar13 < 3)" ( (binary_expression "uVar13 < 3" identifier < number_literal) )) (compound_statement "{\n            local_30 = 1;\n            local_44 = uVar10;\n          }" { (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" identifier = number_literal) ;) (expression_statement "local_44 = uVar10;" (assignment_expression "local_44 = uVar10" identifier = identifier) ;) }) (else_clause "else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }" else (compound_statement "{\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }" { (expression_statement "local_44 = FUN_0002f5a0();" (assignment_expression "local_44 = FUN_0002f5a0()" identifier = (call_expression "FUN_0002f5a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_30 = local_24;" (assignment_expression "local_30 = local_24" identifier = identifier) ;) }))) (expression_statement "iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);" (assignment_expression "iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44)" identifier = (call_expression "strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44)" identifier (argument_list "((char *)param_2,(char *)(param_2 + local_30),local_44)" ( (cast_expression "(char *)param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)(param_2 + local_30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + local_30)" ( (binary_expression "param_2 + local_30" identifier + identifier) ))) , identifier )))) ;) (if_statement "if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }" { (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "uVar14 = uVar13 - local_44;" (assignment_expression "uVar14 = uVar13 - local_44" identifier = (binary_expression "uVar13 - local_44" identifier - identifier)) ;) (if_statement "if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }" if (parenthesized_expression "(uVar13 - local_44 < local_44)" ( (binary_expression "uVar13 - local_44 < local_44" (binary_expression "uVar13 - local_44" identifier - identifier) < identifier) )) (compound_statement "{\n              uVar14 = local_44;\n            }" { (expression_statement "uVar14 = local_44;" (assignment_expression "uVar14 = local_44" identifier = identifier) ;) })) (labeled_statement "LAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );" statement_identifier : (do_statement "do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );" do (compound_statement "{\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            }" { (expression_statement "uVar11 = local_54 + uVar13;" (assignment_expression "uVar11 = local_54 + uVar13" identifier = (binary_expression "local_54 + uVar13" identifier + identifier)) ;) (expression_statement "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);" (assignment_expression "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10)" identifier = (call_expression "FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10)" identifier (argument_list "(param_1 + uVar10 + 1,0,uVar11 - uVar10)" ( (binary_expression "param_1 + uVar10 + 1" (binary_expression "param_1 + uVar10" identifier + identifier) + number_literal) , number_literal , (binary_expression "uVar11 - uVar10" identifier - identifier) )))) ;) (if_statement "if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;" if (parenthesized_expression "((uVar11 == 0) || (iVar6 != 0))" ( (binary_expression "(uVar11 == 0) || (iVar6 != 0)" (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) ))) )) (goto_statement "goto LAB_00030058;" goto statement_identifier ;)) (expression_statement "uVar10 = uVar11;" (assignment_expression "uVar10 = uVar11" identifier = identifier) ;) (if_statement "if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }" if (parenthesized_expression "(local_44 < uVar13)" ( (binary_expression "local_44 < uVar13" identifier < identifier) )) (compound_statement "{\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }" { (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) (expression_statement "uVar11 = local_44;" (assignment_expression "uVar11 = local_44" identifier = identifier) ;) (do_statement "do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);" do (compound_statement "{\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                }" { (expression_statement "uVar15 = (uint)param_2[uVar11];" (assignment_expression "uVar15 = (uint)param_2[uVar11]" identifier = (cast_expression "(uint)param_2[uVar11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar15 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" identifier = (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar16 = (uint)param_1[uVar11 + 1 + local_54];" (assignment_expression "uVar16 = (uint)param_1[uVar11 + 1 + local_54]" identifier = (cast_expression "(uint)param_1[uVar11 + 1 + local_54]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[uVar11 + 1 + local_54]" identifier [ (binary_expression "uVar11 + 1 + local_54" (binary_expression "uVar11 + 1" identifier + number_literal) + identifier) ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar16 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar16 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar16 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar16 * 2 + 1" (binary_expression "(int)puVar3 + uVar16 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar16 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar16 = (*pp_Var5)[uVar16];" (assignment_expression "uVar16 = (*pp_Var5)[uVar16]" identifier = (subscript_expression "(*pp_Var5)[uVar16]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }" if (parenthesized_expression "(uVar15 != uVar16)" ( (binary_expression "uVar15 != uVar16" identifier != identifier) )) (compound_statement "{\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }" { (if_statement "if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }" if (parenthesized_expression "(uVar11 < uVar13)" ( (binary_expression "uVar11 < uVar13" identifier < identifier) )) (compound_statement "{\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }" { (expression_statement "local_54 = local_54 + (1 - local_44) + uVar11;" (assignment_expression "local_54 = local_54 + (1 - local_44) + uVar11" identifier = (binary_expression "local_54 + (1 - local_44) + uVar11" (binary_expression "local_54 + (1 - local_44)" identifier + (parenthesized_expression "(1 - local_44)" ( (binary_expression "1 - local_44" number_literal - identifier) ))) + identifier)) ;) (goto_statement "goto LAB_000300a0;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 < uVar13)" ( (binary_expression "uVar11 < uVar13" identifier < identifier) )) ;) })) (expression_statement "iVar6 = local_44 - 1;" (assignment_expression "iVar6 = local_44 - 1" identifier = (binary_expression "local_44 - 1" identifier - number_literal)) ;) (if_statement "if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }" { (labeled_statement "LAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;" statement_identifier : (expression_statement "pbVar9 = param_1 + local_54 + 1;" (assignment_expression "pbVar9 = param_1 + local_54 + 1" identifier = (binary_expression "param_1 + local_54 + 1" (binary_expression "param_1 + local_54" identifier + identifier) + number_literal)) ;)) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;) })) (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) (while_statement "while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }" { (expression_statement "uVar11 = (uint)param_2[iVar6];" (assignment_expression "uVar11 = (uint)param_2[iVar6]" identifier = (cast_expression "(uint)param_2[iVar6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[iVar6]" identifier [ identifier ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar11 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar11 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar11 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar11 * 2 + 1" (binary_expression "(int)puVar3 + uVar11 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar11 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar11 = (*pp_Var5)[uVar11];" (assignment_expression "uVar11 = (*pp_Var5)[uVar11]" identifier = (subscript_expression "(*pp_Var5)[uVar11]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar15 = (uint)param_1[iVar6 + 1 + local_54];" (assignment_expression "uVar15 = (uint)param_1[iVar6 + 1 + local_54]" identifier = (cast_expression "(uint)param_1[iVar6 + 1 + local_54]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[iVar6 + 1 + local_54]" identifier [ (binary_expression "iVar6 + 1 + local_54" (binary_expression "iVar6 + 1" identifier + number_literal) + identifier) ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar15 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" identifier = (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar11 != uVar15) break;" if (parenthesized_expression "(uVar11 != uVar15)" ( (binary_expression "uVar11 != uVar15" identifier != identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (if_statement "if (iVar6 == -1) goto LAB_00030230;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00030230;" goto statement_identifier ;)) })) (expression_statement "local_54 = local_54 + uVar14 + 1;" (assignment_expression "local_54 = local_54 + uVar14 + 1" identifier = (binary_expression "local_54 + uVar14 + 1" (binary_expression "local_54 + uVar14" identifier + identifier) + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })) (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );" statement_identifier : (do_statement "do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );" do (compound_statement "{\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          }" { (expression_statement "uVar14 = uVar13 + local_4c;" (assignment_expression "uVar14 = uVar13 + local_4c" identifier = (binary_expression "uVar13 + local_4c" identifier + identifier)) ;) (expression_statement "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);" (assignment_expression "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10)" identifier = (call_expression "FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10)" identifier (argument_list "(param_1 + uVar10 + 1,0,uVar14 - uVar10)" ( (binary_expression "param_1 + uVar10 + 1" (binary_expression "param_1 + uVar10" identifier + identifier) + number_literal) , number_literal , (binary_expression "uVar14 - uVar10" identifier - identifier) )))) ;) (if_statement "if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;" if (parenthesized_expression "((uVar14 == 0) || (iVar6 != 0))" ( (binary_expression "(uVar14 == 0) || (iVar6 != 0)" (parenthesized_expression "(uVar14 == 0)" ( (binary_expression "uVar14 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) ))) )) (goto_statement "goto LAB_00030058;" goto statement_identifier ;)) (expression_statement "uVar11 = local_54;" (assignment_expression "uVar11 = local_54" identifier = identifier) ;) (if_statement "if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }" if (parenthesized_expression "(local_54 <= local_44)" ( (binary_expression "local_54 <= local_44" identifier <= identifier) )) (compound_statement "{\n              uVar11 = local_44;\n            }" { (expression_statement "uVar11 = local_44;" (assignment_expression "uVar11 = local_44" identifier = identifier) ;) })) (expression_statement "uVar10 = uVar14;" (assignment_expression "uVar10 = uVar14" identifier = identifier) ;) (if_statement "if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }" if (parenthesized_expression "(uVar11 < uVar13)" ( (binary_expression "uVar11 < uVar13" identifier < identifier) )) (compound_statement "{\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }" { (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) (do_statement "do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);" do (compound_statement "{\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              }" { (expression_statement "uVar14 = (uint)param_2[uVar11];" (assignment_expression "uVar14 = (uint)param_2[uVar11]" identifier = (cast_expression "(uint)param_2[uVar11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar14 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar14 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar14 * 2 + 1" (binary_expression "(int)puVar3 + uVar14 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar14 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar14 = (*pp_Var5)[uVar14];" (assignment_expression "uVar14 = (*pp_Var5)[uVar14]" identifier = (subscript_expression "(*pp_Var5)[uVar14]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar15 = (uint)param_1[uVar11 + 1 + local_4c];" (assignment_expression "uVar15 = (uint)param_1[uVar11 + 1 + local_4c]" identifier = (cast_expression "(uint)param_1[uVar11 + 1 + local_4c]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[uVar11 + 1 + local_4c]" identifier [ (binary_expression "uVar11 + 1 + local_4c" (binary_expression "uVar11 + 1" identifier + number_literal) + identifier) ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar15 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" identifier = (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }" if (parenthesized_expression "(uVar14 != uVar15)" ( (binary_expression "uVar14 != uVar15" identifier != identifier) )) (compound_statement "{\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }" { (if_statement "if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }" if (parenthesized_expression "(uVar11 < uVar13)" ( (binary_expression "uVar11 < uVar13" identifier < identifier) )) (compound_statement "{\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }" { (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "local_4c = local_4c + (1 - local_44) + uVar11;" (assignment_expression "local_4c = local_4c + (1 - local_44) + uVar11" identifier = (binary_expression "local_4c + (1 - local_44) + uVar11" (binary_expression "local_4c + (1 - local_44)" identifier + (parenthesized_expression "(1 - local_44)" ( (binary_expression "1 - local_44" number_literal - identifier) ))) + identifier)) ;) (goto_statement "goto LAB_0002fec8;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar13 != uVar11)" ( (binary_expression "uVar13 != uVar11" identifier != identifier) )) ;) })) (if_statement "if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }" if (parenthesized_expression "(local_54 < local_44)" ( (binary_expression "local_54 < local_44" identifier < identifier) )) (compound_statement "{\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }" { (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) (expression_statement "local_58 = local_44;" (assignment_expression "local_58 = local_44" identifier = identifier) ;) (do_statement "do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);" do (compound_statement "{\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              }" { (expression_statement "uVar11 = local_58 - 1;" (assignment_expression "uVar11 = local_58 - 1" identifier = (binary_expression "local_58 - 1" identifier - number_literal)) ;) (expression_statement "uVar14 = (uint)param_2[uVar11];" (assignment_expression "uVar14 = (uint)param_2[uVar11]" identifier = (cast_expression "(uint)param_2[uVar11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar14 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar14 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar14 * 2 + 1" (binary_expression "(int)puVar3 + uVar14 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar14 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar14 = (*pp_Var5)[uVar14];" (assignment_expression "uVar14 = (*pp_Var5)[uVar14]" identifier = (subscript_expression "(*pp_Var5)[uVar14]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (expression_statement "uVar15 = (uint)param_1[local_58 + local_4c];" (assignment_expression "uVar15 = (uint)param_1[local_58 + local_4c]" identifier = (cast_expression "(uint)param_1[local_58 + local_4c]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[local_58 + local_4c]" identifier [ (binary_expression "local_58 + local_4c" identifier + identifier) ]))) ;) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" if (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" * (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" ( (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "uVar15 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" { (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" identifier = (call_expression "__ctype_tolower_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" identifier = (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" ( (pointer_expression "*pp_Var5" * identifier) )) [ identifier ])) ;) })) (if_statement "if (uVar14 != uVar15) goto LAB_0003002d;" if (parenthesized_expression "(uVar14 != uVar15)" ( (binary_expression "uVar14 != uVar15" identifier != identifier) )) (goto_statement "goto LAB_0003002d;" goto statement_identifier ;)) (expression_statement "local_58 = uVar11;" (assignment_expression "local_58 = uVar11" identifier = identifier) ;) }) while (parenthesized_expression "(local_54 != uVar11)" ( (binary_expression "local_54 != uVar11" identifier != identifier) )) ;) (expression_statement "local_58 = local_54;" (assignment_expression "local_58 = local_54" identifier = identifier) ;) }) (else_clause "else {\n              local_58 = local_44;\n            }" else (compound_statement "{\n              local_58 = local_44;\n            }" { (expression_statement "local_58 = local_44;" (assignment_expression "local_58 = local_44" identifier = identifier) ;) }))) (labeled_statement "LAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }" statement_identifier : (if_statement "if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }" if (parenthesized_expression "(local_58 < local_54 + 1)" ( (binary_expression "local_58 < local_54 + 1" identifier < (binary_expression "local_54 + 1" identifier + number_literal)) )) (compound_statement "{\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }" { (expression_statement "pbVar9 = param_1 + local_4c + 1;" (assignment_expression "pbVar9 = param_1 + local_4c + 1" identifier = (binary_expression "param_1 + local_4c + 1" (binary_expression "param_1 + local_4c" identifier + identifier) + number_literal)) ;) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;) }))) (expression_statement "local_4c = local_4c + local_30;" (assignment_expression "local_4c = local_4c + local_30" identifier = (binary_expression "local_4c + local_30" identifier + identifier)) ;) (expression_statement "local_54 = uVar13 - local_30;" (assignment_expression "local_54 = uVar13 - local_30" identifier = (binary_expression "uVar13 - local_30" identifier - identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })) (expression_statement "pbVar9 = (byte *)FUN_0002f7f0(uVar13);" (assignment_expression "pbVar9 = (byte *)FUN_0002f7f0(uVar13)" identifier = (cast_expression "(byte *)FUN_0002f7f0(uVar13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002f7f0(uVar13)" identifier (argument_list "(uVar13)" ( identifier ))))) ;) })) })) }))) (labeled_statement "LAB_0002fe3b:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }" statement_identifier : (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }" if (parenthesized_expression "(iVar2 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_00031620();\n  }" { (expression_statement "FUN_00031620();" (call_expression "FUN_00031620()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return pbVar9;" return identifier ;) (labeled_statement "LAB_00030058:\n  pbVar9 = (byte *)0x0;" statement_identifier : (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (goto_statement "goto LAB_0002fe3b;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * 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 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 ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT & (binary_expression IDENT == IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (break_statement break ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (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 = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (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 (binary_expression IDENT + IDENT) + LIT) , 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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (binary_expression IDENT + LIT) + IDENT) ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - IDENT) ))) + IDENT)) ;) (goto_statement goto statement_identifier ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (binary_expression IDENT + LIT) + IDENT) ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;)) })) (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 (binary_expression IDENT + IDENT) + LIT) , 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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (binary_expression IDENT + LIT) + IDENT) ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression 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 ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT + IDENT) ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) }) while (parenthesized_expression ( BOOL )) ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) })) })) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (goto_statement goto statement_identifier ;) })))
(function_definition "byte * FUN_0002fd10(byte *param_1,byte *param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  ushort *puVar3;\n  ushort **ppuVar4;\n  __int32_t **pp_Var5;\n  int iVar6;\n  byte bVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  byte bVar12;\n  uint uVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  uint local_58;\n  uint local_54;\n  int local_4c;\n  uint local_44;\n  int local_30;\n  int local_24;\n  \n  bVar7 = *param_1;\n  bVar12 = *param_2;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (bVar7 == 0) {\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }\n  else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }\nLAB_0002fe3b:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }\n  return pbVar9;\nLAB_00030058:\n  pbVar9 = (byte *)0x0;\n  goto LAB_0002fe3b;\n}" (type_identifier "byte") (pointer_declarator "* FUN_0002fd10(byte *param_1,byte *param_2)" (* "*") (function_declarator "FUN_0002fd10(byte *param_1,byte *param_2)" (identifier "FUN_0002fd10") (parameter_list "(byte *param_1,byte *param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  ushort *puVar3;\n  ushort **ppuVar4;\n  __int32_t **pp_Var5;\n  int iVar6;\n  byte bVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  byte bVar12;\n  uint uVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  uint local_58;\n  uint local_54;\n  int local_4c;\n  uint local_44;\n  int local_30;\n  int local_24;\n  \n  bVar7 = *param_1;\n  bVar12 = *param_2;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (bVar7 == 0) {\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }\n  else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }\nLAB_0002fe3b:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }\n  return pbVar9;\nLAB_00030058:\n  pbVar9 = (byte *)0x0;\n  goto LAB_0002fe3b;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "ushort *puVar3;" (type_identifier "ushort") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "ushort **ppuVar4;" (type_identifier "ushort") (pointer_declarator "**ppuVar4" (* "*") (pointer_declarator "*ppuVar4" (* "*") (identifier "ppuVar4"))) (; ";")) (declaration "__int32_t **pp_Var5;" (type_identifier "__int32_t") (pointer_declarator "**pp_Var5" (* "*") (pointer_declarator "*pp_Var5" (* "*") (identifier "pp_Var5"))) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "byte bVar7;" (type_identifier "byte") (identifier "bVar7") (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "byte bVar12;" (type_identifier "byte") (identifier "bVar12") (; ";")) (declaration "uint uVar13;" (type_identifier "uint") (identifier "uVar13") (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "uint uVar15;" (type_identifier "uint") (identifier "uVar15") (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "uint local_58;" (type_identifier "uint") (identifier "local_58") (; ";")) (declaration "uint local_54;" (type_identifier "uint") (identifier "local_54") (; ";")) (declaration "int local_4c;" (primitive_type "int") (identifier "local_4c") (; ";")) (declaration "uint local_44;" (type_identifier "uint") (identifier "local_44") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "bVar7 = *param_1;" (assignment_expression "bVar7 = *param_1" (identifier "bVar7") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "bVar12 = *param_2;" (assignment_expression "bVar12 = *param_2" (identifier "bVar12") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (bVar7 == 0) {\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }\n  else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(bVar7 == 0)" (( "(") (binary_expression "bVar7 == 0" (identifier "bVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pbVar9 = (byte *)0x0;\n    if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }\n  }" ({ "{") (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" (identifier "pbVar9") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (bVar12 == 0) {\n      pbVar9 = param_1;\n    }" (if "if") (parenthesized_expression "(bVar12 == 0)" (( "(") (binary_expression "bVar12 == 0" (identifier "bVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      pbVar9 = param_1;\n    }" ({ "{") (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" (identifier "pbVar9") (= "=") (identifier "param_1")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }" (else "else") (compound_statement "{\n    pbVar9 = param_1;\n    if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }\n  }" ({ "{") (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" (identifier "pbVar9") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (bVar12 != 0) {\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }" (if "if") (parenthesized_expression "(bVar12 != 0)" (( "(") (binary_expression "bVar12 != 0" (identifier "bVar12") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      ppuVar4 = __ctype_b_loc();\n      bVar1 = true;\n      puVar3 = *ppuVar4;\n      pbVar8 = param_2;\n      do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);\n      pbVar9 = param_1;\n      if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }\n    }" ({ "{") (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" (identifier "ppuVar4") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" (identifier "puVar3") (= "=") (pointer_expression "*ppuVar4" (* "*") (identifier "ppuVar4"))) (; ";")) (expression_statement "pbVar8 = param_2;" (assignment_expression "pbVar8 = param_2" (identifier "pbVar8") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      } while (bVar12 != 0);" (do "do") (compound_statement "{\n        uVar10 = (uint)bVar7;\n        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }\n        uVar13 = (uint)bVar12;\n        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }\n        pbVar9 = pbVar9 + 1;\n        bVar7 = *pbVar9;\n        pbVar8 = pbVar8 + 1;\n        bVar1 = (bool)(bVar1 & uVar10 == uVar13);\n        bVar12 = *pbVar8;\n        if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }\n      }" ({ "{") (expression_statement "uVar10 = (uint)bVar7;" (assignment_expression "uVar10 = (uint)bVar7" (identifier "uVar10") (= "=") (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7"))) (; ";")) (if_statement "if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }" (if "if") (parenthesized_expression "((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1)" (( "(") (binary_expression "*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar10 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar3 + uVar10 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + uVar10 * 2 + 1)" (( "(") (binary_expression "(int)puVar3 + uVar10 * 2 + 1" (binary_expression "(int)puVar3 + uVar10 * 2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "uVar10 * 2" (identifier "uVar10") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          pp_Var5 = __ctype_tolower_loc();\n          uVar10 = (*pp_Var5)[uVar10];\n        }" ({ "{") (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" (identifier "pp_Var5") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar10 = (*pp_Var5)[uVar10];" (assignment_expression "uVar10 = (*pp_Var5)[uVar10]" (identifier "uVar10") (= "=") (subscript_expression "(*pp_Var5)[uVar10]" (parenthesized_expression "(*pp_Var5)" (( "(") (pointer_expression "*pp_Var5" (* "*") (identifier "pp_Var5")) () ")")) ([ "[") (identifier "uVar10") (] "]"))) (; ";")) (} "}"))) (expression_statement "uVar13 = (uint)bVar12;" (assignment_expression "uVar13 = (uint)bVar12" (identifier "uVar13") (= "=") (cast_expression "(uint)bVar12" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar12"))) (; ";")) (if_statement "if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }" (if "if") (parenthesized_expression "((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1)" (( "(") (binary_expression "*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar13 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar3 + uVar13 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + uVar13 * 2 + 1)" (( "(") (binary_expression "(int)puVar3 + uVar13 * 2 + 1" (binary_expression "(int)puVar3 + uVar13 * 2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "uVar13 * 2" (identifier "uVar13") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          pp_Var5 = __ctype_tolower_loc();\n          uVar13 = (*pp_Var5)[uVar13];\n        }" ({ "{") (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" (identifier "pp_Var5") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar13 = (*pp_Var5)[uVar13];" (assignment_expression "uVar13 = (*pp_Var5)[uVar13]" (identifier "uVar13") (= "=") (subscript_expression "(*pp_Var5)[uVar13]" (parenthesized_expression "(*pp_Var5)" (( "(") (pointer_expression "*pp_Var5" (* "*") (identifier "pp_Var5")) () ")")) ([ "[") (identifier "uVar13") (] "]"))) (; ";")) (} "}"))) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar7 = *pbVar9;" (assignment_expression "bVar7 = *pbVar9" (identifier "bVar7") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (; ";")) (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + 1" (identifier "pbVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = (bool)(bVar1 & uVar10 == uVar13);" (assignment_expression "bVar1 = (bool)(bVar1 & uVar10 == uVar13)" (identifier "bVar1") (= "=") (cast_expression "(bool)(bVar1 & uVar10 == uVar13)" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (parenthesized_expression "(bVar1 & uVar10 == uVar13)" (( "(") (binary_expression "bVar1 & uVar10 == uVar13" (identifier "bVar1") (& "&") (binary_expression "uVar10 == uVar13" (identifier "uVar10") (== "==") (identifier "uVar13"))) () ")")))) (; ";")) (expression_statement "bVar12 = *pbVar8;" (assignment_expression "bVar12 = *pbVar8" (identifier "bVar12") (= "=") (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8"))) (; ";")) (if_statement "if (bVar7 == 0) {\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }" (if "if") (parenthesized_expression "(bVar7 == 0)" (( "(") (binary_expression "bVar7 == 0" (identifier "bVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          pbVar9 = (byte *)0x0;\n          if (bVar12 != 0) goto LAB_0002fe3b;\n          break;\n        }" ({ "{") (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" (identifier "pbVar9") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (bVar12 != 0) goto LAB_0002fe3b;" (if "if") (parenthesized_expression "(bVar12 != 0)" (( "(") (binary_expression "bVar12 != 0" (identifier "bVar12") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002fe3b;" (goto "goto") (statement_identifier "LAB_0002fe3b") (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(bVar12 != 0)" (( "(") (binary_expression "bVar12 != 0" (identifier "bVar12") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" (identifier "pbVar9") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (!bVar1) {\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }" (if "if") (parenthesized_expression "(!bVar1)" (( "(") (unary_expression "!bVar1" (! "!") (identifier "bVar1")) () ")")) (compound_statement "{\n        uVar13 = (int)pbVar8 - (int)param_2;\n        uVar10 = uVar13 - 1;\n        if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }\n        pbVar9 = (byte *)FUN_0002f7f0(uVar13);\n      }" ({ "{") (expression_statement "uVar13 = (int)pbVar8 - (int)param_2;" (assignment_expression "uVar13 = (int)pbVar8 - (int)param_2" (identifier "uVar13") (= "=") (binary_expression "(int)pbVar8 - (int)param_2" (cast_expression "(int)pbVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar8")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) (; ";")) (expression_statement "uVar10 = uVar13 - 1;" (assignment_expression "uVar10 = uVar13 - 1" (identifier "uVar10") (= "=") (binary_expression "uVar13 - 1" (identifier "uVar13") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar13 < 0x20) {\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }" (if "if") (parenthesized_expression "(uVar13 < 0x20)" (( "(") (binary_expression "uVar13 < 0x20" (identifier "uVar13") (< "<") (number_literal "0x20")) () ")")) (compound_statement "{\n          if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }\n          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);\n          if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }\n          local_54 = 0;\n          local_4c = 0;\nLAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );\n        }" ({ "{") (if_statement "if (uVar13 < 3) {\n            local_30 = 1;\n            local_44 = uVar10;\n          }\n          else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }" (if "if") (parenthesized_expression "(uVar13 < 3)" (( "(") (binary_expression "uVar13 < 3" (identifier "uVar13") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n            local_30 = 1;\n            local_44 = uVar10;\n          }" ({ "{") (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" (identifier "local_30") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_44 = uVar10;" (assignment_expression "local_44 = uVar10" (identifier "local_44") (= "=") (identifier "uVar10")) (; ";")) (} "}")) (else_clause "else {\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }" (else "else") (compound_statement "{\n            local_44 = FUN_0002f5a0();\n            local_30 = local_24;\n          }" ({ "{") (expression_statement "local_44 = FUN_0002f5a0();" (assignment_expression "local_44 = FUN_0002f5a0()" (identifier "local_44") (= "=") (call_expression "FUN_0002f5a0()" (identifier "FUN_0002f5a0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_30 = local_24;" (assignment_expression "local_30 = local_24" (identifier "local_30") (= "=") (identifier "local_24")) (; ";")) (} "}")))) (expression_statement "iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);" (assignment_expression "iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44)" (identifier "iVar6") (= "=") (call_expression "strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44)" (identifier "strncasecmp") (argument_list "((char *)param_2,(char *)(param_2 + local_30),local_44)" (( "(") (cast_expression "(char *)param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2")) (, ",") (cast_expression "(char *)(param_2 + local_30)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + local_30)" (( "(") (binary_expression "param_2 + local_30" (identifier "param_2") (+ "+") (identifier "local_30")) () ")"))) (, ",") (identifier "local_44") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            local_54 = 0;\n            uVar14 = uVar13 - local_44;\n            if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }\nLAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );\n          }" ({ "{") (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" (identifier "local_54") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar14 = uVar13 - local_44;" (assignment_expression "uVar14 = uVar13 - local_44" (identifier "uVar14") (= "=") (binary_expression "uVar13 - local_44" (identifier "uVar13") (- "-") (identifier "local_44"))) (; ";")) (if_statement "if (uVar13 - local_44 < local_44) {\n              uVar14 = local_44;\n            }" (if "if") (parenthesized_expression "(uVar13 - local_44 < local_44)" (( "(") (binary_expression "uVar13 - local_44 < local_44" (binary_expression "uVar13 - local_44" (identifier "uVar13") (- "-") (identifier "local_44")) (< "<") (identifier "local_44")) () ")")) (compound_statement "{\n              uVar14 = local_44;\n            }" ({ "{") (expression_statement "uVar14 = local_44;" (assignment_expression "uVar14 = local_44" (identifier "uVar14") (= "=") (identifier "local_44")) (; ";")) (} "}"))) (labeled_statement "LAB_000300a0:\n            do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );" (statement_identifier "LAB_000300a0") (: ":") (do_statement "do {\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            } while( true );" (do "do") (compound_statement "{\n              uVar11 = local_54 + uVar13;\n              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);\n              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;\n              uVar10 = uVar11;\n              if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }\n              iVar6 = local_44 - 1;\n              if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }\n              puVar3 = *ppuVar4;\n              while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }\n              local_54 = local_54 + uVar14 + 1;\n            }" ({ "{") (expression_statement "uVar11 = local_54 + uVar13;" (assignment_expression "uVar11 = local_54 + uVar13" (identifier "uVar11") (= "=") (binary_expression "local_54 + uVar13" (identifier "local_54") (+ "+") (identifier "uVar13"))) (; ";")) (expression_statement "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);" (assignment_expression "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10)" (identifier "iVar6") (= "=") (call_expression "FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10)" (identifier "FUN_000213e0") (argument_list "(param_1 + uVar10 + 1,0,uVar11 - uVar10)" (( "(") (binary_expression "param_1 + uVar10 + 1" (binary_expression "param_1 + uVar10" (identifier "param_1") (+ "+") (identifier "uVar10")) (+ "+") (number_literal "1")) (, ",") (number_literal "0") (, ",") (binary_expression "uVar11 - uVar10" (identifier "uVar11") (- "-") (identifier "uVar10")) () ")")))) (; ";")) (if_statement "if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;" (if "if") (parenthesized_expression "((uVar11 == 0) || (iVar6 != 0))" (( "(") (binary_expression "(uVar11 == 0) || (iVar6 != 0)" (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_00030058;" (goto "goto") (statement_identifier "LAB_00030058") (; ";"))) (expression_statement "uVar10 = uVar11;" (assignment_expression "uVar10 = uVar11" (identifier "uVar10") (= "=") (identifier "uVar11")) (; ";")) (if_statement "if (local_44 < uVar13) {\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }" (if "if") (parenthesized_expression "(local_44 < uVar13)" (( "(") (binary_expression "local_44 < uVar13" (identifier "local_44") (< "<") (identifier "uVar13")) () ")")) (compound_statement "{\n                puVar3 = *ppuVar4;\n                uVar11 = local_44;\n                do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);\n              }" ({ "{") (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" (identifier "puVar3") (= "=") (pointer_expression "*ppuVar4" (* "*") (identifier "ppuVar4"))) (; ";")) (expression_statement "uVar11 = local_44;" (assignment_expression "uVar11 = local_44" (identifier "uVar11") (= "=") (identifier "local_44")) (; ";")) (do_statement "do {\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                } while (uVar11 < uVar13);" (do "do") (compound_statement "{\n                  uVar15 = (uint)param_2[uVar11];\n                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }\n                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];\n                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }\n                  if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }\n                  uVar11 = uVar11 + 1;\n                }" ({ "{") (expression_statement "uVar15 = (uint)param_2[uVar11];" (assignment_expression "uVar15 = (uint)param_2[uVar11]" (identifier "uVar15") (= "=") (cast_expression "(uint)param_2[uVar11]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[uVar11]" (identifier "param_2") ([ "[") (identifier "uVar11") (] "]")))) (; ";")) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }" (if "if") (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" (( "(") (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" (( "(") (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "uVar15 * 2" (identifier "uVar15") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar15 = (*pp_Var5)[uVar15];\n                  }" ({ "{") (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" (identifier "pp_Var5") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" (identifier "uVar15") (= "=") (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" (( "(") (pointer_expression "*pp_Var5" (* "*") (identifier "pp_Var5")) () ")")) ([ "[") (identifier "uVar15") (] "]"))) (; ";")) (} "}"))) (expression_statement "uVar16 = (uint)param_1[uVar11 + 1 + local_54];" (assignment_expression "uVar16 = (uint)param_1[uVar11 + 1 + local_54]" (identifier "uVar16") (= "=") (cast_expression "(uint)param_1[uVar11 + 1 + local_54]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[uVar11 + 1 + local_54]" (identifier "param_1") ([ "[") (binary_expression "uVar11 + 1 + local_54" (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1")) (+ "+") (identifier "local_54")) (] "]")))) (; ";")) (if_statement "if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }" (if "if") (parenthesized_expression "((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1)" (( "(") (binary_expression "*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar16 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar3 + uVar16 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + uVar16 * 2 + 1)" (( "(") (binary_expression "(int)puVar3 + uVar16 * 2 + 1" (binary_expression "(int)puVar3 + uVar16 * 2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "uVar16 * 2" (identifier "uVar16") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    pp_Var5 = __ctype_tolower_loc();\n                    uVar16 = (*pp_Var5)[uVar16];\n                  }" ({ "{") (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" (identifier "pp_Var5") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar16 = (*pp_Var5)[uVar16];" (assignment_expression "uVar16 = (*pp_Var5)[uVar16]" (identifier "uVar16") (= "=") (subscript_expression "(*pp_Var5)[uVar16]" (parenthesized_expression "(*pp_Var5)" (( "(") (pointer_expression "*pp_Var5" (* "*") (identifier "pp_Var5")) () ")")) ([ "[") (identifier "uVar16") (] "]"))) (; ";")) (} "}"))) (if_statement "if (uVar15 != uVar16) {\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }" (if "if") (parenthesized_expression "(uVar15 != uVar16)" (( "(") (binary_expression "uVar15 != uVar16" (identifier "uVar15") (!= "!=") (identifier "uVar16")) () ")")) (compound_statement "{\n                    if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }\n                    break;\n                  }" ({ "{") (if_statement "if (uVar11 < uVar13) {\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }" (if "if") (parenthesized_expression "(uVar11 < uVar13)" (( "(") (binary_expression "uVar11 < uVar13" (identifier "uVar11") (< "<") (identifier "uVar13")) () ")")) (compound_statement "{\n                      local_54 = local_54 + (1 - local_44) + uVar11;\n                      goto LAB_000300a0;\n                    }" ({ "{") (expression_statement "local_54 = local_54 + (1 - local_44) + uVar11;" (assignment_expression "local_54 = local_54 + (1 - local_44) + uVar11" (identifier "local_54") (= "=") (binary_expression "local_54 + (1 - local_44) + uVar11" (binary_expression "local_54 + (1 - local_44)" (identifier "local_54") (+ "+") (parenthesized_expression "(1 - local_44)" (( "(") (binary_expression "1 - local_44" (number_literal "1") (- "-") (identifier "local_44")) () ")"))) (+ "+") (identifier "uVar11"))) (; ";")) (goto_statement "goto LAB_000300a0;" (goto "goto") (statement_identifier "LAB_000300a0") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 < uVar13)" (( "(") (binary_expression "uVar11 < uVar13" (identifier "uVar11") (< "<") (identifier "uVar13")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar6 = local_44 - 1;" (assignment_expression "iVar6 = local_44 - 1" (identifier "iVar6") (= "=") (binary_expression "local_44 - 1" (identifier "local_44") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (iVar6 == -1) {\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }" (if "if") (parenthesized_expression "(iVar6 == -1)" (( "(") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\nLAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;\n                goto LAB_0002fe3b;\n              }" ({ "{") (labeled_statement "LAB_00030230:\n                pbVar9 = param_1 + local_54 + 1;" (statement_identifier "LAB_00030230") (: ":") (expression_statement "pbVar9 = param_1 + local_54 + 1;" (assignment_expression "pbVar9 = param_1 + local_54 + 1" (identifier "pbVar9") (= "=") (binary_expression "param_1 + local_54 + 1" (binary_expression "param_1 + local_54" (identifier "param_1") (+ "+") (identifier "local_54")) (+ "+") (number_literal "1"))) (; ";"))) (goto_statement "goto LAB_0002fe3b;" (goto "goto") (statement_identifier "LAB_0002fe3b") (; ";")) (} "}"))) (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" (identifier "puVar3") (= "=") (pointer_expression "*ppuVar4" (* "*") (identifier "ppuVar4"))) (; ";")) (while_statement "while( true ) {\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n                uVar11 = (uint)param_2[iVar6];\n                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }\n                uVar15 = (uint)param_1[iVar6 + 1 + local_54];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar11 != uVar15) break;\n                iVar6 = iVar6 + -1;\n                if (iVar6 == -1) goto LAB_00030230;\n              }" ({ "{") (expression_statement "uVar11 = (uint)param_2[iVar6];" (assignment_expression "uVar11 = (uint)param_2[iVar6]" (identifier "uVar11") (= "=") (cast_expression "(uint)param_2[iVar6]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[iVar6]" (identifier "param_2") ([ "[") (identifier "iVar6") (] "]")))) (; ";")) (if_statement "if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }" (if "if") (parenthesized_expression "((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1)" (( "(") (binary_expression "*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar11 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar3 + uVar11 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + uVar11 * 2 + 1)" (( "(") (binary_expression "(int)puVar3 + uVar11 * 2 + 1" (binary_expression "(int)puVar3 + uVar11 * 2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "uVar11 * 2" (identifier "uVar11") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar11 = (*pp_Var5)[uVar11];\n                }" ({ "{") (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" (identifier "pp_Var5") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar11 = (*pp_Var5)[uVar11];" (assignment_expression "uVar11 = (*pp_Var5)[uVar11]" (identifier "uVar11") (= "=") (subscript_expression "(*pp_Var5)[uVar11]" (parenthesized_expression "(*pp_Var5)" (( "(") (pointer_expression "*pp_Var5" (* "*") (identifier "pp_Var5")) () ")")) ([ "[") (identifier "uVar11") (] "]"))) (; ";")) (} "}"))) (expression_statement "uVar15 = (uint)param_1[iVar6 + 1 + local_54];" (assignment_expression "uVar15 = (uint)param_1[iVar6 + 1 + local_54]" (identifier "uVar15") (= "=") (cast_expression "(uint)param_1[iVar6 + 1 + local_54]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[iVar6 + 1 + local_54]" (identifier "param_1") ([ "[") (binary_expression "iVar6 + 1 + local_54" (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1")) (+ "+") (identifier "local_54")) (] "]")))) (; ";")) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" (if "if") (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" (( "(") (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" (( "(") (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "uVar15 * 2" (identifier "uVar15") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" ({ "{") (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" (identifier "pp_Var5") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" (identifier "uVar15") (= "=") (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" (( "(") (pointer_expression "*pp_Var5" (* "*") (identifier "pp_Var5")) () ")")) ([ "[") (identifier "uVar15") (] "]"))) (; ";")) (} "}"))) (if_statement "if (uVar11 != uVar15) break;" (if "if") (parenthesized_expression "(uVar11 != uVar15)" (( "(") (binary_expression "uVar11 != uVar15" (identifier "uVar11") (!= "!=") (identifier "uVar15")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar6 == -1) goto LAB_00030230;" (if "if") (parenthesized_expression "(iVar6 == -1)" (( "(") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_00030230;" (goto "goto") (statement_identifier "LAB_00030230") (; ";"))) (} "}"))) (expression_statement "local_54 = local_54 + uVar14 + 1;" (assignment_expression "local_54 = local_54 + uVar14 + 1" (identifier "local_54") (= "=") (binary_expression "local_54 + uVar14 + 1" (binary_expression "local_54 + uVar14" (identifier "local_54") (+ "+") (identifier "uVar14")) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}"))) (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" (identifier "local_54") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" (identifier "local_4c") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0002fec8:\n          do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );" (statement_identifier "LAB_0002fec8") (: ":") (do_statement "do {\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          } while( true );" (do "do") (compound_statement "{\n            uVar14 = uVar13 + local_4c;\n            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);\n            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;\n            uVar11 = local_54;\n            if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }\n            uVar10 = uVar14;\n            if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }\n            if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }\nLAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }\n            local_4c = local_4c + local_30;\n            local_54 = uVar13 - local_30;\n          }" ({ "{") (expression_statement "uVar14 = uVar13 + local_4c;" (assignment_expression "uVar14 = uVar13 + local_4c" (identifier "uVar14") (= "=") (binary_expression "uVar13 + local_4c" (identifier "uVar13") (+ "+") (identifier "local_4c"))) (; ";")) (expression_statement "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);" (assignment_expression "iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10)" (identifier "iVar6") (= "=") (call_expression "FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10)" (identifier "FUN_000213e0") (argument_list "(param_1 + uVar10 + 1,0,uVar14 - uVar10)" (( "(") (binary_expression "param_1 + uVar10 + 1" (binary_expression "param_1 + uVar10" (identifier "param_1") (+ "+") (identifier "uVar10")) (+ "+") (number_literal "1")) (, ",") (number_literal "0") (, ",") (binary_expression "uVar14 - uVar10" (identifier "uVar14") (- "-") (identifier "uVar10")) () ")")))) (; ";")) (if_statement "if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;" (if "if") (parenthesized_expression "((uVar14 == 0) || (iVar6 != 0))" (( "(") (binary_expression "(uVar14 == 0) || (iVar6 != 0)" (parenthesized_expression "(uVar14 == 0)" (( "(") (binary_expression "uVar14 == 0" (identifier "uVar14") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_00030058;" (goto "goto") (statement_identifier "LAB_00030058") (; ";"))) (expression_statement "uVar11 = local_54;" (assignment_expression "uVar11 = local_54" (identifier "uVar11") (= "=") (identifier "local_54")) (; ";")) (if_statement "if (local_54 <= local_44) {\n              uVar11 = local_44;\n            }" (if "if") (parenthesized_expression "(local_54 <= local_44)" (( "(") (binary_expression "local_54 <= local_44" (identifier "local_54") (<= "<=") (identifier "local_44")) () ")")) (compound_statement "{\n              uVar11 = local_44;\n            }" ({ "{") (expression_statement "uVar11 = local_44;" (assignment_expression "uVar11 = local_44" (identifier "uVar11") (= "=") (identifier "local_44")) (; ";")) (} "}"))) (expression_statement "uVar10 = uVar14;" (assignment_expression "uVar10 = uVar14" (identifier "uVar10") (= "=") (identifier "uVar14")) (; ";")) (if_statement "if (uVar11 < uVar13) {\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }" (if "if") (parenthesized_expression "(uVar11 < uVar13)" (( "(") (binary_expression "uVar11 < uVar13" (identifier "uVar11") (< "<") (identifier "uVar13")) () ")")) (compound_statement "{\n              puVar3 = *ppuVar4;\n              do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);\n            }" ({ "{") (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" (identifier "puVar3") (= "=") (pointer_expression "*ppuVar4" (* "*") (identifier "ppuVar4"))) (; ";")) (do_statement "do {\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              } while (uVar13 != uVar11);" (do "do") (compound_statement "{\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }\n                uVar11 = uVar11 + 1;\n              }" ({ "{") (expression_statement "uVar14 = (uint)param_2[uVar11];" (assignment_expression "uVar14 = (uint)param_2[uVar11]" (identifier "uVar14") (= "=") (cast_expression "(uint)param_2[uVar11]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[uVar11]" (identifier "param_2") ([ "[") (identifier "uVar11") (] "]")))) (; ";")) (if_statement "if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" (if "if") (parenthesized_expression "((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1)" (( "(") (binary_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar3 + uVar14 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + uVar14 * 2 + 1)" (( "(") (binary_expression "(int)puVar3 + uVar14 * 2 + 1" (binary_expression "(int)puVar3 + uVar14 * 2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "uVar14 * 2" (identifier "uVar14") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" ({ "{") (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" (identifier "pp_Var5") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar14 = (*pp_Var5)[uVar14];" (assignment_expression "uVar14 = (*pp_Var5)[uVar14]" (identifier "uVar14") (= "=") (subscript_expression "(*pp_Var5)[uVar14]" (parenthesized_expression "(*pp_Var5)" (( "(") (pointer_expression "*pp_Var5" (* "*") (identifier "pp_Var5")) () ")")) ([ "[") (identifier "uVar14") (] "]"))) (; ";")) (} "}"))) (expression_statement "uVar15 = (uint)param_1[uVar11 + 1 + local_4c];" (assignment_expression "uVar15 = (uint)param_1[uVar11 + 1 + local_4c]" (identifier "uVar15") (= "=") (cast_expression "(uint)param_1[uVar11 + 1 + local_4c]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[uVar11 + 1 + local_4c]" (identifier "param_1") ([ "[") (binary_expression "uVar11 + 1 + local_4c" (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1")) (+ "+") (identifier "local_4c")) (] "]")))) (; ";")) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" (if "if") (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" (( "(") (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" (( "(") (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "uVar15 * 2" (identifier "uVar15") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" ({ "{") (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" (identifier "pp_Var5") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" (identifier "uVar15") (= "=") (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" (( "(") (pointer_expression "*pp_Var5" (* "*") (identifier "pp_Var5")) () ")")) ([ "[") (identifier "uVar15") (] "]"))) (; ";")) (} "}"))) (if_statement "if (uVar14 != uVar15) {\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }" (if "if") (parenthesized_expression "(uVar14 != uVar15)" (( "(") (binary_expression "uVar14 != uVar15" (identifier "uVar14") (!= "!=") (identifier "uVar15")) () ")")) (compound_statement "{\n                  if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }\n                  break;\n                }" ({ "{") (if_statement "if (uVar11 < uVar13) {\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }" (if "if") (parenthesized_expression "(uVar11 < uVar13)" (( "(") (binary_expression "uVar11 < uVar13" (identifier "uVar11") (< "<") (identifier "uVar13")) () ")")) (compound_statement "{\n                    local_54 = 0;\n                    local_4c = local_4c + (1 - local_44) + uVar11;\n                    goto LAB_0002fec8;\n                  }" ({ "{") (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" (identifier "local_54") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_4c = local_4c + (1 - local_44) + uVar11;" (assignment_expression "local_4c = local_4c + (1 - local_44) + uVar11" (identifier "local_4c") (= "=") (binary_expression "local_4c + (1 - local_44) + uVar11" (binary_expression "local_4c + (1 - local_44)" (identifier "local_4c") (+ "+") (parenthesized_expression "(1 - local_44)" (( "(") (binary_expression "1 - local_44" (number_literal "1") (- "-") (identifier "local_44")) () ")"))) (+ "+") (identifier "uVar11"))) (; ";")) (goto_statement "goto LAB_0002fec8;" (goto "goto") (statement_identifier "LAB_0002fec8") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar13 != uVar11)" (( "(") (binary_expression "uVar13 != uVar11" (identifier "uVar13") (!= "!=") (identifier "uVar11")) () ")")) (; ";")) (} "}"))) (if_statement "if (local_54 < local_44) {\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }\n            else {\n              local_58 = local_44;\n            }" (if "if") (parenthesized_expression "(local_54 < local_44)" (( "(") (binary_expression "local_54 < local_44" (identifier "local_54") (< "<") (identifier "local_44")) () ")")) (compound_statement "{\n              puVar3 = *ppuVar4;\n              local_58 = local_44;\n              do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);\n              local_58 = local_54;\n            }" ({ "{") (expression_statement "puVar3 = *ppuVar4;" (assignment_expression "puVar3 = *ppuVar4" (identifier "puVar3") (= "=") (pointer_expression "*ppuVar4" (* "*") (identifier "ppuVar4"))) (; ";")) (expression_statement "local_58 = local_44;" (assignment_expression "local_58 = local_44" (identifier "local_58") (= "=") (identifier "local_44")) (; ";")) (do_statement "do {\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              } while (local_54 != uVar11);" (do "do") (compound_statement "{\n                uVar11 = local_58 - 1;\n                uVar14 = (uint)param_2[uVar11];\n                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }\n                uVar15 = (uint)param_1[local_58 + local_4c];\n                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }\n                if (uVar14 != uVar15) goto LAB_0003002d;\n                local_58 = uVar11;\n              }" ({ "{") (expression_statement "uVar11 = local_58 - 1;" (assignment_expression "uVar11 = local_58 - 1" (identifier "uVar11") (= "=") (binary_expression "local_58 - 1" (identifier "local_58") (- "-") (number_literal "1"))) (; ";")) (expression_statement "uVar14 = (uint)param_2[uVar11];" (assignment_expression "uVar14 = (uint)param_2[uVar11]" (identifier "uVar14") (= "=") (cast_expression "(uint)param_2[uVar11]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[uVar11]" (identifier "param_2") ([ "[") (identifier "uVar11") (] "]")))) (; ";")) (if_statement "if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" (if "if") (parenthesized_expression "((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1)" (( "(") (binary_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar14 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar3 + uVar14 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + uVar14 * 2 + 1)" (( "(") (binary_expression "(int)puVar3 + uVar14 * 2 + 1" (binary_expression "(int)puVar3 + uVar14 * 2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "uVar14 * 2" (identifier "uVar14") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar14 = (*pp_Var5)[uVar14];\n                }" ({ "{") (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" (identifier "pp_Var5") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar14 = (*pp_Var5)[uVar14];" (assignment_expression "uVar14 = (*pp_Var5)[uVar14]" (identifier "uVar14") (= "=") (subscript_expression "(*pp_Var5)[uVar14]" (parenthesized_expression "(*pp_Var5)" (( "(") (pointer_expression "*pp_Var5" (* "*") (identifier "pp_Var5")) () ")")) ([ "[") (identifier "uVar14") (] "]"))) (; ";")) (} "}"))) (expression_statement "uVar15 = (uint)param_1[local_58 + local_4c];" (assignment_expression "uVar15 = (uint)param_1[local_58 + local_4c]" (identifier "uVar15") (= "=") (cast_expression "(uint)param_1[local_58 + local_4c]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[local_58 + local_4c]" (identifier "param_1") ([ "[") (binary_expression "local_58 + local_4c" (identifier "local_58") (+ "+") (identifier "local_4c")) (] "]")))) (; ";")) (if_statement "if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" (if "if") (parenthesized_expression "((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1)" (( "(") (binary_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)puVar3 + uVar15 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar3 + uVar15 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + uVar15 * 2 + 1)" (( "(") (binary_expression "(int)puVar3 + uVar15 * 2 + 1" (binary_expression "(int)puVar3 + uVar15 * 2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "uVar15 * 2" (identifier "uVar15") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  pp_Var5 = __ctype_tolower_loc();\n                  uVar15 = (*pp_Var5)[uVar15];\n                }" ({ "{") (expression_statement "pp_Var5 = __ctype_tolower_loc();" (assignment_expression "pp_Var5 = __ctype_tolower_loc()" (identifier "pp_Var5") (= "=") (call_expression "__ctype_tolower_loc()" (identifier "__ctype_tolower_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar15 = (*pp_Var5)[uVar15];" (assignment_expression "uVar15 = (*pp_Var5)[uVar15]" (identifier "uVar15") (= "=") (subscript_expression "(*pp_Var5)[uVar15]" (parenthesized_expression "(*pp_Var5)" (( "(") (pointer_expression "*pp_Var5" (* "*") (identifier "pp_Var5")) () ")")) ([ "[") (identifier "uVar15") (] "]"))) (; ";")) (} "}"))) (if_statement "if (uVar14 != uVar15) goto LAB_0003002d;" (if "if") (parenthesized_expression "(uVar14 != uVar15)" (( "(") (binary_expression "uVar14 != uVar15" (identifier "uVar14") (!= "!=") (identifier "uVar15")) () ")")) (goto_statement "goto LAB_0003002d;" (goto "goto") (statement_identifier "LAB_0003002d") (; ";"))) (expression_statement "local_58 = uVar11;" (assignment_expression "local_58 = uVar11" (identifier "local_58") (= "=") (identifier "uVar11")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_54 != uVar11)" (( "(") (binary_expression "local_54 != uVar11" (identifier "local_54") (!= "!=") (identifier "uVar11")) () ")")) (; ";")) (expression_statement "local_58 = local_54;" (assignment_expression "local_58 = local_54" (identifier "local_58") (= "=") (identifier "local_54")) (; ";")) (} "}")) (else_clause "else {\n              local_58 = local_44;\n            }" (else "else") (compound_statement "{\n              local_58 = local_44;\n            }" ({ "{") (expression_statement "local_58 = local_44;" (assignment_expression "local_58 = local_44" (identifier "local_58") (= "=") (identifier "local_44")) (; ";")) (} "}")))) (labeled_statement "LAB_0003002d:\n            if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }" (statement_identifier "LAB_0003002d") (: ":") (if_statement "if (local_58 < local_54 + 1) {\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }" (if "if") (parenthesized_expression "(local_58 < local_54 + 1)" (( "(") (binary_expression "local_58 < local_54 + 1" (identifier "local_58") (< "<") (binary_expression "local_54 + 1" (identifier "local_54") (+ "+") (number_literal "1"))) () ")")) (compound_statement "{\n              pbVar9 = param_1 + local_4c + 1;\n              goto LAB_0002fe3b;\n            }" ({ "{") (expression_statement "pbVar9 = param_1 + local_4c + 1;" (assignment_expression "pbVar9 = param_1 + local_4c + 1" (identifier "pbVar9") (= "=") (binary_expression "param_1 + local_4c + 1" (binary_expression "param_1 + local_4c" (identifier "param_1") (+ "+") (identifier "local_4c")) (+ "+") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_0002fe3b;" (goto "goto") (statement_identifier "LAB_0002fe3b") (; ";")) (} "}")))) (expression_statement "local_4c = local_4c + local_30;" (assignment_expression "local_4c = local_4c + local_30" (identifier "local_4c") (= "=") (binary_expression "local_4c + local_30" (identifier "local_4c") (+ "+") (identifier "local_30"))) (; ";")) (expression_statement "local_54 = uVar13 - local_30;" (assignment_expression "local_54 = uVar13 - local_30" (identifier "local_54") (= "=") (binary_expression "uVar13 - local_30" (identifier "uVar13") (- "-") (identifier "local_30"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}"))) (expression_statement "pbVar9 = (byte *)FUN_0002f7f0(uVar13);" (assignment_expression "pbVar9 = (byte *)FUN_0002f7f0(uVar13)" (identifier "pbVar9") (= "=") (cast_expression "(byte *)FUN_0002f7f0(uVar13)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0002f7f0(uVar13)" (identifier "FUN_0002f7f0") (argument_list "(uVar13)" (( "(") (identifier "uVar13") () ")"))))) (; ";")) (} "}"))) (} "}"))) (} "}")))) (labeled_statement "LAB_0002fe3b:\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }" (statement_identifier "LAB_0002fe3b") (: ":") (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }" (if "if") (parenthesized_expression "(iVar2 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar2 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar2") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_00031620();\n  }" ({ "{") (expression_statement "FUN_00031620();" (call_expression "FUN_00031620()" (identifier "FUN_00031620") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return pbVar9;" (return "return") (identifier "pbVar9") (; ";")) (labeled_statement "LAB_00030058:\n  pbVar9 = (byte *)0x0;" (statement_identifier "LAB_00030058") (: ":") (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" (identifier "pbVar9") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (goto_statement "goto LAB_0002fe3b;" (goto "goto") (statement_identifier "LAB_0002fe3b") (; ";")) (} "}")))

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

char * function_1(char *var_11,char *var_14)

{
  bool var_10;
  type_1 *puVar2;
  type_1 **ppuVar3;
  type_2 **pp_Var4;
  type_3 *var_20;
  int var_16;
  void *var_23;
  type_4 var_2;
  type_4 *var_9;
  type_4 *var_8;
  size_t var_22;
  type_5 var_5;
  size_t var_21;
  type_4 var_3;
  type_5 var_7;
  size_t var_28;
  type_5 var_25;
  type_5 var_24;
  type_5 var_26;
  int var_1;
  type_5 var_29;
  type_5 var_18;
  int var_27;
  type_5 var_17;
  size_t var_15;
  int var_31;
  type_6 uStack_14;
  
  uStack_14 = 0x2fd19;
  var_2 = *var_11;
  var_3 = *var_14;
  var_31 = *(int *)(var_1 + 0x14);
  if (var_2 == 0) {
    var_20 = (type_3 *)0x0;
    if (var_3 == 0) {
      var_20 = (type_3 *)var_11;
    }
  }
  else {
    var_20 = (type_3 *)var_11;
    if (var_3 != 0) {
      ppuVar3 = var_4();
      var_10 = true;
      puVar2 = *ppuVar3;
      var_9 = (type_4 *)var_14;
      var_8 = (type_4 *)var_11;
      do {
        var_5 = (type_5)var_2;
        if ((*(type_4 *)((int)puVar2 + var_5 * 2 + 1) & 1) != 0) {
          pp_Var4 = var_6();
          var_5 = (*pp_Var4)[var_5];
        }
        var_7 = (type_5)var_3;
        if ((*(type_4 *)((int)puVar2 + var_7 * 2 + 1) & 1) != 0) {
          pp_Var4 = var_6();
          var_7 = (*pp_Var4)[var_7];
        }
        var_8 = var_8 + 1;
        var_2 = *var_8;
        var_9 = var_9 + 1;
        var_10 = (bool)(var_10 & var_5 == var_7);
        var_3 = *var_9;
        if (var_2 == 0) {
          var_20 = (type_3 *)0x0;
          if (var_3 != 0) goto LAB_0002fe3b;
          break;
        }
      } while (var_3 != 0);
      var_20 = (type_3 *)var_11;
      if (!var_10) {
        var_20 = (type_3 *)(var_11 + 1);
        var_5 = (int)var_9 - (int)var_14;
        var_21 = var_5 - 1;
        if (var_5 < 0x20) {
          if (var_5 < 3) {
            var_15 = 1;
            var_17 = var_21;
          }
          else {
            var_17 = var_12((type_3 *)var_14,var_5,&var_15);
          }
          var_22 = var_15;
          var_16 = var_13(var_14,var_14 + var_15,var_17);
          if (var_16 != 0) {
            var_18 = 0;
            var_7 = var_5 - var_17;
            if (var_5 - var_17 < var_17) {
              var_7 = var_17;
            }
            var_15 = var_7 + 1;
LAB_000300a0:
            do {
              var_22 = var_18 + var_5;
              var_23 = var_19(var_20 + var_21,0,var_22 - var_21);
              if ((var_22 == 0) || (var_23 != (void *)0x0)) goto LAB_00030058;
              var_21 = var_22;
              if (var_17 < var_5) {
                puVar2 = *ppuVar3;
                var_25 = var_17;
                do {
                  var_24 = (type_5)(type_4)var_14[var_25];
                  if ((*(type_4 *)((int)puVar2 + var_24 * 2 + 1) & 1) != 0) {
                    pp_Var4 = var_6();
                    var_24 = (*pp_Var4)[var_24];
                  }
                  var_26 = (type_5)(type_4)var_11[var_25 + 1 + var_18];
                  if ((*(type_4 *)((int)puVar2 + var_26 * 2 + 1) & 1) != 0) {
                    pp_Var4 = var_6();
                    var_26 = (*pp_Var4)[var_26];
                  }
                  if (var_24 != var_26) {
                    if (var_25 < var_5) {
                      var_18 = var_18 + (1 - var_17) + var_25;
                      goto LAB_000300a0;
                    }
                    break;
                  }
                  var_25 = var_25 + 1;
                } while (var_25 < var_5);
              }
              var_16 = var_17 - 1;
              if (var_16 == -1) {
LAB_00030230:
                var_20 = var_20 + var_18;
                goto LAB_0002fe3b;
              }
              puVar2 = *ppuVar3;
              while( true ) {
                var_25 = (type_5)(type_4)var_14[var_16];
                if ((*(type_4 *)((int)puVar2 + var_25 * 2 + 1) & 1) != 0) {
                  pp_Var4 = var_6();
                  var_25 = (*pp_Var4)[var_25];
                }
                var_24 = (type_5)(type_4)var_11[var_16 + 1 + var_18];
                if ((*(type_4 *)((int)puVar2 + var_24 * 2 + 1) & 1) != 0) {
                  pp_Var4 = var_6();
                  var_24 = (*pp_Var4)[var_24];
                }
                if (var_25 != var_24) break;
                var_16 = var_16 + -1;
                if (var_16 == -1) goto LAB_00030230;
              }
              var_18 = var_18 + var_7 + 1;
            } while( true );
          }
          var_18 = 0;
          var_27 = 0;
LAB_0002fec8:
          do {
            var_28 = var_5 + var_27;
            var_23 = var_19(var_20 + var_21,0,var_28 - var_21);
            if ((var_28 == 0) || (var_23 != (void *)0x0)) goto LAB_00030058;
            var_7 = var_18;
            if (var_18 <= var_17) {
              var_7 = var_17;
            }
            var_21 = var_28;
            if (var_7 < var_5) {
              puVar2 = *ppuVar3;
              do {
                var_25 = (type_5)(type_4)var_14[var_7];
                if ((*(type_4 *)((int)puVar2 + var_25 * 2 + 1) & 1) != 0) {
                  pp_Var4 = var_6();
                  var_25 = (*pp_Var4)[var_25];
                }
                var_24 = (type_5)(type_4)var_11[var_7 + 1 + var_27];
                if ((*(type_4 *)((int)puVar2 + var_24 * 2 + 1) & 1) != 0) {
                  pp_Var4 = var_6();
                  var_24 = (*pp_Var4)[var_24];
                }
                if (var_25 != var_24) {
                  if (var_7 < var_5) {
                    var_18 = 0;
                    var_27 = var_27 + (1 - var_17) + var_7;
                    goto LAB_0002fec8;
                  }
                  break;
                }
                var_7 = var_7 + 1;
              } while (var_5 != var_7);
            }
            if (var_18 < var_17) {
              puVar2 = *ppuVar3;
              var_29 = var_17;
              do {
                var_25 = var_29 - 1;
                var_7 = (type_5)(type_4)var_14[var_25];
                if ((*(type_4 *)((int)puVar2 + var_7 * 2 + 1) & 1) != 0) {
                  pp_Var4 = var_6();
                  var_7 = (*pp_Var4)[var_7];
                }
                var_24 = (type_5)(type_4)var_11[var_29 + var_27];
                if ((*(type_4 *)((int)puVar2 + var_24 * 2 + 1) & 1) != 0) {
                  pp_Var4 = var_6();
                  var_24 = (*pp_Var4)[var_24];
                }
                if (var_7 != var_24) goto LAB_0003002d;
                var_29 = var_25;
              } while (var_18 != var_25);
              var_29 = var_18;
            }
            else {
              var_29 = var_17;
            }
LAB_0003002d:
            if (var_29 < var_18 + 1) {
              var_20 = var_20 + var_27;
              goto LAB_0002fe3b;
            }
            var_27 = var_27 + var_22;
            var_18 = var_5 - var_22;
          } while( true );
        }
        var_20 = (type_3 *)var_30(var_20,var_21,(type_3 *)var_14,var_5);
      }
    }
  }
LAB_0002fe3b:
  if (var_31 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_32();
  }
  return (char *)var_20;
LAB_00030058:
  var_20 = (type_3 *)0x0;
  goto LAB_0002fe3b;
}


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

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

byte * MASKED(byte *param_1,byte *param_2)

{
  bool bVar1;
  int iVar2;
  ushort *puVar3;
  ushort **ppuVar4;
  __int32_t **pp_Var5;
  int iVar6;
  byte bVar7;
  byte *pbVar8;
  byte *pbVar9;
  uint uVar10;
  uint uVar11;
  byte bVar12;
  uint uVar13;
  uint uVar14;
  uint uVar15;
  uint uVar16;
  int in_GS_OFFSET;
  uint local_58;
  uint local_54;
  int local_4c;
  uint local_44;
  int local_30;
  int local_24;
  
  bVar7 = *param_1;
  bVar12 = *param_2;
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  if (bVar7 == 0) {
    pbVar9 = (byte *)0x0;
    if (bVar12 == 0) {
      pbVar9 = param_1;
    }
  }
  else {
    pbVar9 = param_1;
    if (bVar12 != 0) {
      ppuVar4 = __ctype_b_loc();
      bVar1 = true;
      puVar3 = *ppuVar4;
      pbVar8 = param_2;
      do {
        uVar10 = (uint)bVar7;
        if ((*(byte *)((int)puVar3 + uVar10 * 2 + 1) & 1) != 0) {
          pp_Var5 = __ctype_tolower_loc();
          uVar10 = (*pp_Var5)[uVar10];
        }
        uVar13 = (uint)bVar12;
        if ((*(byte *)((int)puVar3 + uVar13 * 2 + 1) & 1) != 0) {
          pp_Var5 = __ctype_tolower_loc();
          uVar13 = (*pp_Var5)[uVar13];
        }
        pbVar9 = pbVar9 + 1;
        bVar7 = *pbVar9;
        pbVar8 = pbVar8 + 1;
        bVar1 = (bool)(bVar1 & uVar10 == uVar13);
        bVar12 = *pbVar8;
        if (bVar7 == 0) {
          pbVar9 = (byte *)0x0;
          if (bVar12 != 0) goto LAB_0002fe3b;
          break;
        }
      } while (bVar12 != 0);
      pbVar9 = param_1;
      if (!bVar1) {
        uVar13 = (int)pbVar8 - (int)param_2;
        uVar10 = uVar13 - 1;
        if (uVar13 < 0x20) {
          if (uVar13 < 3) {
            local_30 = 1;
            local_44 = uVar10;
          }
          else {
            local_44 = FUN_0002f5a0();
            local_30 = local_24;
          }
          iVar6 = strncasecmp((char *)param_2,(char *)(param_2 + local_30),local_44);
          if (iVar6 != 0) {
            local_54 = 0;
            uVar14 = uVar13 - local_44;
            if (uVar13 - local_44 < local_44) {
              uVar14 = local_44;
            }
LAB_000300a0:
            do {
              uVar11 = local_54 + uVar13;
              iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar11 - uVar10);
              if ((uVar11 == 0) || (iVar6 != 0)) goto LAB_00030058;
              uVar10 = uVar11;
              if (local_44 < uVar13) {
                puVar3 = *ppuVar4;
                uVar11 = local_44;
                do {
                  uVar15 = (uint)param_2[uVar11];
                  if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {
                    pp_Var5 = __ctype_tolower_loc();
                    uVar15 = (*pp_Var5)[uVar15];
                  }
                  uVar16 = (uint)param_1[uVar11 + 1 + local_54];
                  if ((*(byte *)((int)puVar3 + uVar16 * 2 + 1) & 1) != 0) {
                    pp_Var5 = __ctype_tolower_loc();
                    uVar16 = (*pp_Var5)[uVar16];
                  }
                  if (uVar15 != uVar16) {
                    if (uVar11 < uVar13) {
                      local_54 = local_54 + (1 - local_44) + uVar11;
                      goto LAB_000300a0;
                    }
                    break;
                  }
                  uVar11 = uVar11 + 1;
                } while (uVar11 < uVar13);
              }
              iVar6 = local_44 - 1;
              if (iVar6 == -1) {
LAB_00030230:
                pbVar9 = param_1 + local_54 + 1;
                goto LAB_0002fe3b;
              }
              puVar3 = *ppuVar4;
              while( true ) {
                uVar11 = (uint)param_2[iVar6];
                if ((*(byte *)((int)puVar3 + uVar11 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar11 = (*pp_Var5)[uVar11];
                }
                uVar15 = (uint)param_1[iVar6 + 1 + local_54];
                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar15 = (*pp_Var5)[uVar15];
                }
                if (uVar11 != uVar15) break;
                iVar6 = iVar6 + -1;
                if (iVar6 == -1) goto LAB_00030230;
              }
              local_54 = local_54 + uVar14 + 1;
            } while( true );
          }
          local_54 = 0;
          local_4c = 0;
LAB_0002fec8:
          do {
            uVar14 = uVar13 + local_4c;
            iVar6 = FUN_000213e0(param_1 + uVar10 + 1,0,uVar14 - uVar10);
            if ((uVar14 == 0) || (iVar6 != 0)) goto LAB_00030058;
            uVar11 = local_54;
            if (local_54 <= local_44) {
              uVar11 = local_44;
            }
            uVar10 = uVar14;
            if (uVar11 < uVar13) {
              puVar3 = *ppuVar4;
              do {
                uVar14 = (uint)param_2[uVar11];
                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar14 = (*pp_Var5)[uVar14];
                }
                uVar15 = (uint)param_1[uVar11 + 1 + local_4c];
                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar15 = (*pp_Var5)[uVar15];
                }
                if (uVar14 != uVar15) {
                  if (uVar11 < uVar13) {
                    local_54 = 0;
                    local_4c = local_4c + (1 - local_44) + uVar11;
                    goto LAB_0002fec8;
                  }
                  break;
                }
                uVar11 = uVar11 + 1;
              } while (uVar13 != uVar11);
            }
            if (local_54 < local_44) {
              puVar3 = *ppuVar4;
              local_58 = local_44;
              do {
                uVar11 = local_58 - 1;
                uVar14 = (uint)param_2[uVar11];
                if ((*(byte *)((int)puVar3 + uVar14 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar14 = (*pp_Var5)[uVar14];
                }
                uVar15 = (uint)param_1[local_58 + local_4c];
                if ((*(byte *)((int)puVar3 + uVar15 * 2 + 1) & 1) != 0) {
                  pp_Var5 = __ctype_tolower_loc();
                  uVar15 = (*pp_Var5)[uVar15];
                }
                if (uVar14 != uVar15) goto LAB_0003002d;
                local_58 = uVar11;
              } while (local_54 != uVar11);
              local_58 = local_54;
            }
            else {
              local_58 = local_44;
            }
LAB_0003002d:
            if (local_58 < local_54 + 1) {
              pbVar9 = param_1 + local_4c + 1;
              goto LAB_0002fe3b;
            }
            local_4c = local_4c + local_30;
            local_54 = uVar13 - local_30;
          } while( true );
        }
        pbVar9 = (byte *)FUN_0002f7f0(uVar13);
      }
    }
  }
LAB_0002fe3b:
  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00031620();
  }
  return pbVar9;
LAB_00030058:
  pbVar9 = (byte *)0x0;
  goto LAB_0002fe3b;
}

