
/* DWARF original prototype: uint sessionChangeHash(SessionTable * pTab, int bPkOnly, u8 * aRecord,
   int nBucket, SessionTable * pTab) */

uint __regparm3
sessionChangeHash(SessionTable *pTab,int bPkOnly,u8 *aRecord,int nBucket,SessionTable *pTab_1)

{
  uint uVar1;
  byte bVar2;
  int iVar3;
  byte *pbVar4;
  int iVar5;
  uint uVar6;
  uint uVar7;
  int in_GS_OFFSET;
  SessionTable *local_44;
  int n;
  int local_20;
  
  local_44 = pTab->pNext;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((int)local_44 < 1) {
    uVar6 = 0;
  }
  else {
    uVar6 = 0;
    iVar5 = 0;
    do {
      while ((*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0))) {
LAB_00047956:
        iVar5 = iVar5 + 1;
        if ((int)local_44 <= iVar5) goto LAB_0004799c;
      }
      if (*(char *)(*(int *)bPkOnly + iVar5) != '\0') {
        uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;
        if (*(byte *)nBucket - 1 < 2) {
          uVar7 = *(uint *)(nBucket + 1);
          uVar1 = *(uint *)(nBucket + 5);
          nBucket = nBucket + 9;
          uVar6 = uVar6 ^ uVar6 * 8 ^
                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);
          uVar6 = uVar6 * 8 ^
                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)
                  ^ uVar6;
        }
        else {
          if ((char)*(byte *)(nBucket + 1) < '\0') {
            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);
            local_44 = pTab->pNext;
            pbVar4 = (byte *)(nBucket + 1) + bVar2;
            uVar7 = n;
            if (n < 1) goto LAB_00047a2a;
          }
          else {
            uVar7 = (uint)*(byte *)(nBucket + 1);
            pbVar4 = (byte *)(nBucket + 2);
            if (uVar7 == 0) {
LAB_00047a2a:
              nBucket = (int)(pbVar4 + uVar7);
              goto LAB_00047956;
            }
          }
          nBucket = (int)(pbVar4 + uVar7);
          do {
            bVar2 = *pbVar4;
            pbVar4 = pbVar4 + 1;
            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;
          } while (pbVar4 != (byte *)nBucket);
        }
        goto LAB_00047956;
      }
      iVar3 = sessionSerialLen((u8 *)nBucket);
      nBucket = nBucket + iVar3;
      iVar5 = iVar5 + 1;
      local_44 = pTab->pNext;
    } while (iVar5 < (int)local_44);
LAB_0004799c:
    uVar6 = uVar6 % (uint)pTab_1;
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return uVar6;
}



uint __regparm3 FUN_000478c0(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  byte *pbVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  int in_GS_OFFSET;
  int local_44;
  uint local_24;
  
  local_44 = *param_1;
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  if (local_44 < 1) {
    uVar7 = 0;
  }
  else {
    uVar7 = 0;
    iVar6 = 0;
    do {
      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {
LAB_00047956:
        iVar6 = iVar6 + 1;
        if (local_44 <= iVar6) goto LAB_0004799c;
      }
      if (*(char *)(*param_2 + iVar6) != '\0') {
        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;
        if (*param_4 - 1 < 2) {
          uVar8 = *(uint *)(param_4 + 1);
          uVar3 = *(uint *)(param_4 + 5);
          param_4 = param_4 + 9;
          uVar7 = uVar7 ^ uVar7 * 8 ^
                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
          uVar7 = uVar7 * 8 ^
                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)
                  ^ uVar7;
        }
        else {
          if ((char)param_4[1] < '\0') {
            uVar8 = FUN_00044cf0();
            local_44 = *param_1;
            pbVar5 = param_4 + (uVar8 & 0xff) + 1;
            uVar8 = local_24;
            if ((int)local_24 < 1) goto LAB_00047a2a;
          }
          else {
            uVar8 = (uint)param_4[1];
            pbVar5 = param_4 + 2;
            if (uVar8 == 0) {
LAB_00047a2a:
              param_4 = pbVar5 + uVar8;
              goto LAB_00047956;
            }
          }
          param_4 = pbVar5 + uVar8;
          do {
            bVar1 = *pbVar5;
            pbVar5 = pbVar5 + 1;
            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;
          } while (pbVar5 != param_4);
        }
        goto LAB_00047956;
      }
      iVar4 = FUN_00047830();
      param_4 = param_4 + iVar4;
      iVar6 = iVar6 + 1;
      local_44 = *param_1;
    } while (iVar6 < local_44);
LAB_0004799c:
    uVar7 = uVar7 % param_5;
  }
  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00153870();
  }
  return uVar7;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x3c
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EDX
MOV EBP,dword ptr [ESP + 0x50]
MOV EDI,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x2c],EDI
XOR EDI,EDI
MOV dword ptr [ESP + 0x8],EAX
TEST EAX,EAX
JLE 0x00047a31
MOV EAX,ECX
XOR EBX,EBX
XOR ECX,ECX
AND EAX,0x1
MOV byte ptr [ESP + 0x13],AL
LEA EAX,[ESP + 0x28]
MOV dword ptr [ESP + 0x1c],EAX
JMP 0x0004795f
MOVZX EDX,byte ptr [EBP]
LEA EAX,[EBX*0x8 + 0x0]
XOR EBX,EAX
MOVZX EAX,byte ptr [EBP + 0x1]
XOR EBX,EDX
SUB EDX,0x1
CMP EDX,0x1
JA 0x000479c0
MOV ESI,dword ptr [EBP + 0x1]
MOV EAX,dword ptr [EBP + 0x5]
XOR EDX,EDX
BSWAP ESI
MOV EDI,ESI
XOR ESI,ESI
BSWAP EAX
ADD EAX,ESI
LEA ESI,[EBX*0x8 + 0x0]
ADC EDX,EDI
XOR EBX,ESI
ADD EBP,0x9
MOV ESI,EBX
XOR ESI,EAX
LEA EBX,[ESI*0x8 + 0x0]
XOR EBX,EDX
XOR EBX,ESI
ADD ECX,0x1
CMP ECX,dword ptr [ESP + 0x8]
JGE 0x0004799c
MOV EAX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX]
MOVZX EAX,byte ptr [EAX + ECX*0x1]
TEST EAX,EAX
JNZ 0x00047974
CMP byte ptr [ESP + 0x13],0x0
JNZ 0x00047956
TEST EAX,EAX
JNZ 0x00047908
MOV EAX,EBP
MOV dword ptr [ESP + 0x14],ECX
CALL 0x00047830
MOV ECX,dword ptr [ESP + 0x14]
ADD EBP,EAX
MOV EAX,dword ptr [ESP + 0x18]
ADD ECX,0x1
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x8],EAX
CMP ECX,dword ptr [ESP + 0x8]
JL 0x0004795f
MOV EAX,EBX
XOR EDX,EDX
DIV dword ptr [ESP + 0x54]
MOV EDI,dword ptr [ESP + 0x2c]
XOR EDI,dword ptr GS:[0x14]
MOV EAX,EDX
JNZ 0x00047a38
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA ESI,[EBP + 0x1]
TEST AL,AL
JS 0x00047a00
MOVZX EBP,AL
MOV EAX,0x1
ADD EAX,ESI
TEST EBP,EBP
JLE 0x00047a2a
ADD EBP,EAX
LEA ESI,[ESI]
NOP
MOVZX ESI,byte ptr [EAX]
LEA EDX,[EBX*0x8 + 0x0]
ADD EAX,0x1
XOR EDX,ESI
XOR EBX,EDX
CMP EAX,EBP
JNZ 0x000479e0
JMP 0x00047956
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,ESI
MOV dword ptr [ESP + 0x14],ECX
CALL 0x00044cf0
MOV EDI,dword ptr [ESP + 0x18]
MOV EBP,dword ptr [ESP + 0x28]
MOVZX EAX,AL
MOV ECX,dword ptr [ESP + 0x14]
MOV EDI,dword ptr [EDI]
ADD EAX,ESI
MOV dword ptr [ESP + 0x8],EDI
TEST EBP,EBP
JG 0x000479d5
ADD EBP,EAX
JMP 0x00047956
XOR EDX,EDX
JMP 0x000479a4
CALL 0x00153870
(translation_unit "uint __regparm3 FUN_000478c0(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int in_GS_OFFSET;\n  int local_44;\n  uint local_24;\n  \n  local_44 = *param_1;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (local_44 < 1) {\n    uVar7 = 0;\n  }\n  else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00153870();\n  }\n  return uVar7;\n}\n\n" (function_definition "uint __regparm3 FUN_000478c0(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int in_GS_OFFSET;\n  int local_44;\n  uint local_24;\n  \n  local_44 = *param_1;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (local_44 < 1) {\n    uVar7 = 0;\n  }\n  else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00153870();\n  }\n  return uVar7;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000478c0(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)" identifier (parameter_list "(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte param_3" type_identifier identifier) , (parameter_declaration "byte *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "uint param_5" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int in_GS_OFFSET;\n  int local_44;\n  uint local_24;\n  \n  local_44 = *param_1;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (local_44 < 1) {\n    uVar7 = 0;\n  }\n  else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00153870();\n  }\n  return uVar7;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (expression_statement "local_44 = *param_1;" (assignment_expression "local_44 = *param_1" identifier = (pointer_expression "*param_1" * 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 (local_44 < 1) {\n    uVar7 = 0;\n  }\n  else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }" if (parenthesized_expression "(local_44 < 1)" ( (binary_expression "local_44 < 1" identifier < number_literal) )) (compound_statement "{\n    uVar7 = 0;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }" else (compound_statement "{\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);" do (compound_statement "{\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    }" { (while_statement "while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }" while (parenthesized_expression "((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0)))" ( (parenthesized_expression "(*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))" ( (binary_expression "*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0)" (binary_expression "*(char *)(*param_2 + iVar6) == '\0'" (pointer_expression "*(char *)(*param_2 + iVar6)" * (cast_expression "(char *)(*param_2 + iVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + iVar6)" ( (binary_expression "*param_2 + iVar6" (pointer_expression "*param_2" * identifier) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "((param_3 & 1) != 0)" ( (binary_expression "(param_3 & 1) != 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) != number_literal) ))) )) )) (compound_statement "{\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }" { (labeled_statement "LAB_00047956:\n        iVar6 = iVar6 + 1;" statement_identifier : (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;)) (if_statement "if (local_44 <= iVar6) goto LAB_0004799c;" if (parenthesized_expression "(local_44 <= iVar6)" ( (binary_expression "local_44 <= iVar6" identifier <= identifier) )) (goto_statement "goto LAB_0004799c;" goto statement_identifier ;)) })) (if_statement "if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }" if (parenthesized_expression "(*(char *)(*param_2 + iVar6) != '\0')" ( (binary_expression "*(char *)(*param_2 + iVar6) != '\0'" (pointer_expression "*(char *)(*param_2 + iVar6)" * (cast_expression "(char *)(*param_2 + iVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + iVar6)" ( (binary_expression "*param_2 + iVar6" (pointer_expression "*param_2" * identifier) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }" { (expression_statement "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;" (assignment_expression "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4" identifier = (binary_expression "uVar7 ^ uVar7 * 8 ^ (uint)*param_4" (binary_expression "uVar7 ^ uVar7 * 8" identifier ^ (binary_expression "uVar7 * 8" identifier * number_literal)) ^ (binary_expression "(uint)*param_4" (parenthesized_expression "(uint)" ( identifier )) * identifier))) ;) (if_statement "if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }" if (parenthesized_expression "(*param_4 - 1 < 2)" ( (binary_expression "*param_4 - 1 < 2" (binary_expression "*param_4 - 1" (pointer_expression "*param_4" * identifier) - number_literal) < number_literal) )) (compound_statement "{\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }" { (expression_statement "uVar8 = *(uint *)(param_4 + 1);" (assignment_expression "uVar8 = *(uint *)(param_4 + 1)" identifier = (pointer_expression "*(uint *)(param_4 + 1)" * (cast_expression "(uint *)(param_4 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 1)" ( (binary_expression "param_4 + 1" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)(param_4 + 5);" (assignment_expression "uVar3 = *(uint *)(param_4 + 5)" identifier = (pointer_expression "*(uint *)(param_4 + 5)" * (cast_expression "(uint *)(param_4 + 5)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 5)" ( (binary_expression "param_4 + 5" identifier + number_literal) ))))) ;) (expression_statement "param_4 = param_4 + 9;" (assignment_expression "param_4 = param_4 + 9" identifier = (binary_expression "param_4 + 9" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (assignment_expression "uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier = (binary_expression "uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (binary_expression "uVar7 ^ uVar7 * 8" identifier ^ (binary_expression "uVar7 * 8" identifier * number_literal)) ^ (parenthesized_expression "(uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;" (assignment_expression "uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7" identifier = (binary_expression "uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7" (binary_expression "uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)" (binary_expression "uVar7 * 8" identifier * number_literal) ^ (parenthesized_expression "(uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)" ( (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18" (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8" (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8" (binary_expression "uVar8 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar8 & 0xff0000) >> 8" (parenthesized_expression "(uVar8 & 0xff0000)" ( (binary_expression "uVar8 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar8 & 0xff00) << 8" (parenthesized_expression "(uVar8 & 0xff00)" ( (binary_expression "uVar8 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar8 << 0x18" identifier << number_literal)) ))) ^ identifier)) ;) }) (else_clause "else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }" else (compound_statement "{\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }" { (if_statement "if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }" if (parenthesized_expression "((char)param_4[1] < '\0')" ( (binary_expression "(char)param_4[1] < '\0'" (cast_expression "(char)param_4[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_4[1]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }" { (expression_statement "uVar8 = FUN_00044cf0();" (assignment_expression "uVar8 = FUN_00044cf0()" identifier = (call_expression "FUN_00044cf0()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_44 = *param_1;" (assignment_expression "local_44 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar5 = param_4 + (uVar8 & 0xff) + 1;" (assignment_expression "pbVar5 = param_4 + (uVar8 & 0xff) + 1" identifier = (binary_expression "param_4 + (uVar8 & 0xff) + 1" (binary_expression "param_4 + (uVar8 & 0xff)" identifier + (parenthesized_expression "(uVar8 & 0xff)" ( (binary_expression "uVar8 & 0xff" identifier & number_literal) ))) + number_literal)) ;) (expression_statement "uVar8 = local_24;" (assignment_expression "uVar8 = local_24" identifier = identifier) ;) (if_statement "if ((int)local_24 < 1) goto LAB_00047a2a;" if (parenthesized_expression "((int)local_24 < 1)" ( (binary_expression "(int)local_24 < 1" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_00047a2a;" goto statement_identifier ;)) }) (else_clause "else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }" else (compound_statement "{\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }" { (expression_statement "uVar8 = (uint)param_4[1];" (assignment_expression "uVar8 = (uint)param_4[1]" identifier = (cast_expression "(uint)param_4[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[1]" identifier [ number_literal ]))) ;) (expression_statement "pbVar5 = param_4 + 2;" (assignment_expression "pbVar5 = param_4 + 2" identifier = (binary_expression "param_4 + 2" identifier + number_literal)) ;) (if_statement "if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }" { (labeled_statement "LAB_00047a2a:\n              param_4 = pbVar5 + uVar8;" statement_identifier : (expression_statement "param_4 = pbVar5 + uVar8;" (assignment_expression "param_4 = pbVar5 + uVar8" identifier = (binary_expression "pbVar5 + uVar8" identifier + identifier)) ;)) (goto_statement "goto LAB_00047956;" goto statement_identifier ;) })) }))) (expression_statement "param_4 = pbVar5 + uVar8;" (assignment_expression "param_4 = pbVar5 + uVar8" identifier = (binary_expression "pbVar5 + uVar8" identifier + identifier)) ;) (do_statement "do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);" do (compound_statement "{\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          }" { (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;" (assignment_expression "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1" identifier = (binary_expression "uVar7 ^ uVar7 * 8 ^ (uint)bVar1" (binary_expression "uVar7 ^ uVar7 * 8" identifier ^ (binary_expression "uVar7 * 8" identifier * number_literal)) ^ (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) while (parenthesized_expression "(pbVar5 != param_4)" ( (binary_expression "pbVar5 != param_4" identifier != identifier) )) ;) }))) (goto_statement "goto LAB_00047956;" goto statement_identifier ;) })) (expression_statement "iVar4 = FUN_00047830();" (assignment_expression "iVar4 = FUN_00047830()" identifier = (call_expression "FUN_00047830()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_4 = param_4 + iVar4;" (assignment_expression "param_4 = param_4 + iVar4" identifier = (binary_expression "param_4 + iVar4" identifier + identifier)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "local_44 = *param_1;" (assignment_expression "local_44 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }) while (parenthesized_expression "(iVar6 < local_44)" ( (binary_expression "iVar6 < local_44" identifier < identifier) )) ;) (labeled_statement "LAB_0004799c:\n    uVar7 = uVar7 % param_5;" statement_identifier : (expression_statement "uVar7 = uVar7 % param_5;" (assignment_expression "uVar7 = uVar7 % param_5" identifier = (binary_expression "uVar7 % param_5" identifier % identifier)) ;)) }))) (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00153870();\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_00153870();\n  }" { comment (expression_statement "FUN_00153870();" (call_expression "FUN_00153870()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar7;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: uint sessionChangeHash(SessionTable * pTab, int bPkOnly, u8 * aRecord,\n   int nBucket, SessionTable * pTab) */\n\nuint __regparm3\nsessionChangeHash(SessionTable *pTab,int bPkOnly,u8 *aRecord,int nBucket,SessionTable *pTab_1)\n\n{\n  uint uVar1;\n  byte bVar2;\n  int iVar3;\n  byte *pbVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  SessionTable *local_44;\n  int n;\n  int local_20;\n  \n  local_44 = pTab->pNext;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((int)local_44 < 1) {\n    uVar6 = 0;\n  }\n  else {\n    uVar6 = 0;\n    iVar5 = 0;\n    do {\n      while ((*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0))) {\nLAB_00047956:\n        iVar5 = iVar5 + 1;\n        if ((int)local_44 <= iVar5) goto LAB_0004799c;\n      }\n      if (*(char *)(*(int *)bPkOnly + iVar5) != '\0') {\n        uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;\n        if (*(byte *)nBucket - 1 < 2) {\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }\n        else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }\n        goto LAB_00047956;\n      }\n      iVar3 = sessionSerialLen((u8 *)nBucket);\n      nBucket = nBucket + iVar3;\n      iVar5 = iVar5 + 1;\n      local_44 = pTab->pNext;\n    } while (iVar5 < (int)local_44);\nLAB_0004799c:\n    uVar6 = uVar6 % (uint)pTab_1;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return uVar6;\n}\n\n" comment (function_definition "uint __regparm3\nsessionChangeHash(SessionTable *pTab,int bPkOnly,u8 *aRecord,int nBucket,SessionTable *pTab_1)\n\n{\n  uint uVar1;\n  byte bVar2;\n  int iVar3;\n  byte *pbVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  SessionTable *local_44;\n  int n;\n  int local_20;\n  \n  local_44 = pTab->pNext;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((int)local_44 < 1) {\n    uVar6 = 0;\n  }\n  else {\n    uVar6 = 0;\n    iVar5 = 0;\n    do {\n      while ((*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0))) {\nLAB_00047956:\n        iVar5 = iVar5 + 1;\n        if ((int)local_44 <= iVar5) goto LAB_0004799c;\n      }\n      if (*(char *)(*(int *)bPkOnly + iVar5) != '\0') {\n        uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;\n        if (*(byte *)nBucket - 1 < 2) {\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }\n        else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }\n        goto LAB_00047956;\n      }\n      iVar3 = sessionSerialLen((u8 *)nBucket);\n      nBucket = nBucket + iVar3;\n      iVar5 = iVar5 + 1;\n      local_44 = pTab->pNext;\n    } while (iVar5 < (int)local_44);\nLAB_0004799c:\n    uVar6 = uVar6 % (uint)pTab_1;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return uVar6;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "sessionChangeHash(SessionTable *pTab,int bPkOnly,u8 *aRecord,int nBucket,SessionTable *pTab_1)" identifier (parameter_list "(SessionTable *pTab,int bPkOnly,u8 *aRecord,int nBucket,SessionTable *pTab_1)" ( (parameter_declaration "SessionTable *pTab" type_identifier (pointer_declarator "*pTab" * identifier)) , (parameter_declaration "int bPkOnly" primitive_type identifier) , (parameter_declaration "u8 *aRecord" type_identifier (pointer_declarator "*aRecord" * identifier)) , (parameter_declaration "int nBucket" primitive_type identifier) , (parameter_declaration "SessionTable *pTab_1" type_identifier (pointer_declarator "*pTab_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  byte bVar2;\n  int iVar3;\n  byte *pbVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  SessionTable *local_44;\n  int n;\n  int local_20;\n  \n  local_44 = pTab->pNext;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((int)local_44 < 1) {\n    uVar6 = 0;\n  }\n  else {\n    uVar6 = 0;\n    iVar5 = 0;\n    do {\n      while ((*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0))) {\nLAB_00047956:\n        iVar5 = iVar5 + 1;\n        if ((int)local_44 <= iVar5) goto LAB_0004799c;\n      }\n      if (*(char *)(*(int *)bPkOnly + iVar5) != '\0') {\n        uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;\n        if (*(byte *)nBucket - 1 < 2) {\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }\n        else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }\n        goto LAB_00047956;\n      }\n      iVar3 = sessionSerialLen((u8 *)nBucket);\n      nBucket = nBucket + iVar3;\n      iVar5 = iVar5 + 1;\n      local_44 = pTab->pNext;\n    } while (iVar5 < (int)local_44);\nLAB_0004799c:\n    uVar6 = uVar6 % (uint)pTab_1;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return uVar6;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "SessionTable *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "int n;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "local_44 = pTab->pNext;" (assignment_expression "local_44 = pTab->pNext" identifier = (field_expression "pTab->pNext" identifier -> field_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 ((int)local_44 < 1) {\n    uVar6 = 0;\n  }\n  else {\n    uVar6 = 0;\n    iVar5 = 0;\n    do {\n      while ((*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0))) {\nLAB_00047956:\n        iVar5 = iVar5 + 1;\n        if ((int)local_44 <= iVar5) goto LAB_0004799c;\n      }\n      if (*(char *)(*(int *)bPkOnly + iVar5) != '\0') {\n        uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;\n        if (*(byte *)nBucket - 1 < 2) {\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }\n        else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }\n        goto LAB_00047956;\n      }\n      iVar3 = sessionSerialLen((u8 *)nBucket);\n      nBucket = nBucket + iVar3;\n      iVar5 = iVar5 + 1;\n      local_44 = pTab->pNext;\n    } while (iVar5 < (int)local_44);\nLAB_0004799c:\n    uVar6 = uVar6 % (uint)pTab_1;\n  }" if (parenthesized_expression "((int)local_44 < 1)" ( (binary_expression "(int)local_44 < 1" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    uVar6 = 0;\n  }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar6 = 0;\n    iVar5 = 0;\n    do {\n      while ((*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0))) {\nLAB_00047956:\n        iVar5 = iVar5 + 1;\n        if ((int)local_44 <= iVar5) goto LAB_0004799c;\n      }\n      if (*(char *)(*(int *)bPkOnly + iVar5) != '\0') {\n        uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;\n        if (*(byte *)nBucket - 1 < 2) {\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }\n        else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }\n        goto LAB_00047956;\n      }\n      iVar3 = sessionSerialLen((u8 *)nBucket);\n      nBucket = nBucket + iVar3;\n      iVar5 = iVar5 + 1;\n      local_44 = pTab->pNext;\n    } while (iVar5 < (int)local_44);\nLAB_0004799c:\n    uVar6 = uVar6 % (uint)pTab_1;\n  }" else (compound_statement "{\n    uVar6 = 0;\n    iVar5 = 0;\n    do {\n      while ((*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0))) {\nLAB_00047956:\n        iVar5 = iVar5 + 1;\n        if ((int)local_44 <= iVar5) goto LAB_0004799c;\n      }\n      if (*(char *)(*(int *)bPkOnly + iVar5) != '\0') {\n        uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;\n        if (*(byte *)nBucket - 1 < 2) {\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }\n        else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }\n        goto LAB_00047956;\n      }\n      iVar3 = sessionSerialLen((u8 *)nBucket);\n      nBucket = nBucket + iVar3;\n      iVar5 = iVar5 + 1;\n      local_44 = pTab->pNext;\n    } while (iVar5 < (int)local_44);\nLAB_0004799c:\n    uVar6 = uVar6 % (uint)pTab_1;\n  }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      while ((*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0))) {\nLAB_00047956:\n        iVar5 = iVar5 + 1;\n        if ((int)local_44 <= iVar5) goto LAB_0004799c;\n      }\n      if (*(char *)(*(int *)bPkOnly + iVar5) != '\0') {\n        uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;\n        if (*(byte *)nBucket - 1 < 2) {\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }\n        else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }\n        goto LAB_00047956;\n      }\n      iVar3 = sessionSerialLen((u8 *)nBucket);\n      nBucket = nBucket + iVar3;\n      iVar5 = iVar5 + 1;\n      local_44 = pTab->pNext;\n    } while (iVar5 < (int)local_44);" do (compound_statement "{\n      while ((*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0))) {\nLAB_00047956:\n        iVar5 = iVar5 + 1;\n        if ((int)local_44 <= iVar5) goto LAB_0004799c;\n      }\n      if (*(char *)(*(int *)bPkOnly + iVar5) != '\0') {\n        uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;\n        if (*(byte *)nBucket - 1 < 2) {\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }\n        else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }\n        goto LAB_00047956;\n      }\n      iVar3 = sessionSerialLen((u8 *)nBucket);\n      nBucket = nBucket + iVar3;\n      iVar5 = iVar5 + 1;\n      local_44 = pTab->pNext;\n    }" { (while_statement "while ((*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0))) {\nLAB_00047956:\n        iVar5 = iVar5 + 1;\n        if ((int)local_44 <= iVar5) goto LAB_0004799c;\n      }" while (parenthesized_expression "((*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0)))" ( (parenthesized_expression "(*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0))" ( (binary_expression "*(char *)(*(int *)bPkOnly + iVar5) == '\0' && (((uint)aRecord & 1) != 0)" (binary_expression "*(char *)(*(int *)bPkOnly + iVar5) == '\0'" (pointer_expression "*(char *)(*(int *)bPkOnly + iVar5)" * (cast_expression "(char *)(*(int *)bPkOnly + iVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)bPkOnly + iVar5)" ( (binary_expression "*(int *)bPkOnly + iVar5" (pointer_expression "*(int *)bPkOnly" * (cast_expression "(int *)bPkOnly" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(((uint)aRecord & 1) != 0)" ( (binary_expression "((uint)aRecord & 1) != 0" (parenthesized_expression "((uint)aRecord & 1)" ( (binary_expression "(uint)aRecord & 1" (cast_expression "(uint)aRecord" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) ))) )) )) (compound_statement "{\nLAB_00047956:\n        iVar5 = iVar5 + 1;\n        if ((int)local_44 <= iVar5) goto LAB_0004799c;\n      }" { (labeled_statement "LAB_00047956:\n        iVar5 = iVar5 + 1;" statement_identifier : (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;)) (if_statement "if ((int)local_44 <= iVar5) goto LAB_0004799c;" if (parenthesized_expression "((int)local_44 <= iVar5)" ( (binary_expression "(int)local_44 <= iVar5" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (goto_statement "goto LAB_0004799c;" goto statement_identifier ;)) })) (if_statement "if (*(char *)(*(int *)bPkOnly + iVar5) != '\0') {\n        uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;\n        if (*(byte *)nBucket - 1 < 2) {\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }\n        else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }\n        goto LAB_00047956;\n      }" if (parenthesized_expression "(*(char *)(*(int *)bPkOnly + iVar5) != '\0')" ( (binary_expression "*(char *)(*(int *)bPkOnly + iVar5) != '\0'" (pointer_expression "*(char *)(*(int *)bPkOnly + iVar5)" * (cast_expression "(char *)(*(int *)bPkOnly + iVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)bPkOnly + iVar5)" ( (binary_expression "*(int *)bPkOnly + iVar5" (pointer_expression "*(int *)bPkOnly" * (cast_expression "(int *)bPkOnly" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;\n        if (*(byte *)nBucket - 1 < 2) {\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }\n        else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }\n        goto LAB_00047956;\n      }" { (expression_statement "uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket;" (assignment_expression "uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket" identifier = (binary_expression "uVar6 ^ uVar6 * 8 ^ (uint)*(byte *)nBucket" (binary_expression "uVar6 ^ uVar6 * 8" identifier ^ (binary_expression "uVar6 * 8" identifier * number_literal)) ^ (binary_expression "(uint)*(byte *)nBucket" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)nBucket" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)))) ;) (if_statement "if (*(byte *)nBucket - 1 < 2) {\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }\n        else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }" if (parenthesized_expression "(*(byte *)nBucket - 1 < 2)" ( (binary_expression "*(byte *)nBucket - 1 < 2" (binary_expression "*(byte *)nBucket - 1" (pointer_expression "*(byte *)nBucket" * (cast_expression "(byte *)nBucket" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) - number_literal) < number_literal) )) (compound_statement "{\n          uVar7 = *(uint *)(nBucket + 1);\n          uVar1 = *(uint *)(nBucket + 5);\n          nBucket = nBucket + 9;\n          uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n          uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;\n        }" { (expression_statement "uVar7 = *(uint *)(nBucket + 1);" (assignment_expression "uVar7 = *(uint *)(nBucket + 1)" identifier = (pointer_expression "*(uint *)(nBucket + 1)" * (cast_expression "(uint *)(nBucket + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(nBucket + 1)" ( (binary_expression "nBucket + 1" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(nBucket + 5);" (assignment_expression "uVar1 = *(uint *)(nBucket + 5)" identifier = (pointer_expression "*(uint *)(nBucket + 5)" * (cast_expression "(uint *)(nBucket + 5)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(nBucket + 5)" ( (binary_expression "nBucket + 5" identifier + number_literal) ))))) ;) (expression_statement "nBucket = nBucket + 9;" (assignment_expression "nBucket = nBucket + 9" identifier = (binary_expression "nBucket + 9" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);" (assignment_expression "uVar6 = uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" identifier = (binary_expression "uVar6 ^ uVar6 * 8 ^\n                  (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (binary_expression "uVar6 ^ uVar6 * 8" identifier ^ (binary_expression "uVar6 * 8" identifier * number_literal)) ^ (parenthesized_expression "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6;" (assignment_expression "uVar6 = uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6" identifier = (binary_expression "uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)\n                  ^ uVar6" (binary_expression "uVar6 * 8 ^\n                  (uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)" (binary_expression "uVar6 * 8" identifier * number_literal) ^ (parenthesized_expression "(uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18)" ( (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8" (binary_expression "uVar7 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar7 & 0xff0000) >> 8" (parenthesized_expression "(uVar7 & 0xff0000)" ( (binary_expression "uVar7 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar7 & 0xff00) << 8" (parenthesized_expression "(uVar7 & 0xff00)" ( (binary_expression "uVar7 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar7 << 0x18" identifier << number_literal)) ))) ^ identifier)) ;) }) (else_clause "else {\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }" else (compound_statement "{\n          if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }\n          nBucket = (int)(pbVar4 + uVar7);\n          do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);\n        }" { (if_statement "if ((char)*(byte *)(nBucket + 1) < '\0') {\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }" if (parenthesized_expression "((char)*(byte *)(nBucket + 1) < '\0')" ( (binary_expression "(char)*(byte *)(nBucket + 1) < '\0'" (cast_expression "(char)*(byte *)(nBucket + 1)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(byte *)(nBucket + 1)" * (cast_expression "(byte *)(nBucket + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(nBucket + 1)" ( (binary_expression "nBucket + 1" identifier + number_literal) ))))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);\n            local_44 = pTab->pNext;\n            pbVar4 = (byte *)(nBucket + 1) + bVar2;\n            uVar7 = n;\n            if (n < 1) goto LAB_00047a2a;\n          }" { (expression_statement "bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n);" (assignment_expression "bVar2 = sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n)" identifier = (call_expression "sqlite3GetVarint32((byte *)(nBucket + 1),(u32 *)&n)" identifier (argument_list "((byte *)(nBucket + 1),(u32 *)&n)" ( (cast_expression "(byte *)(nBucket + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(nBucket + 1)" ( (binary_expression "nBucket + 1" identifier + number_literal) ))) , (cast_expression "(u32 *)&n" ( (type_descriptor "u32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&n" & identifier)) )))) ;) (expression_statement "local_44 = pTab->pNext;" (assignment_expression "local_44 = pTab->pNext" identifier = (field_expression "pTab->pNext" identifier -> field_identifier)) ;) (expression_statement "pbVar4 = (byte *)(nBucket + 1) + bVar2;" (assignment_expression "pbVar4 = (byte *)(nBucket + 1) + bVar2" identifier = (binary_expression "(byte *)(nBucket + 1) + bVar2" (cast_expression "(byte *)(nBucket + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(nBucket + 1)" ( (binary_expression "nBucket + 1" identifier + number_literal) ))) + identifier)) ;) (expression_statement "uVar7 = n;" (assignment_expression "uVar7 = n" identifier = identifier) ;) (if_statement "if (n < 1) goto LAB_00047a2a;" if (parenthesized_expression "(n < 1)" ( (binary_expression "n < 1" identifier < number_literal) )) (goto_statement "goto LAB_00047a2a;" goto statement_identifier ;)) }) (else_clause "else {\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }" else (compound_statement "{\n            uVar7 = (uint)*(byte *)(nBucket + 1);\n            pbVar4 = (byte *)(nBucket + 2);\n            if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }\n          }" { (expression_statement "uVar7 = (uint)*(byte *)(nBucket + 1);" (assignment_expression "uVar7 = (uint)*(byte *)(nBucket + 1)" identifier = (binary_expression "(uint)*(byte *)(nBucket + 1)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(nBucket + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(nBucket + 1)" ( (binary_expression "nBucket + 1" identifier + number_literal) ))))) ;) (expression_statement "pbVar4 = (byte *)(nBucket + 2);" (assignment_expression "pbVar4 = (byte *)(nBucket + 2)" identifier = (cast_expression "(byte *)(nBucket + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(nBucket + 2)" ( (binary_expression "nBucket + 2" identifier + number_literal) )))) ;) (if_statement "if (uVar7 == 0) {\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);\n              goto LAB_00047956;\n            }" { (labeled_statement "LAB_00047a2a:\n              nBucket = (int)(pbVar4 + uVar7);" statement_identifier : (expression_statement "nBucket = (int)(pbVar4 + uVar7);" (assignment_expression "nBucket = (int)(pbVar4 + uVar7)" identifier = (cast_expression "(int)(pbVar4 + uVar7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar4 + uVar7)" ( (binary_expression "pbVar4 + uVar7" identifier + identifier) )))) ;)) (goto_statement "goto LAB_00047956;" goto statement_identifier ;) })) }))) (expression_statement "nBucket = (int)(pbVar4 + uVar7);" (assignment_expression "nBucket = (int)(pbVar4 + uVar7)" identifier = (cast_expression "(int)(pbVar4 + uVar7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar4 + uVar7)" ( (binary_expression "pbVar4 + uVar7" identifier + identifier) )))) ;) (do_statement "do {\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          } while (pbVar4 != (byte *)nBucket);" do (compound_statement "{\n            bVar2 = *pbVar4;\n            pbVar4 = pbVar4 + 1;\n            uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;\n          }" { (expression_statement "bVar2 = *pbVar4;" (assignment_expression "bVar2 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2;" (assignment_expression "uVar6 = uVar6 ^ uVar6 * 8 ^ (uint)bVar2" identifier = (binary_expression "uVar6 ^ uVar6 * 8 ^ (uint)bVar2" (binary_expression "uVar6 ^ uVar6 * 8" identifier ^ (binary_expression "uVar6 * 8" identifier * number_literal)) ^ (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) while (parenthesized_expression "(pbVar4 != (byte *)nBucket)" ( (binary_expression "pbVar4 != (byte *)nBucket" identifier != (cast_expression "(byte *)nBucket" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) ;) }))) (goto_statement "goto LAB_00047956;" goto statement_identifier ;) })) (expression_statement "iVar3 = sessionSerialLen((u8 *)nBucket);" (assignment_expression "iVar3 = sessionSerialLen((u8 *)nBucket)" identifier = (call_expression "sessionSerialLen((u8 *)nBucket)" identifier (argument_list "((u8 *)nBucket)" ( (cast_expression "(u8 *)nBucket" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "nBucket = nBucket + iVar3;" (assignment_expression "nBucket = nBucket + iVar3" identifier = (binary_expression "nBucket + iVar3" identifier + identifier)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "local_44 = pTab->pNext;" (assignment_expression "local_44 = pTab->pNext" identifier = (field_expression "pTab->pNext" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(iVar5 < (int)local_44)" ( (binary_expression "iVar5 < (int)local_44" identifier < (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (labeled_statement "LAB_0004799c:\n    uVar6 = uVar6 % (uint)pTab_1;" statement_identifier : (expression_statement "uVar6 = uVar6 % (uint)pTab_1;" (assignment_expression "uVar6 = uVar6 % (uint)pTab_1" identifier = (binary_expression "uVar6 % (uint)pTab_1" identifier % (cast_expression "(uint)pTab_1" ( (type_descriptor "uint" type_identifier) ) 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 uVar6;" return identifier ;) })))
(translation_unit "uint __regparm3 FUN_000478c0(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int in_GS_OFFSET;\n  int local_44;\n  uint local_24;\n  \n  local_44 = *param_1;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (local_44 < 1) {\n    uVar7 = 0;\n  }\n  else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00153870();\n  }\n  return uVar7;\n}\n\n" (function_definition "uint __regparm3 FUN_000478c0(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int in_GS_OFFSET;\n  int local_44;\n  uint local_24;\n  \n  local_44 = *param_1;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (local_44 < 1) {\n    uVar7 = 0;\n  }\n  else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00153870();\n  }\n  return uVar7;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000478c0(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)" identifier (parameter_list "(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte param_3" type_identifier identifier) , (parameter_declaration "byte *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "uint param_5" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int in_GS_OFFSET;\n  int local_44;\n  uint local_24;\n  \n  local_44 = *param_1;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (local_44 < 1) {\n    uVar7 = 0;\n  }\n  else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00153870();\n  }\n  return uVar7;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (expression_statement "local_44 = *param_1;" (assignment_expression "local_44 = *param_1" identifier = (pointer_expression "*param_1" * 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 (local_44 < 1) {\n    uVar7 = 0;\n  }\n  else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }" if (parenthesized_expression "(local_44 < 1)" ( (binary_expression "local_44 < 1" identifier < number_literal) )) (compound_statement "{\n    uVar7 = 0;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }" else (compound_statement "{\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);" do (compound_statement "{\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    }" { (while_statement "while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }" while (parenthesized_expression "((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0)))" ( (parenthesized_expression "(*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))" ( (binary_expression "*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0)" (binary_expression "*(char *)(*param_2 + iVar6) == '\0'" (pointer_expression "*(char *)(*param_2 + iVar6)" * (cast_expression "(char *)(*param_2 + iVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + iVar6)" ( (binary_expression "*param_2 + iVar6" (pointer_expression "*param_2" * identifier) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "((param_3 & 1) != 0)" ( (binary_expression "(param_3 & 1) != 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) != number_literal) ))) )) )) (compound_statement "{\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }" { (labeled_statement "LAB_00047956:\n        iVar6 = iVar6 + 1;" statement_identifier : (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;)) (if_statement "if (local_44 <= iVar6) goto LAB_0004799c;" if (parenthesized_expression "(local_44 <= iVar6)" ( (binary_expression "local_44 <= iVar6" identifier <= identifier) )) (goto_statement "goto LAB_0004799c;" goto statement_identifier ;)) })) (if_statement "if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }" if (parenthesized_expression "(*(char *)(*param_2 + iVar6) != '\0')" ( (binary_expression "*(char *)(*param_2 + iVar6) != '\0'" (pointer_expression "*(char *)(*param_2 + iVar6)" * (cast_expression "(char *)(*param_2 + iVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + iVar6)" ( (binary_expression "*param_2 + iVar6" (pointer_expression "*param_2" * identifier) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }" { (expression_statement "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;" (assignment_expression "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4" identifier = (binary_expression "uVar7 ^ uVar7 * 8 ^ (uint)*param_4" (binary_expression "uVar7 ^ uVar7 * 8" identifier ^ (binary_expression "uVar7 * 8" identifier * number_literal)) ^ (binary_expression "(uint)*param_4" (parenthesized_expression "(uint)" ( identifier )) * identifier))) ;) (if_statement "if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }" if (parenthesized_expression "(*param_4 - 1 < 2)" ( (binary_expression "*param_4 - 1 < 2" (binary_expression "*param_4 - 1" (pointer_expression "*param_4" * identifier) - number_literal) < number_literal) )) (compound_statement "{\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }" { (expression_statement "uVar8 = *(uint *)(param_4 + 1);" (assignment_expression "uVar8 = *(uint *)(param_4 + 1)" identifier = (pointer_expression "*(uint *)(param_4 + 1)" * (cast_expression "(uint *)(param_4 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 1)" ( (binary_expression "param_4 + 1" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)(param_4 + 5);" (assignment_expression "uVar3 = *(uint *)(param_4 + 5)" identifier = (pointer_expression "*(uint *)(param_4 + 5)" * (cast_expression "(uint *)(param_4 + 5)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 5)" ( (binary_expression "param_4 + 5" identifier + number_literal) ))))) ;) (expression_statement "param_4 = param_4 + 9;" (assignment_expression "param_4 = param_4 + 9" identifier = (binary_expression "param_4 + 9" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (assignment_expression "uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" identifier = (binary_expression "uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (binary_expression "uVar7 ^ uVar7 * 8" identifier ^ (binary_expression "uVar7 * 8" identifier * number_literal)) ^ (parenthesized_expression "(uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" ( (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;" (assignment_expression "uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7" identifier = (binary_expression "uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7" (binary_expression "uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)" (binary_expression "uVar7 * 8" identifier * number_literal) ^ (parenthesized_expression "(uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)" ( (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18" (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8" (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8" (binary_expression "uVar8 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar8 & 0xff0000) >> 8" (parenthesized_expression "(uVar8 & 0xff0000)" ( (binary_expression "uVar8 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar8 & 0xff00) << 8" (parenthesized_expression "(uVar8 & 0xff00)" ( (binary_expression "uVar8 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar8 << 0x18" identifier << number_literal)) ))) ^ identifier)) ;) }) (else_clause "else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }" else (compound_statement "{\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }" { (if_statement "if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }" if (parenthesized_expression "((char)param_4[1] < '\0')" ( (binary_expression "(char)param_4[1] < '\0'" (cast_expression "(char)param_4[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_4[1]" identifier [ number_literal ])) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }" { (expression_statement "uVar8 = FUN_00044cf0();" (assignment_expression "uVar8 = FUN_00044cf0()" identifier = (call_expression "FUN_00044cf0()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_44 = *param_1;" (assignment_expression "local_44 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar5 = param_4 + (uVar8 & 0xff) + 1;" (assignment_expression "pbVar5 = param_4 + (uVar8 & 0xff) + 1" identifier = (binary_expression "param_4 + (uVar8 & 0xff) + 1" (binary_expression "param_4 + (uVar8 & 0xff)" identifier + (parenthesized_expression "(uVar8 & 0xff)" ( (binary_expression "uVar8 & 0xff" identifier & number_literal) ))) + number_literal)) ;) (expression_statement "uVar8 = local_24;" (assignment_expression "uVar8 = local_24" identifier = identifier) ;) (if_statement "if ((int)local_24 < 1) goto LAB_00047a2a;" if (parenthesized_expression "((int)local_24 < 1)" ( (binary_expression "(int)local_24 < 1" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_00047a2a;" goto statement_identifier ;)) }) (else_clause "else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }" else (compound_statement "{\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }" { (expression_statement "uVar8 = (uint)param_4[1];" (assignment_expression "uVar8 = (uint)param_4[1]" identifier = (cast_expression "(uint)param_4[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[1]" identifier [ number_literal ]))) ;) (expression_statement "pbVar5 = param_4 + 2;" (assignment_expression "pbVar5 = param_4 + 2" identifier = (binary_expression "param_4 + 2" identifier + number_literal)) ;) (if_statement "if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }" { (labeled_statement "LAB_00047a2a:\n              param_4 = pbVar5 + uVar8;" statement_identifier : (expression_statement "param_4 = pbVar5 + uVar8;" (assignment_expression "param_4 = pbVar5 + uVar8" identifier = (binary_expression "pbVar5 + uVar8" identifier + identifier)) ;)) (goto_statement "goto LAB_00047956;" goto statement_identifier ;) })) }))) (expression_statement "param_4 = pbVar5 + uVar8;" (assignment_expression "param_4 = pbVar5 + uVar8" identifier = (binary_expression "pbVar5 + uVar8" identifier + identifier)) ;) (do_statement "do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);" do (compound_statement "{\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          }" { (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;" (assignment_expression "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1" identifier = (binary_expression "uVar7 ^ uVar7 * 8 ^ (uint)bVar1" (binary_expression "uVar7 ^ uVar7 * 8" identifier ^ (binary_expression "uVar7 * 8" identifier * number_literal)) ^ (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) while (parenthesized_expression "(pbVar5 != param_4)" ( (binary_expression "pbVar5 != param_4" identifier != identifier) )) ;) }))) (goto_statement "goto LAB_00047956;" goto statement_identifier ;) })) (expression_statement "iVar4 = FUN_00047830();" (assignment_expression "iVar4 = FUN_00047830()" identifier = (call_expression "FUN_00047830()" identifier (argument_list "()" ( )))) ;) (expression_statement "param_4 = param_4 + iVar4;" (assignment_expression "param_4 = param_4 + iVar4" identifier = (binary_expression "param_4 + iVar4" identifier + identifier)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "local_44 = *param_1;" (assignment_expression "local_44 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }) while (parenthesized_expression "(iVar6 < local_44)" ( (binary_expression "iVar6 < local_44" identifier < identifier) )) ;) (labeled_statement "LAB_0004799c:\n    uVar7 = uVar7 % param_5;" statement_identifier : (expression_statement "uVar7 = uVar7 % param_5;" (assignment_expression "uVar7 = uVar7 % param_5" identifier = (binary_expression "uVar7 % param_5" identifier % identifier)) ;)) }))) (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00153870();\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_00153870();\n  }" { (expression_statement "FUN_00153870();" (call_expression "FUN_00153870()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar7;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) == (char_literal ' escape_sequence ')) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT ^ (binary_expression IDENT * LIT)) ^ (binary_expression (parenthesized_expression ( IDENT )) * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT ^ (binary_expression IDENT * LIT)) ^ (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT * LIT) ^ (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) ^ IDENT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT & LIT) ))) + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (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 IDENT + IDENT)) ;)) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT ^ (binary_expression IDENT * LIT)) ^ (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT % IDENT)) ;)) }))) (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 ;) })))
(function_definition "uint __regparm3 FUN_000478c0(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int in_GS_OFFSET;\n  int local_44;\n  uint local_24;\n  \n  local_44 = *param_1;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (local_44 < 1) {\n    uVar7 = 0;\n  }\n  else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00153870();\n  }\n  return uVar7;\n}" (type_identifier "uint") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000478c0(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)" (identifier "FUN_000478c0") (parameter_list "(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "byte param_3" (type_identifier "byte") (identifier "param_3")) (, ",") (parameter_declaration "byte *param_4" (type_identifier "byte") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  int in_GS_OFFSET;\n  int local_44;\n  uint local_24;\n  \n  local_44 = *param_1;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (local_44 < 1) {\n    uVar7 = 0;\n  }\n  else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00153870();\n  }\n  return uVar7;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (expression_statement "local_44 = *param_1;" (assignment_expression "local_44 = *param_1" (identifier "local_44") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (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 (local_44 < 1) {\n    uVar7 = 0;\n  }\n  else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }" (if "if") (parenthesized_expression "(local_44 < 1)" (( "(") (binary_expression "local_44 < 1" (identifier "local_44") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    uVar7 = 0;\n  }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }" (else "else") (compound_statement "{\n    uVar7 = 0;\n    iVar6 = 0;\n    do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);\nLAB_0004799c:\n    uVar7 = uVar7 % param_5;\n  }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    } while (iVar6 < local_44);" (do "do") (compound_statement "{\n      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }\n      if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }\n      iVar4 = FUN_00047830();\n      param_4 = param_4 + iVar4;\n      iVar6 = iVar6 + 1;\n      local_44 = *param_1;\n    }" ({ "{") (while_statement "while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }" (while "while") (parenthesized_expression "((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0)))" (( "(") (parenthesized_expression "(*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))" (( "(") (binary_expression "*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0)" (binary_expression "*(char *)(*param_2 + iVar6) == '\0'" (pointer_expression "*(char *)(*param_2 + iVar6)" (* "*") (cast_expression "(char *)(*param_2 + iVar6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + iVar6)" (( "(") (binary_expression "*param_2 + iVar6" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (identifier "iVar6")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "((param_3 & 1) != 0)" (( "(") (binary_expression "(param_3 & 1) != 0" (parenthesized_expression "(param_3 & 1)" (( "(") (binary_expression "param_3 & 1" (identifier "param_3") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")")) (compound_statement "{\nLAB_00047956:\n        iVar6 = iVar6 + 1;\n        if (local_44 <= iVar6) goto LAB_0004799c;\n      }" ({ "{") (labeled_statement "LAB_00047956:\n        iVar6 = iVar6 + 1;" (statement_identifier "LAB_00047956") (: ":") (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";"))) (if_statement "if (local_44 <= iVar6) goto LAB_0004799c;" (if "if") (parenthesized_expression "(local_44 <= iVar6)" (( "(") (binary_expression "local_44 <= iVar6" (identifier "local_44") (<= "<=") (identifier "iVar6")) () ")")) (goto_statement "goto LAB_0004799c;" (goto "goto") (statement_identifier "LAB_0004799c") (; ";"))) (} "}"))) (if_statement "if (*(char *)(*param_2 + iVar6) != '\0') {\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }" (if "if") (parenthesized_expression "(*(char *)(*param_2 + iVar6) != '\0')" (( "(") (binary_expression "*(char *)(*param_2 + iVar6) != '\0'" (pointer_expression "*(char *)(*param_2 + iVar6)" (* "*") (cast_expression "(char *)(*param_2 + iVar6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + iVar6)" (( "(") (binary_expression "*param_2 + iVar6" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (identifier "iVar6")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;\n        if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }\n        goto LAB_00047956;\n      }" ({ "{") (expression_statement "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;" (assignment_expression "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4" (identifier "uVar7") (= "=") (binary_expression "uVar7 ^ uVar7 * 8 ^ (uint)*param_4" (binary_expression "uVar7 ^ uVar7 * 8" (identifier "uVar7") (^ "^") (binary_expression "uVar7 * 8" (identifier "uVar7") (* "*") (number_literal "8"))) (^ "^") (binary_expression "(uint)*param_4" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_4")))) (; ";")) (if_statement "if (*param_4 - 1 < 2) {\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }\n        else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }" (if "if") (parenthesized_expression "(*param_4 - 1 < 2)" (( "(") (binary_expression "*param_4 - 1 < 2" (binary_expression "*param_4 - 1" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (- "-") (number_literal "1")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n          uVar8 = *(uint *)(param_4 + 1);\n          uVar3 = *(uint *)(param_4 + 5);\n          param_4 = param_4 + 9;\n          uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);\n          uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;\n        }" ({ "{") (expression_statement "uVar8 = *(uint *)(param_4 + 1);" (assignment_expression "uVar8 = *(uint *)(param_4 + 1)" (identifier "uVar8") (= "=") (pointer_expression "*(uint *)(param_4 + 1)" (* "*") (cast_expression "(uint *)(param_4 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 1)" (( "(") (binary_expression "param_4 + 1" (identifier "param_4") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(uint *)(param_4 + 5);" (assignment_expression "uVar3 = *(uint *)(param_4 + 5)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_4 + 5)" (* "*") (cast_expression "(uint *)(param_4 + 5)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 5)" (( "(") (binary_expression "param_4 + 5" (identifier "param_4") (+ "+") (number_literal "5")) () ")"))))) (; ";")) (expression_statement "param_4 = param_4 + 9;" (assignment_expression "param_4 = param_4 + 9" (identifier "param_4") (= "=") (binary_expression "param_4 + 9" (identifier "param_4") (+ "+") (number_literal "9"))) (; ";")) (expression_statement "uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);" (assignment_expression "uVar7 = uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (identifier "uVar7") (= "=") (binary_expression "uVar7 ^ uVar7 * 8 ^\n                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (binary_expression "uVar7 ^ uVar7 * 8" (identifier "uVar7") (^ "^") (binary_expression "uVar7 * 8" (identifier "uVar7") (* "*") (number_literal "8"))) (^ "^") (parenthesized_expression "(uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18)" (( "(") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7;" (assignment_expression "uVar7 = uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7" (identifier "uVar7") (= "=") (binary_expression "uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)\n                  ^ uVar7" (binary_expression "uVar7 * 8 ^\n                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)" (binary_expression "uVar7 * 8" (identifier "uVar7") (* "*") (number_literal "8")) (^ "^") (parenthesized_expression "(uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)" (( "(") (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18" (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8" (binary_expression "uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8" (binary_expression "uVar8 >> 0x18" (identifier "uVar8") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar8 & 0xff0000) >> 8" (parenthesized_expression "(uVar8 & 0xff0000)" (( "(") (binary_expression "uVar8 & 0xff0000" (identifier "uVar8") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar8 & 0xff00) << 8" (parenthesized_expression "(uVar8 & 0xff00)" (( "(") (binary_expression "uVar8 & 0xff00" (identifier "uVar8") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar8 << 0x18" (identifier "uVar8") (<< "<<") (number_literal "0x18"))) () ")"))) (^ "^") (identifier "uVar7"))) (; ";")) (} "}")) (else_clause "else {\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }" (else "else") (compound_statement "{\n          if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }\n          param_4 = pbVar5 + uVar8;\n          do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);\n        }" ({ "{") (if_statement "if ((char)param_4[1] < '\0') {\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }\n          else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }" (if "if") (parenthesized_expression "((char)param_4[1] < '\0')" (( "(") (binary_expression "(char)param_4[1] < '\0'" (cast_expression "(char)param_4[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]"))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            uVar8 = FUN_00044cf0();\n            local_44 = *param_1;\n            pbVar5 = param_4 + (uVar8 & 0xff) + 1;\n            uVar8 = local_24;\n            if ((int)local_24 < 1) goto LAB_00047a2a;\n          }" ({ "{") (expression_statement "uVar8 = FUN_00044cf0();" (assignment_expression "uVar8 = FUN_00044cf0()" (identifier "uVar8") (= "=") (call_expression "FUN_00044cf0()" (identifier "FUN_00044cf0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_44 = *param_1;" (assignment_expression "local_44 = *param_1" (identifier "local_44") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "pbVar5 = param_4 + (uVar8 & 0xff) + 1;" (assignment_expression "pbVar5 = param_4 + (uVar8 & 0xff) + 1" (identifier "pbVar5") (= "=") (binary_expression "param_4 + (uVar8 & 0xff) + 1" (binary_expression "param_4 + (uVar8 & 0xff)" (identifier "param_4") (+ "+") (parenthesized_expression "(uVar8 & 0xff)" (( "(") (binary_expression "uVar8 & 0xff" (identifier "uVar8") (& "&") (number_literal "0xff")) () ")"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar8 = local_24;" (assignment_expression "uVar8 = local_24" (identifier "uVar8") (= "=") (identifier "local_24")) (; ";")) (if_statement "if ((int)local_24 < 1) goto LAB_00047a2a;" (if "if") (parenthesized_expression "((int)local_24 < 1)" (( "(") (binary_expression "(int)local_24 < 1" (cast_expression "(int)local_24" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_24")) (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_00047a2a;" (goto "goto") (statement_identifier "LAB_00047a2a") (; ";"))) (} "}")) (else_clause "else {\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }" (else "else") (compound_statement "{\n            uVar8 = (uint)param_4[1];\n            pbVar5 = param_4 + 2;\n            if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }\n          }" ({ "{") (expression_statement "uVar8 = (uint)param_4[1];" (assignment_expression "uVar8 = (uint)param_4[1]" (identifier "uVar8") (= "=") (cast_expression "(uint)param_4[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "pbVar5 = param_4 + 2;" (assignment_expression "pbVar5 = param_4 + 2" (identifier "pbVar5") (= "=") (binary_expression "param_4 + 2" (identifier "param_4") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (uVar8 == 0) {\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }" (if "if") (parenthesized_expression "(uVar8 == 0)" (( "(") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00047a2a:\n              param_4 = pbVar5 + uVar8;\n              goto LAB_00047956;\n            }" ({ "{") (labeled_statement "LAB_00047a2a:\n              param_4 = pbVar5 + uVar8;" (statement_identifier "LAB_00047a2a") (: ":") (expression_statement "param_4 = pbVar5 + uVar8;" (assignment_expression "param_4 = pbVar5 + uVar8" (identifier "param_4") (= "=") (binary_expression "pbVar5 + uVar8" (identifier "pbVar5") (+ "+") (identifier "uVar8"))) (; ";"))) (goto_statement "goto LAB_00047956;" (goto "goto") (statement_identifier "LAB_00047956") (; ";")) (} "}"))) (} "}")))) (expression_statement "param_4 = pbVar5 + uVar8;" (assignment_expression "param_4 = pbVar5 + uVar8" (identifier "param_4") (= "=") (binary_expression "pbVar5 + uVar8" (identifier "pbVar5") (+ "+") (identifier "uVar8"))) (; ";")) (do_statement "do {\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          } while (pbVar5 != param_4);" (do "do") (compound_statement "{\n            bVar1 = *pbVar5;\n            pbVar5 = pbVar5 + 1;\n            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;\n          }" ({ "{") (expression_statement "bVar1 = *pbVar5;" (assignment_expression "bVar1 = *pbVar5" (identifier "bVar1") (= "=") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5"))) (; ";")) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;" (assignment_expression "uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1" (identifier "uVar7") (= "=") (binary_expression "uVar7 ^ uVar7 * 8 ^ (uint)bVar1" (binary_expression "uVar7 ^ uVar7 * 8" (identifier "uVar7") (^ "^") (binary_expression "uVar7 * 8" (identifier "uVar7") (* "*") (number_literal "8"))) (^ "^") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar5 != param_4)" (( "(") (binary_expression "pbVar5 != param_4" (identifier "pbVar5") (!= "!=") (identifier "param_4")) () ")")) (; ";")) (} "}")))) (goto_statement "goto LAB_00047956;" (goto "goto") (statement_identifier "LAB_00047956") (; ";")) (} "}"))) (expression_statement "iVar4 = FUN_00047830();" (assignment_expression "iVar4 = FUN_00047830()" (identifier "iVar4") (= "=") (call_expression "FUN_00047830()" (identifier "FUN_00047830") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_4 = param_4 + iVar4;" (assignment_expression "param_4 = param_4 + iVar4" (identifier "param_4") (= "=") (binary_expression "param_4 + iVar4" (identifier "param_4") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_44 = *param_1;" (assignment_expression "local_44 = *param_1" (identifier "local_44") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 < local_44)" (( "(") (binary_expression "iVar6 < local_44" (identifier "iVar6") (< "<") (identifier "local_44")) () ")")) (; ";")) (labeled_statement "LAB_0004799c:\n    uVar7 = uVar7 % param_5;" (statement_identifier "LAB_0004799c") (: ":") (expression_statement "uVar7 = uVar7 % param_5;" (assignment_expression "uVar7 = uVar7 % param_5" (identifier "uVar7") (= "=") (binary_expression "uVar7 % param_5" (identifier "uVar7") (% "%") (identifier "param_5"))) (; ";"))) (} "}")))) (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00153870();\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_00153870();\n  }" ({ "{") (expression_statement "FUN_00153870();" (call_expression "FUN_00153870()" (identifier "FUN_00153870") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return uVar7;" (return "return") (identifier "uVar7") (; ";")) (} "}")))

/* DWARF original prototype: uint sessionChangeHash(SessionTable * pTab, int bPkOnly, u8 * aRecord,
   int nBucket, SessionTable * pTab) */

type_1 __regparm3
function_1(type_2 *pTab,int bPkOnly,type_3 *aRecord,int var_4,type_2 *pTab_1)

{
  type_1 var_5;
  type_4 var_8;
  int var_12;
  type_4 *var_10;
  int var_2;
  type_1 var_3;
  type_1 var_6;
  int var_1;
  type_2 *local_44;
  int var_9;
  int var_13;
  
  local_44 = pTab->pNext;
  var_13 = *(int *)(var_1 + 0x14);
  if ((int)local_44 < 1) {
    var_3 = 0;
  }
  else {
    var_3 = 0;
    var_2 = 0;
    do {
      while ((*(char *)(*(int *)bPkOnly + var_2) == '\0' && (((type_1)aRecord & 1) != 0))) {
LAB_00047956:
        var_2 = var_2 + 1;
        if ((int)local_44 <= var_2) goto LAB_0004799c;
      }
      if (*(char *)(*(int *)bPkOnly + var_2) != '\0') {
        var_3 = var_3 ^ var_3 * 8 ^ (type_1)*(type_4 *)var_4;
        if (*(type_4 *)var_4 - 1 < 2) {
          var_6 = *(type_1 *)(var_4 + 1);
          var_5 = *(type_1 *)(var_4 + 5);
          var_4 = var_4 + 9;
          var_3 = var_3 ^ var_3 * 8 ^
                  (var_5 >> 0x18 | (var_5 & 0xff0000) >> 8 | (var_5 & 0xff00) << 8 | var_5 << 0x18);
          var_3 = var_3 * 8 ^
                  (var_6 >> 0x18 | (var_6 & 0xff0000) >> 8 | (var_6 & 0xff00) << 8 | var_6 << 0x18)
                  ^ var_3;
        }
        else {
          if ((char)*(type_4 *)(var_4 + 1) < '\0') {
            var_8 = var_7((type_4 *)(var_4 + 1),(type_5 *)&var_9);
            local_44 = pTab->pNext;
            var_10 = (type_4 *)(var_4 + 1) + var_8;
            var_6 = var_9;
            if (var_9 < 1) goto LAB_00047a2a;
          }
          else {
            var_6 = (type_1)*(type_4 *)(var_4 + 1);
            var_10 = (type_4 *)(var_4 + 2);
            if (var_6 == 0) {
LAB_00047a2a:
              var_4 = (int)(var_10 + var_6);
              goto LAB_00047956;
            }
          }
          var_4 = (int)(var_10 + var_6);
          do {
            var_8 = *var_10;
            var_10 = var_10 + 1;
            var_3 = var_3 ^ var_3 * 8 ^ (type_1)var_8;
          } while (var_10 != (type_4 *)var_4);
        }
        goto LAB_00047956;
      }
      var_12 = var_11((type_3 *)var_4);
      var_4 = var_4 + var_12;
      var_2 = var_2 + 1;
      local_44 = pTab->pNext;
    } while (var_2 < (int)local_44);
LAB_0004799c:
    var_3 = var_3 % (type_1)pTab_1;
  }
  if (var_13 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_14();
  }
  return var_3;
}


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

uint __regparm3 MASKED(int *param_1,int *param_2,byte param_3,byte *param_4,uint param_5)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  byte *pbVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  int in_GS_OFFSET;
  int local_44;
  uint local_24;
  
  local_44 = *param_1;
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  if (local_44 < 1) {
    uVar7 = 0;
  }
  else {
    uVar7 = 0;
    iVar6 = 0;
    do {
      while ((*(char *)(*param_2 + iVar6) == '\0' && ((param_3 & 1) != 0))) {
LAB_00047956:
        iVar6 = iVar6 + 1;
        if (local_44 <= iVar6) goto LAB_0004799c;
      }
      if (*(char *)(*param_2 + iVar6) != '\0') {
        uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)*param_4;
        if (*param_4 - 1 < 2) {
          uVar8 = *(uint *)(param_4 + 1);
          uVar3 = *(uint *)(param_4 + 5);
          param_4 = param_4 + 9;
          uVar7 = uVar7 ^ uVar7 * 8 ^
                  (uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18);
          uVar7 = uVar7 * 8 ^
                  (uVar8 >> 0x18 | (uVar8 & 0xff0000) >> 8 | (uVar8 & 0xff00) << 8 | uVar8 << 0x18)
                  ^ uVar7;
        }
        else {
          if ((char)param_4[1] < '\0') {
            uVar8 = FUN_00044cf0();
            local_44 = *param_1;
            pbVar5 = param_4 + (uVar8 & 0xff) + 1;
            uVar8 = local_24;
            if ((int)local_24 < 1) goto LAB_00047a2a;
          }
          else {
            uVar8 = (uint)param_4[1];
            pbVar5 = param_4 + 2;
            if (uVar8 == 0) {
LAB_00047a2a:
              param_4 = pbVar5 + uVar8;
              goto LAB_00047956;
            }
          }
          param_4 = pbVar5 + uVar8;
          do {
            bVar1 = *pbVar5;
            pbVar5 = pbVar5 + 1;
            uVar7 = uVar7 ^ uVar7 * 8 ^ (uint)bVar1;
          } while (pbVar5 != param_4);
        }
        goto LAB_00047956;
      }
      iVar4 = FUN_00047830();
      param_4 = param_4 + iVar4;
      iVar6 = iVar6 + 1;
      local_44 = *param_1;
    } while (iVar6 < local_44);
LAB_0004799c:
    uVar7 = uVar7 % param_5;
  }
  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00153870();
  }
  return uVar7;
}

