
int pelican_process(pelican_state *pelmac,uchar *in,ulong inlen)

{
  ulong *puVar1;
  byte bVar2;
  ulong uVar3;
  int iVar4;
  uchar *puVar5;
  ulong *puVar6;
  ulong *puVar7;
  uint uVar8;
  int iVar9;
  
  if (pelmac == (pelican_state *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);
  }
  if (in != (uchar *)0x0) {
    iVar4 = 0x10;
    if ((uint)pelmac->buflen < 0x10) {
      puVar5 = (uchar *)inlen;
      puVar7 = (ulong *)in;
      if (pelmac->buflen == 0) {
        uVar3 = inlen & 0xfffffffffffffff0;
        while (uVar3 != 0) {
          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;
          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];
          _four_rounds(pelmac);
          puVar5 = in + (inlen - (long)(puVar7 + 2));
          puVar7 = puVar7 + 2;
          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;
        }
      }
      puVar1 = (ulong *)((long)puVar7 + (long)puVar5);
      if (puVar5 != (uchar *)0x0) {
        uVar8 = (int)puVar1 - (int)puVar7 & 3;
        if (uVar8 == 0) goto LAB_001641e7;
        if (uVar8 != 1) {
          puVar6 = puVar7;
          if (uVar8 != 2) {
            iVar4 = pelmac->buflen;
            puVar6 = (ulong *)((long)puVar7 + 1);
            uVar3 = *puVar7;
            iVar9 = iVar4 + 1;
            pelmac->buflen = iVar9;
            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;
            if (iVar9 == 0x10) {
              _four_rounds(pelmac);
              pelmac->buflen = 0;
            }
          }
          iVar4 = pelmac->buflen;
          puVar7 = (ulong *)((long)puVar6 + 1);
          uVar3 = *puVar6;
          iVar9 = iVar4 + 1;
          pelmac->buflen = iVar9;
          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;
          if (iVar9 == 0x10) {
            _four_rounds(pelmac);
            pelmac->buflen = 0;
          }
        }
        puVar7 = (ulong *)((long)puVar7 + 1);
        while( true ) {
          iVar4 = pelmac->buflen;
          bVar2 = *(byte *)((long)puVar7 + -1);
          iVar9 = iVar4 + 1;
          pelmac->buflen = iVar9;
          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;
          if (iVar9 == 0x10) {
            _four_rounds(pelmac);
            pelmac->buflen = 0;
          }
          if (puVar1 == puVar7) break;
LAB_001641e7:
          iVar4 = pelmac->buflen;
          uVar3 = *puVar7;
          iVar9 = iVar4 + 1;
          pelmac->buflen = iVar9;
          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;
          if (iVar9 == 0x10) {
            _four_rounds(pelmac);
            pelmac->buflen = 0;
          }
          iVar4 = pelmac->buflen;
          bVar2 = *(byte *)((long)puVar7 + 1);
          iVar9 = iVar4 + 1;
          pelmac->buflen = iVar9;
          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;
          if (iVar9 == 0x10) {
            _four_rounds(pelmac);
            pelmac->buflen = 0;
          }
          iVar4 = pelmac->buflen;
          bVar2 = *(byte *)((long)puVar7 + 2);
          iVar9 = iVar4 + 1;
          pelmac->buflen = iVar9;
          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;
          if (iVar9 == 0x10) {
            _four_rounds(pelmac);
            pelmac->buflen = 0;
          }
          puVar7 = (ulong *)((long)puVar7 + 4);
        }
      }
      iVar4 = 0;
    }
    return iVar4;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);
}



undefined8 pelican_process(long param_1,ulong *param_2,byte *param_3)

{
  ulong *puVar1;
  byte bVar2;
  int iVar3;
  ulong uVar4;
  undefined8 uVar5;
  byte *pbVar6;
  ulong *puVar7;
  ulong *puVar8;
  uint uVar9;
  int iVar10;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);
  }
  if (param_2 != (ulong *)0x0) {
    uVar5 = 0x10;
    if (*(uint *)(param_1 + 0x10b0) < 0x10) {
      pbVar6 = param_3;
      puVar8 = param_2;
      if (*(uint *)(param_1 + 0x10b0) == 0) {
        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;
        while (uVar4 != 0) {
          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;
          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];
          FUN_00163cf0(param_1);
          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));
          puVar8 = puVar8 + 2;
          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;
        }
      }
      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);
      if (pbVar6 != (byte *)0x0) {
        uVar9 = (int)puVar1 - (int)puVar8 & 3;
        if (uVar9 == 0) goto LAB_001641e7;
        if (uVar9 != 1) {
          puVar7 = puVar8;
          if (uVar9 != 2) {
            iVar3 = *(int *)(param_1 + 0x10b0);
            puVar7 = (ulong *)((long)puVar8 + 1);
            uVar4 = *puVar8;
            iVar10 = iVar3 + 1;
            *(int *)(param_1 + 0x10b0) = iVar10;
            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
            *pbVar6 = *pbVar6 ^ (byte)uVar4;
            if (iVar10 == 0x10) {
              FUN_00163cf0(param_1);
              *(undefined4 *)(param_1 + 0x10b0) = 0;
            }
          }
          iVar3 = *(int *)(param_1 + 0x10b0);
          puVar8 = (ulong *)((long)puVar7 + 1);
          uVar4 = *puVar7;
          iVar10 = iVar3 + 1;
          *(int *)(param_1 + 0x10b0) = iVar10;
          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
          *pbVar6 = *pbVar6 ^ (byte)uVar4;
          if (iVar10 == 0x10) {
            FUN_00163cf0(param_1);
            *(undefined4 *)(param_1 + 0x10b0) = 0;
          }
        }
        puVar8 = (ulong *)((long)puVar8 + 1);
        while( true ) {
          iVar3 = *(int *)(param_1 + 0x10b0);
          bVar2 = *(byte *)((long)puVar8 + -1);
          iVar10 = iVar3 + 1;
          *(int *)(param_1 + 0x10b0) = iVar10;
          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
          *pbVar6 = *pbVar6 ^ bVar2;
          if (iVar10 == 0x10) {
            FUN_00163cf0(param_1);
            *(undefined4 *)(param_1 + 0x10b0) = 0;
          }
          if (puVar1 == puVar8) break;
LAB_001641e7:
          iVar3 = *(int *)(param_1 + 0x10b0);
          uVar4 = *puVar8;
          iVar10 = iVar3 + 1;
          *(int *)(param_1 + 0x10b0) = iVar10;
          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
          *pbVar6 = *pbVar6 ^ (byte)uVar4;
          if (iVar10 == 0x10) {
            FUN_00163cf0(param_1);
            *(undefined4 *)(param_1 + 0x10b0) = 0;
          }
          iVar3 = *(int *)(param_1 + 0x10b0);
          bVar2 = *(byte *)((long)puVar8 + 1);
          iVar10 = iVar3 + 1;
          *(int *)(param_1 + 0x10b0) = iVar10;
          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
          *pbVar6 = *pbVar6 ^ bVar2;
          if (iVar10 == 0x10) {
            FUN_00163cf0(param_1);
            *(undefined4 *)(param_1 + 0x10b0) = 0;
          }
          iVar3 = *(int *)(param_1 + 0x10b0);
          bVar2 = *(byte *)((long)puVar8 + 2);
          iVar10 = iVar3 + 1;
          *(int *)(param_1 + 0x10b0) = iVar10;
          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
          *pbVar6 = *pbVar6 ^ bVar2;
          if (iVar10 == 0x10) {
            FUN_00163cf0(param_1);
            *(undefined4 *)(param_1 + 0x10b0) = 0;
          }
          puVar8 = (ulong *)((long)puVar8 + 4);
        }
      }
      uVar5 = 0;
    }
    return uVar5;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);
}


PUSH R12
PUSH RBP
PUSH RBX
TEST RDI,RDI
JZ 0x0016431d
MOV RBP,RSI
TEST RSI,RSI
JZ 0x00164305
MOV ECX,dword ptr [RDI + 0x10b0]
MOV RBX,RDI
MOV EAX,0x10
CMP ECX,0xf
JA 0x00164262
TEST ECX,ECX
JNZ 0x00164139
TEST RDX,-0x10
JZ 0x00164139
LEA R12,[RSI + RDX*0x1]
NOP dword ptr [RAX]
MOV RAX,qword ptr [RBP]
XOR qword ptr [RBX + 0x10a0],RAX
MOV RDI,RBX
ADD RBP,0x10
MOV RDX,qword ptr [RBP + -0x8]
XOR qword ptr [RBX + 0x10a8],RDX
CALL 0x00163cf0
MOV RDX,R12
SUB RDX,RBP
TEST RDX,-0x10
JNZ 0x00164108
LEA R12,[RBP + RDX*0x1]
TEST RDX,RDX
JZ 0x00164260
MOV RSI,R12
SUB RSI,RBP
AND ESI,0x3
JZ 0x001641e7
CMP RSI,0x1
JZ 0x001641b9
CMP RSI,0x2
JZ 0x0016418e
MOVSXD R8,dword ptr [RBX + 0x10b0]
ADD RBP,0x1
MOVZX EDI,byte ptr [RBP + -0x1]
LEA R9D,[R8 + 0x1]
MOV dword ptr [RBX + 0x10b0],R9D
XOR byte ptr [RBX + R8*0x1 + 0x10a0],DIL
CMP R9D,0x10
JZ 0x001642ee
MOVSXD R11,dword ptr [RBX + 0x10b0]
ADD RBP,0x1
MOVZX R10D,byte ptr [RBP + -0x1]
LEA ECX,[R11 + 0x1]
MOV dword ptr [RBX + 0x10b0],ECX
XOR byte ptr [RBX + R11*0x1 + 0x10a0],R10B
CMP ECX,0x10
JZ 0x001642d7
ADD RBP,0x1
MOVSXD RAX,dword ptr [RBX + 0x10b0]
MOVZX ESI,byte ptr [RBP + -0x1]
LEA EDX,[RAX + 0x1]
MOV dword ptr [RBX + 0x10b0],EDX
XOR byte ptr [RBX + RAX*0x1 + 0x10a0],SIL
CMP EDX,0x10
JZ 0x00164270
CMP R12,RBP
JZ 0x00164260
MOVSXD R8,dword ptr [RBX + 0x10b0]
ADD RBP,0x1
MOVZX EDI,byte ptr [RBP + -0x1]
LEA R9D,[R8 + 0x1]
MOV dword ptr [RBX + 0x10b0],R9D
XOR byte ptr [RBX + R8*0x1 + 0x10a0],DIL
CMP R9D,0x10
JZ 0x001642c0
MOVSXD R11,dword ptr [RBX + 0x10b0]
MOVZX R10D,byte ptr [RBP]
LEA ECX,[R11 + 0x1]
MOV dword ptr [RBX + 0x10b0],ECX
XOR byte ptr [RBX + R11*0x1 + 0x10a0],R10B
CMP ECX,0x10
JZ 0x001642a8
MOVSXD RAX,dword ptr [RBX + 0x10b0]
MOVZX ESI,byte ptr [RBP + 0x1]
LEA EDX,[RAX + 0x1]
MOV dword ptr [RBX + 0x10b0],EDX
XOR byte ptr [RBX + RAX*0x1 + 0x10a0],SIL
CMP EDX,0x10
JZ 0x00164290
ADD RBP,0x3
JMP 0x001641bd
XOR EAX,EAX
POP RBX
POP RBP
POP R12
RET
MOV RDI,RBX
CALL 0x00163cf0
MOV dword ptr [RBX + 0x10b0],0x0
JMP 0x001641e2
MOV RDI,RBX
CALL 0x00163cf0
MOV dword ptr [RBX + 0x10b0],0x0
JMP 0x00164257
MOV RDI,RBX
CALL 0x00163cf0
MOV dword ptr [RBX + 0x10b0],0x0
JMP 0x00164236
MOV RDI,RBX
CALL 0x00163cf0
MOV dword ptr [RBX + 0x10b0],0x0
JMP 0x00164213
MOV RDI,RBX
CALL 0x00163cf0
MOV dword ptr [RBX + 0x10b0],0x0
JMP 0x001641b9
MOV RDI,RBX
CALL 0x00163cf0
MOV dword ptr [RBX + 0x10b0],0x0
JMP 0x0016418e
MOV EDX,0x67
LEA RSI,[0x1cb6c0]
LEA RDI,[0x1b77d0]
CALL 0x00114270
MOV EDX,0x66
LEA RSI,[0x1cb6c0]
LEA RDI,[0x1cb6da]
CALL 0x00114270
(translation_unit "undefined8 pelican_process(long param_1,ulong *param_2,byte *param_3)\n\n{\n  ulong *puVar1;\n  byte bVar2;\n  int iVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  byte *pbVar6;\n  ulong *puVar7;\n  ulong *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }\n  if (param_2 != (ulong *)0x0) {\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);\n}\n\n" (function_definition "undefined8 pelican_process(long param_1,ulong *param_2,byte *param_3)\n\n{\n  ulong *puVar1;\n  byte bVar2;\n  int iVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  byte *pbVar6;\n  ulong *puVar7;\n  ulong *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }\n  if (param_2 != (ulong *)0x0) {\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);\n}" type_identifier (function_declarator "pelican_process(long param_1,ulong *param_2,byte *param_3)" identifier (parameter_list "(long param_1,ulong *param_2,byte *param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  ulong *puVar1;\n  byte bVar2;\n  int iVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  byte *pbVar6;\n  ulong *puVar7;\n  ulong *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }\n  if (param_2 != (ulong *)0x0) {\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "ulong *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "ulong *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }" { comment (expression_statement "crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);" (call_expression "crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66)" identifier (argument_list "("pelmac != NULL","src/mac/pelican/pelican.c",0x66)" ( (string_literal ""pelmac != NULL"" " string_content ") , (string_literal ""src/mac/pelican/pelican.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 != (ulong *)0x0) {\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }" if (parenthesized_expression "(param_2 != (ulong *)0x0)" ( (binary_expression "param_2 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }" { (expression_statement "uVar5 = 0x10;" (assignment_expression "uVar5 = 0x10" identifier = number_literal) ;) (if_statement "if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }" if (parenthesized_expression "(*(uint *)(param_1 + 0x10b0) < 0x10)" ( (binary_expression "*(uint *)(param_1 + 0x10b0) < 0x10" (pointer_expression "*(uint *)(param_1 + 0x10b0)" * (cast_expression "(uint *)(param_1 + 0x10b0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }" { (expression_statement "pbVar6 = param_3;" (assignment_expression "pbVar6 = param_3" identifier = identifier) ;) (expression_statement "puVar8 = param_2;" (assignment_expression "puVar8 = param_2" identifier = identifier) ;) (if_statement "if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }" if (parenthesized_expression "(*(uint *)(param_1 + 0x10b0) == 0)" ( (binary_expression "*(uint *)(param_1 + 0x10b0) == 0" (pointer_expression "*(uint *)(param_1 + 0x10b0)" * (cast_expression "(uint *)(param_1 + 0x10b0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }" { (expression_statement "uVar4 = (ulong)param_3 & 0xfffffffffffffff0;" (assignment_expression "uVar4 = (ulong)param_3 & 0xfffffffffffffff0" identifier = (binary_expression "(ulong)param_3 & 0xfffffffffffffff0" (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal)) ;) (while_statement "while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }" while (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }" { (expression_statement "*(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;" (assignment_expression "*(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8" (pointer_expression "*(ulong *)(param_1 + 0x10a0)" * (cast_expression "(ulong *)(param_1 + 0x10a0)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0)" ( (binary_expression "param_1 + 0x10a0" identifier + number_literal) )))) = (binary_expression "*(ulong *)(param_1 + 0x10a0) ^ *puVar8" (pointer_expression "*(ulong *)(param_1 + 0x10a0)" * (cast_expression "(ulong *)(param_1 + 0x10a0)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0)" ( (binary_expression "param_1 + 0x10a0" identifier + number_literal) )))) ^ (pointer_expression "*puVar8" * identifier))) ;) (expression_statement "*(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];" (assignment_expression "*(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1]" (pointer_expression "*(ulong *)(param_1 + 0x10a8)" * (cast_expression "(ulong *)(param_1 + 0x10a8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a8)" ( (binary_expression "param_1 + 0x10a8" identifier + number_literal) )))) = (binary_expression "*(ulong *)(param_1 + 0x10a8) ^ puVar8[1]" (pointer_expression "*(ulong *)(param_1 + 0x10a8)" * (cast_expression "(ulong *)(param_1 + 0x10a8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a8)" ( (binary_expression "param_1 + 0x10a8" identifier + number_literal) )))) ^ (subscript_expression "puVar8[1]" identifier [ number_literal ]))) ;) (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));" (assignment_expression "pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)))" identifier = (cast_expression "(byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)))" ( (binary_expression "(long)param_2 + ((long)param_3 - (long)(puVar8 + 2))" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (parenthesized_expression "((long)param_3 - (long)(puVar8 + 2))" ( (binary_expression "(long)param_3 - (long)(puVar8 + 2)" (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)(puVar8 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(puVar8 + 2)" ( (binary_expression "puVar8 + 2" identifier + number_literal) )))) ))) )))) ;) (expression_statement "puVar8 = puVar8 + 2;" (assignment_expression "puVar8 = puVar8 + 2" identifier = (binary_expression "puVar8 + 2" identifier + number_literal)) ;) (expression_statement "uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;" (assignment_expression "uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0" identifier = (binary_expression "(ulong)pbVar6 & 0xfffffffffffffff0" (cast_expression "(ulong)pbVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal)) ;) })) })) (expression_statement "puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);" (assignment_expression "puVar1 = (ulong *)((long)puVar8 + (long)pbVar6)" identifier = (cast_expression "(ulong *)((long)puVar8 + (long)pbVar6)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + (long)pbVar6)" ( (binary_expression "(long)puVar8 + (long)pbVar6" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)pbVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (if_statement "if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }" if (parenthesized_expression "(pbVar6 != (byte *)0x0)" ( (binary_expression "pbVar6 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }" { (expression_statement "uVar9 = (int)puVar1 - (int)puVar8 & 3;" (assignment_expression "uVar9 = (int)puVar1 - (int)puVar8 & 3" identifier = (binary_expression "(int)puVar1 - (int)puVar8 & 3" (binary_expression "(int)puVar1 - (int)puVar8" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if (uVar9 == 0) goto LAB_001641e7;" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001641e7;" goto statement_identifier ;)) (if_statement "if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }" if (parenthesized_expression "(uVar9 != 1)" ( (binary_expression "uVar9 != 1" identifier != number_literal) )) (compound_statement "{\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }" { (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) (if_statement "if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }" if (parenthesized_expression "(uVar9 != 2)" ( (binary_expression "uVar9 != 2" identifier != number_literal) )) (compound_statement "{\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = (ulong *)((long)puVar8 + 1);" (assignment_expression "puVar7 = (ulong *)((long)puVar8 + 1)" identifier = (cast_expression "(ulong *)((long)puVar8 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + 1)" ( (binary_expression "(long)puVar8 + 1" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "uVar4 = *puVar8;" (assignment_expression "uVar4 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ (byte)uVar4;" (assignment_expression "*pbVar6 = *pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) ^ (cast_expression "(byte)uVar4" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (if_statement "if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;) (expression_statement "puVar8 = (ulong *)((long)puVar7 + 1);" (assignment_expression "puVar8 = (ulong *)((long)puVar7 + 1)" identifier = (cast_expression "(ulong *)((long)puVar7 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar7 + 1)" ( (binary_expression "(long)puVar7 + 1" (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "uVar4 = *puVar7;" (assignment_expression "uVar4 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ (byte)uVar4;" (assignment_expression "*pbVar6 = *pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) ^ (cast_expression "(byte)uVar4" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) })) (expression_statement "puVar8 = (ulong *)((long)puVar8 + 1);" (assignment_expression "puVar8 = (ulong *)((long)puVar8 + 1)" identifier = (cast_expression "(ulong *)((long)puVar8 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + 1)" ( (binary_expression "(long)puVar8 + 1" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (while_statement "while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = *(byte *)((long)puVar8 + -1);" (assignment_expression "bVar2 = *(byte *)((long)puVar8 + -1)" identifier = (pointer_expression "*(byte *)((long)puVar8 + -1)" * (cast_expression "(byte *)((long)puVar8 + -1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + -1)" ( (binary_expression "(long)puVar8 + -1" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ bVar2;" (assignment_expression "*pbVar6 = *pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) ^ identifier)) ;) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if (puVar1 == puVar8) break;" if (parenthesized_expression "(puVar1 == puVar8)" ( (binary_expression "puVar1 == puVar8" identifier == identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);" statement_identifier : (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;)) (expression_statement "uVar4 = *puVar8;" (assignment_expression "uVar4 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ (byte)uVar4;" (assignment_expression "*pbVar6 = *pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) ^ (cast_expression "(byte)uVar4" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = *(byte *)((long)puVar8 + 1);" (assignment_expression "bVar2 = *(byte *)((long)puVar8 + 1)" identifier = (pointer_expression "*(byte *)((long)puVar8 + 1)" * (cast_expression "(byte *)((long)puVar8 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + 1)" ( (binary_expression "(long)puVar8 + 1" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ bVar2;" (assignment_expression "*pbVar6 = *pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) ^ identifier)) ;) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = *(byte *)((long)puVar8 + 2);" (assignment_expression "bVar2 = *(byte *)((long)puVar8 + 2)" identifier = (pointer_expression "*(byte *)((long)puVar8 + 2)" * (cast_expression "(byte *)((long)puVar8 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + 2)" ( (binary_expression "(long)puVar8 + 2" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ bVar2;" (assignment_expression "*pbVar6 = *pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) ^ identifier)) ;) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar8 = (ulong *)((long)puVar8 + 4);" (assignment_expression "puVar8 = (ulong *)((long)puVar8 + 4)" identifier = (cast_expression "(ulong *)((long)puVar8 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + 4)" ( (binary_expression "(long)puVar8 + 4" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) })) })) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (return_statement "return uVar5;" return identifier ;) })) comment (expression_statement "crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);" (call_expression "crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67)" identifier (argument_list "("in != NULL","src/mac/pelican/pelican.c",0x67)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/mac/pelican/pelican.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "int pelican_process(pelican_state *pelmac,uchar *in,ulong inlen)\n\n{\n  ulong *puVar1;\n  byte bVar2;\n  ulong uVar3;\n  int iVar4;\n  uchar *puVar5;\n  ulong *puVar6;\n  ulong *puVar7;\n  uint uVar8;\n  int iVar9;\n  \n  if (pelmac == (pelican_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }\n  if (in != (uchar *)0x0) {\n    iVar4 = 0x10;\n    if ((uint)pelmac->buflen < 0x10) {\n      puVar5 = (uchar *)inlen;\n      puVar7 = (ulong *)in;\n      if (pelmac->buflen == 0) {\n        uVar3 = inlen & 0xfffffffffffffff0;\n        while (uVar3 != 0) {\n          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;\n          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];\n          _four_rounds(pelmac);\n          puVar5 = in + (inlen - (long)(puVar7 + 2));\n          puVar7 = puVar7 + 2;\n          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar7 + (long)puVar5);\n      if (puVar5 != (uchar *)0x0) {\n        uVar8 = (int)puVar1 - (int)puVar7 & 3;\n        if (uVar8 == 0) goto LAB_001641e7;\n        if (uVar8 != 1) {\n          puVar6 = puVar7;\n          if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }\n          iVar4 = pelmac->buflen;\n          puVar7 = (ulong *)((long)puVar6 + 1);\n          uVar3 = *puVar6;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n        }\n        puVar7 = (ulong *)((long)puVar7 + 1);\n        while( true ) {\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + -1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          if (puVar1 == puVar7) break;\nLAB_001641e7:\n          iVar4 = pelmac->buflen;\n          uVar3 = *puVar7;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 2);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          puVar7 = (ulong *)((long)puVar7 + 4);\n        }\n      }\n      iVar4 = 0;\n    }\n    return iVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);\n}\n\n" (function_definition "int pelican_process(pelican_state *pelmac,uchar *in,ulong inlen)\n\n{\n  ulong *puVar1;\n  byte bVar2;\n  ulong uVar3;\n  int iVar4;\n  uchar *puVar5;\n  ulong *puVar6;\n  ulong *puVar7;\n  uint uVar8;\n  int iVar9;\n  \n  if (pelmac == (pelican_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }\n  if (in != (uchar *)0x0) {\n    iVar4 = 0x10;\n    if ((uint)pelmac->buflen < 0x10) {\n      puVar5 = (uchar *)inlen;\n      puVar7 = (ulong *)in;\n      if (pelmac->buflen == 0) {\n        uVar3 = inlen & 0xfffffffffffffff0;\n        while (uVar3 != 0) {\n          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;\n          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];\n          _four_rounds(pelmac);\n          puVar5 = in + (inlen - (long)(puVar7 + 2));\n          puVar7 = puVar7 + 2;\n          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar7 + (long)puVar5);\n      if (puVar5 != (uchar *)0x0) {\n        uVar8 = (int)puVar1 - (int)puVar7 & 3;\n        if (uVar8 == 0) goto LAB_001641e7;\n        if (uVar8 != 1) {\n          puVar6 = puVar7;\n          if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }\n          iVar4 = pelmac->buflen;\n          puVar7 = (ulong *)((long)puVar6 + 1);\n          uVar3 = *puVar6;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n        }\n        puVar7 = (ulong *)((long)puVar7 + 1);\n        while( true ) {\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + -1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          if (puVar1 == puVar7) break;\nLAB_001641e7:\n          iVar4 = pelmac->buflen;\n          uVar3 = *puVar7;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 2);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          puVar7 = (ulong *)((long)puVar7 + 4);\n        }\n      }\n      iVar4 = 0;\n    }\n    return iVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);\n}" primitive_type (function_declarator "pelican_process(pelican_state *pelmac,uchar *in,ulong inlen)" identifier (parameter_list "(pelican_state *pelmac,uchar *in,ulong inlen)" ( (parameter_declaration "pelican_state *pelmac" type_identifier (pointer_declarator "*pelmac" * identifier)) , (parameter_declaration "uchar *in" type_identifier (pointer_declarator "*in" * identifier)) , (parameter_declaration "ulong inlen" type_identifier identifier) ))) (compound_statement "{\n  ulong *puVar1;\n  byte bVar2;\n  ulong uVar3;\n  int iVar4;\n  uchar *puVar5;\n  ulong *puVar6;\n  ulong *puVar7;\n  uint uVar8;\n  int iVar9;\n  \n  if (pelmac == (pelican_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }\n  if (in != (uchar *)0x0) {\n    iVar4 = 0x10;\n    if ((uint)pelmac->buflen < 0x10) {\n      puVar5 = (uchar *)inlen;\n      puVar7 = (ulong *)in;\n      if (pelmac->buflen == 0) {\n        uVar3 = inlen & 0xfffffffffffffff0;\n        while (uVar3 != 0) {\n          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;\n          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];\n          _four_rounds(pelmac);\n          puVar5 = in + (inlen - (long)(puVar7 + 2));\n          puVar7 = puVar7 + 2;\n          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar7 + (long)puVar5);\n      if (puVar5 != (uchar *)0x0) {\n        uVar8 = (int)puVar1 - (int)puVar7 & 3;\n        if (uVar8 == 0) goto LAB_001641e7;\n        if (uVar8 != 1) {\n          puVar6 = puVar7;\n          if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }\n          iVar4 = pelmac->buflen;\n          puVar7 = (ulong *)((long)puVar6 + 1);\n          uVar3 = *puVar6;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n        }\n        puVar7 = (ulong *)((long)puVar7 + 1);\n        while( true ) {\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + -1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          if (puVar1 == puVar7) break;\nLAB_001641e7:\n          iVar4 = pelmac->buflen;\n          uVar3 = *puVar7;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 2);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          puVar7 = (ulong *)((long)puVar7 + 4);\n        }\n      }\n      iVar4 = 0;\n    }\n    return iVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uchar *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "ulong *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "ulong *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (if_statement "if (pelmac == (pelican_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }" if (parenthesized_expression "(pelmac == (pelican_state *)0x0)" ( (binary_expression "pelmac == (pelican_state *)0x0" identifier == (cast_expression "(pelican_state *)0x0" ( (type_descriptor "pelican_state *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }" { comment (expression_statement "crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);" (call_expression "crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66)" identifier (argument_list "("pelmac != NULL","src/mac/pelican/pelican.c",0x66)" ( (string_literal ""pelmac != NULL"" " string_content ") , (string_literal ""src/mac/pelican/pelican.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (in != (uchar *)0x0) {\n    iVar4 = 0x10;\n    if ((uint)pelmac->buflen < 0x10) {\n      puVar5 = (uchar *)inlen;\n      puVar7 = (ulong *)in;\n      if (pelmac->buflen == 0) {\n        uVar3 = inlen & 0xfffffffffffffff0;\n        while (uVar3 != 0) {\n          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;\n          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];\n          _four_rounds(pelmac);\n          puVar5 = in + (inlen - (long)(puVar7 + 2));\n          puVar7 = puVar7 + 2;\n          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar7 + (long)puVar5);\n      if (puVar5 != (uchar *)0x0) {\n        uVar8 = (int)puVar1 - (int)puVar7 & 3;\n        if (uVar8 == 0) goto LAB_001641e7;\n        if (uVar8 != 1) {\n          puVar6 = puVar7;\n          if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }\n          iVar4 = pelmac->buflen;\n          puVar7 = (ulong *)((long)puVar6 + 1);\n          uVar3 = *puVar6;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n        }\n        puVar7 = (ulong *)((long)puVar7 + 1);\n        while( true ) {\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + -1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          if (puVar1 == puVar7) break;\nLAB_001641e7:\n          iVar4 = pelmac->buflen;\n          uVar3 = *puVar7;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 2);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          puVar7 = (ulong *)((long)puVar7 + 4);\n        }\n      }\n      iVar4 = 0;\n    }\n    return iVar4;\n  }" if (parenthesized_expression "(in != (uchar *)0x0)" ( (binary_expression "in != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar4 = 0x10;\n    if ((uint)pelmac->buflen < 0x10) {\n      puVar5 = (uchar *)inlen;\n      puVar7 = (ulong *)in;\n      if (pelmac->buflen == 0) {\n        uVar3 = inlen & 0xfffffffffffffff0;\n        while (uVar3 != 0) {\n          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;\n          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];\n          _four_rounds(pelmac);\n          puVar5 = in + (inlen - (long)(puVar7 + 2));\n          puVar7 = puVar7 + 2;\n          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar7 + (long)puVar5);\n      if (puVar5 != (uchar *)0x0) {\n        uVar8 = (int)puVar1 - (int)puVar7 & 3;\n        if (uVar8 == 0) goto LAB_001641e7;\n        if (uVar8 != 1) {\n          puVar6 = puVar7;\n          if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }\n          iVar4 = pelmac->buflen;\n          puVar7 = (ulong *)((long)puVar6 + 1);\n          uVar3 = *puVar6;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n        }\n        puVar7 = (ulong *)((long)puVar7 + 1);\n        while( true ) {\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + -1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          if (puVar1 == puVar7) break;\nLAB_001641e7:\n          iVar4 = pelmac->buflen;\n          uVar3 = *puVar7;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 2);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          puVar7 = (ulong *)((long)puVar7 + 4);\n        }\n      }\n      iVar4 = 0;\n    }\n    return iVar4;\n  }" { (expression_statement "iVar4 = 0x10;" (assignment_expression "iVar4 = 0x10" identifier = number_literal) ;) (if_statement "if ((uint)pelmac->buflen < 0x10) {\n      puVar5 = (uchar *)inlen;\n      puVar7 = (ulong *)in;\n      if (pelmac->buflen == 0) {\n        uVar3 = inlen & 0xfffffffffffffff0;\n        while (uVar3 != 0) {\n          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;\n          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];\n          _four_rounds(pelmac);\n          puVar5 = in + (inlen - (long)(puVar7 + 2));\n          puVar7 = puVar7 + 2;\n          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar7 + (long)puVar5);\n      if (puVar5 != (uchar *)0x0) {\n        uVar8 = (int)puVar1 - (int)puVar7 & 3;\n        if (uVar8 == 0) goto LAB_001641e7;\n        if (uVar8 != 1) {\n          puVar6 = puVar7;\n          if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }\n          iVar4 = pelmac->buflen;\n          puVar7 = (ulong *)((long)puVar6 + 1);\n          uVar3 = *puVar6;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n        }\n        puVar7 = (ulong *)((long)puVar7 + 1);\n        while( true ) {\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + -1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          if (puVar1 == puVar7) break;\nLAB_001641e7:\n          iVar4 = pelmac->buflen;\n          uVar3 = *puVar7;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 2);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          puVar7 = (ulong *)((long)puVar7 + 4);\n        }\n      }\n      iVar4 = 0;\n    }" if (parenthesized_expression "((uint)pelmac->buflen < 0x10)" ( (binary_expression "(uint)pelmac->buflen < 0x10" (cast_expression "(uint)pelmac->buflen" ( (type_descriptor "uint" type_identifier) ) (field_expression "pelmac->buflen" identifier -> field_identifier)) < number_literal) )) (compound_statement "{\n      puVar5 = (uchar *)inlen;\n      puVar7 = (ulong *)in;\n      if (pelmac->buflen == 0) {\n        uVar3 = inlen & 0xfffffffffffffff0;\n        while (uVar3 != 0) {\n          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;\n          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];\n          _four_rounds(pelmac);\n          puVar5 = in + (inlen - (long)(puVar7 + 2));\n          puVar7 = puVar7 + 2;\n          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar7 + (long)puVar5);\n      if (puVar5 != (uchar *)0x0) {\n        uVar8 = (int)puVar1 - (int)puVar7 & 3;\n        if (uVar8 == 0) goto LAB_001641e7;\n        if (uVar8 != 1) {\n          puVar6 = puVar7;\n          if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }\n          iVar4 = pelmac->buflen;\n          puVar7 = (ulong *)((long)puVar6 + 1);\n          uVar3 = *puVar6;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n        }\n        puVar7 = (ulong *)((long)puVar7 + 1);\n        while( true ) {\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + -1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          if (puVar1 == puVar7) break;\nLAB_001641e7:\n          iVar4 = pelmac->buflen;\n          uVar3 = *puVar7;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 2);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          puVar7 = (ulong *)((long)puVar7 + 4);\n        }\n      }\n      iVar4 = 0;\n    }" { (expression_statement "puVar5 = (uchar *)inlen;" (assignment_expression "puVar5 = (uchar *)inlen" identifier = (cast_expression "(uchar *)inlen" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puVar7 = (ulong *)in;" (assignment_expression "puVar7 = (ulong *)in" identifier = (cast_expression "(ulong *)in" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (pelmac->buflen == 0) {\n        uVar3 = inlen & 0xfffffffffffffff0;\n        while (uVar3 != 0) {\n          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;\n          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];\n          _four_rounds(pelmac);\n          puVar5 = in + (inlen - (long)(puVar7 + 2));\n          puVar7 = puVar7 + 2;\n          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;\n        }\n      }" if (parenthesized_expression "(pelmac->buflen == 0)" ( (binary_expression "pelmac->buflen == 0" (field_expression "pelmac->buflen" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n        uVar3 = inlen & 0xfffffffffffffff0;\n        while (uVar3 != 0) {\n          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;\n          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];\n          _four_rounds(pelmac);\n          puVar5 = in + (inlen - (long)(puVar7 + 2));\n          puVar7 = puVar7 + 2;\n          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;\n        }\n      }" { (expression_statement "uVar3 = inlen & 0xfffffffffffffff0;" (assignment_expression "uVar3 = inlen & 0xfffffffffffffff0" identifier = (binary_expression "inlen & 0xfffffffffffffff0" identifier & number_literal)) ;) (while_statement "while (uVar3 != 0) {\n          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;\n          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];\n          _four_rounds(pelmac);\n          puVar5 = in + (inlen - (long)(puVar7 + 2));\n          puVar7 = puVar7 + 2;\n          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;\n        }" while (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n          *(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;\n          *(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];\n          _four_rounds(pelmac);\n          puVar5 = in + (inlen - (long)(puVar7 + 2));\n          puVar7 = puVar7 + 2;\n          uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;\n        }" { (expression_statement "*(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7;" (assignment_expression "*(ulong *)pelmac->state = *(ulong *)pelmac->state ^ *puVar7" (pointer_expression "*(ulong *)pelmac->state" * (cast_expression "(ulong *)pelmac->state" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pelmac->state" identifier -> field_identifier))) = (binary_expression "*(ulong *)pelmac->state ^ *puVar7" (pointer_expression "*(ulong *)pelmac->state" * (cast_expression "(ulong *)pelmac->state" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pelmac->state" identifier -> field_identifier))) ^ (pointer_expression "*puVar7" * identifier))) ;) (expression_statement "*(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1];" (assignment_expression "*(ulong *)(pelmac->state + 8) = *(ulong *)(pelmac->state + 8) ^ puVar7[1]" (pointer_expression "*(ulong *)(pelmac->state + 8)" * (cast_expression "(ulong *)(pelmac->state + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pelmac->state + 8)" ( (binary_expression "pelmac->state + 8" (field_expression "pelmac->state" identifier -> field_identifier) + number_literal) )))) = (binary_expression "*(ulong *)(pelmac->state + 8) ^ puVar7[1]" (pointer_expression "*(ulong *)(pelmac->state + 8)" * (cast_expression "(ulong *)(pelmac->state + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pelmac->state + 8)" ( (binary_expression "pelmac->state + 8" (field_expression "pelmac->state" identifier -> field_identifier) + number_literal) )))) ^ (subscript_expression "puVar7[1]" identifier [ number_literal ]))) ;) (expression_statement "_four_rounds(pelmac);" (call_expression "_four_rounds(pelmac)" identifier (argument_list "(pelmac)" ( identifier ))) ;) (expression_statement "puVar5 = in + (inlen - (long)(puVar7 + 2));" (assignment_expression "puVar5 = in + (inlen - (long)(puVar7 + 2))" identifier = (binary_expression "in + (inlen - (long)(puVar7 + 2))" identifier + (parenthesized_expression "(inlen - (long)(puVar7 + 2))" ( (binary_expression "inlen - (long)(puVar7 + 2)" identifier - (cast_expression "(long)(puVar7 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(puVar7 + 2)" ( (binary_expression "puVar7 + 2" identifier + number_literal) )))) )))) ;) (expression_statement "puVar7 = puVar7 + 2;" (assignment_expression "puVar7 = puVar7 + 2" identifier = (binary_expression "puVar7 + 2" identifier + number_literal)) ;) (expression_statement "uVar3 = (ulong)puVar5 & 0xfffffffffffffff0;" (assignment_expression "uVar3 = (ulong)puVar5 & 0xfffffffffffffff0" identifier = (binary_expression "(ulong)puVar5 & 0xfffffffffffffff0" (cast_expression "(ulong)puVar5" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal)) ;) })) })) (expression_statement "puVar1 = (ulong *)((long)puVar7 + (long)puVar5);" (assignment_expression "puVar1 = (ulong *)((long)puVar7 + (long)puVar5)" identifier = (cast_expression "(ulong *)((long)puVar7 + (long)puVar5)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar7 + (long)puVar5)" ( (binary_expression "(long)puVar7 + (long)puVar5" (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)puVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (if_statement "if (puVar5 != (uchar *)0x0) {\n        uVar8 = (int)puVar1 - (int)puVar7 & 3;\n        if (uVar8 == 0) goto LAB_001641e7;\n        if (uVar8 != 1) {\n          puVar6 = puVar7;\n          if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }\n          iVar4 = pelmac->buflen;\n          puVar7 = (ulong *)((long)puVar6 + 1);\n          uVar3 = *puVar6;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n        }\n        puVar7 = (ulong *)((long)puVar7 + 1);\n        while( true ) {\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + -1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          if (puVar1 == puVar7) break;\nLAB_001641e7:\n          iVar4 = pelmac->buflen;\n          uVar3 = *puVar7;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 2);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          puVar7 = (ulong *)((long)puVar7 + 4);\n        }\n      }" if (parenthesized_expression "(puVar5 != (uchar *)0x0)" ( (binary_expression "puVar5 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar8 = (int)puVar1 - (int)puVar7 & 3;\n        if (uVar8 == 0) goto LAB_001641e7;\n        if (uVar8 != 1) {\n          puVar6 = puVar7;\n          if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }\n          iVar4 = pelmac->buflen;\n          puVar7 = (ulong *)((long)puVar6 + 1);\n          uVar3 = *puVar6;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n        }\n        puVar7 = (ulong *)((long)puVar7 + 1);\n        while( true ) {\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + -1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          if (puVar1 == puVar7) break;\nLAB_001641e7:\n          iVar4 = pelmac->buflen;\n          uVar3 = *puVar7;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 2);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          puVar7 = (ulong *)((long)puVar7 + 4);\n        }\n      }" { (expression_statement "uVar8 = (int)puVar1 - (int)puVar7 & 3;" (assignment_expression "uVar8 = (int)puVar1 - (int)puVar7 & 3" identifier = (binary_expression "(int)puVar1 - (int)puVar7 & 3" (binary_expression "(int)puVar1 - (int)puVar7" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if (uVar8 == 0) goto LAB_001641e7;" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001641e7;" goto statement_identifier ;)) (if_statement "if (uVar8 != 1) {\n          puVar6 = puVar7;\n          if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }\n          iVar4 = pelmac->buflen;\n          puVar7 = (ulong *)((long)puVar6 + 1);\n          uVar3 = *puVar6;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n        }" if (parenthesized_expression "(uVar8 != 1)" ( (binary_expression "uVar8 != 1" identifier != number_literal) )) (compound_statement "{\n          puVar6 = puVar7;\n          if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }\n          iVar4 = pelmac->buflen;\n          puVar7 = (ulong *)((long)puVar6 + 1);\n          uVar3 = *puVar6;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n        }" { (expression_statement "puVar6 = puVar7;" (assignment_expression "puVar6 = puVar7" identifier = identifier) ;) (if_statement "if (uVar8 != 2) {\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }" if (parenthesized_expression "(uVar8 != 2)" ( (binary_expression "uVar8 != 2" identifier != number_literal) )) (compound_statement "{\n            iVar4 = pelmac->buflen;\n            puVar6 = (ulong *)((long)puVar7 + 1);\n            uVar3 = *puVar7;\n            iVar9 = iVar4 + 1;\n            pelmac->buflen = iVar9;\n            pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n            if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }\n          }" { (expression_statement "iVar4 = pelmac->buflen;" (assignment_expression "iVar4 = pelmac->buflen" identifier = (field_expression "pelmac->buflen" identifier -> field_identifier)) ;) (expression_statement "puVar6 = (ulong *)((long)puVar7 + 1);" (assignment_expression "puVar6 = (ulong *)((long)puVar7 + 1)" identifier = (cast_expression "(ulong *)((long)puVar7 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar7 + 1)" ( (binary_expression "(long)puVar7 + 1" (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "uVar3 = *puVar7;" (assignment_expression "uVar3 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "pelmac->buflen = iVar9;" (assignment_expression "pelmac->buflen = iVar9" (field_expression "pelmac->buflen" identifier -> field_identifier) = identifier) ;) (expression_statement "pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;" (assignment_expression "pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) = (binary_expression "pelmac->state[iVar4] ^ (byte)uVar3" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) ^ (cast_expression "(byte)uVar3" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (if_statement "if (iVar9 == 0x10) {\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }" if (parenthesized_expression "(iVar9 == 0x10)" ( (binary_expression "iVar9 == 0x10" identifier == number_literal) )) (compound_statement "{\n              _four_rounds(pelmac);\n              pelmac->buflen = 0;\n            }" { (expression_statement "_four_rounds(pelmac);" (call_expression "_four_rounds(pelmac)" identifier (argument_list "(pelmac)" ( identifier ))) ;) (expression_statement "pelmac->buflen = 0;" (assignment_expression "pelmac->buflen = 0" (field_expression "pelmac->buflen" identifier -> field_identifier) = number_literal) ;) })) })) (expression_statement "iVar4 = pelmac->buflen;" (assignment_expression "iVar4 = pelmac->buflen" identifier = (field_expression "pelmac->buflen" identifier -> field_identifier)) ;) (expression_statement "puVar7 = (ulong *)((long)puVar6 + 1);" (assignment_expression "puVar7 = (ulong *)((long)puVar6 + 1)" identifier = (cast_expression "(ulong *)((long)puVar6 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar6 + 1)" ( (binary_expression "(long)puVar6 + 1" (cast_expression "(long)puVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "uVar3 = *puVar6;" (assignment_expression "uVar3 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "pelmac->buflen = iVar9;" (assignment_expression "pelmac->buflen = iVar9" (field_expression "pelmac->buflen" identifier -> field_identifier) = identifier) ;) (expression_statement "pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;" (assignment_expression "pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) = (binary_expression "pelmac->state[iVar4] ^ (byte)uVar3" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) ^ (cast_expression "(byte)uVar3" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (if_statement "if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }" if (parenthesized_expression "(iVar9 == 0x10)" ( (binary_expression "iVar9 == 0x10" identifier == number_literal) )) (compound_statement "{\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }" { (expression_statement "_four_rounds(pelmac);" (call_expression "_four_rounds(pelmac)" identifier (argument_list "(pelmac)" ( identifier ))) ;) (expression_statement "pelmac->buflen = 0;" (assignment_expression "pelmac->buflen = 0" (field_expression "pelmac->buflen" identifier -> field_identifier) = number_literal) ;) })) })) (expression_statement "puVar7 = (ulong *)((long)puVar7 + 1);" (assignment_expression "puVar7 = (ulong *)((long)puVar7 + 1)" identifier = (cast_expression "(ulong *)((long)puVar7 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar7 + 1)" ( (binary_expression "(long)puVar7 + 1" (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (while_statement "while( true ) {\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + -1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          if (puVar1 == puVar7) break;\nLAB_001641e7:\n          iVar4 = pelmac->buflen;\n          uVar3 = *puVar7;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 2);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          puVar7 = (ulong *)((long)puVar7 + 4);\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + -1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          if (puVar1 == puVar7) break;\nLAB_001641e7:\n          iVar4 = pelmac->buflen;\n          uVar3 = *puVar7;\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 1);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          iVar4 = pelmac->buflen;\n          bVar2 = *(byte *)((long)puVar7 + 2);\n          iVar9 = iVar4 + 1;\n          pelmac->buflen = iVar9;\n          pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;\n          if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }\n          puVar7 = (ulong *)((long)puVar7 + 4);\n        }" { (expression_statement "iVar4 = pelmac->buflen;" (assignment_expression "iVar4 = pelmac->buflen" identifier = (field_expression "pelmac->buflen" identifier -> field_identifier)) ;) (expression_statement "bVar2 = *(byte *)((long)puVar7 + -1);" (assignment_expression "bVar2 = *(byte *)((long)puVar7 + -1)" identifier = (pointer_expression "*(byte *)((long)puVar7 + -1)" * (cast_expression "(byte *)((long)puVar7 + -1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar7 + -1)" ( (binary_expression "(long)puVar7 + -1" (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "pelmac->buflen = iVar9;" (assignment_expression "pelmac->buflen = iVar9" (field_expression "pelmac->buflen" identifier -> field_identifier) = identifier) ;) (expression_statement "pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;" (assignment_expression "pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) = (binary_expression "pelmac->state[iVar4] ^ bVar2" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) ^ identifier)) ;) (if_statement "if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }" if (parenthesized_expression "(iVar9 == 0x10)" ( (binary_expression "iVar9 == 0x10" identifier == number_literal) )) (compound_statement "{\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }" { (expression_statement "_four_rounds(pelmac);" (call_expression "_four_rounds(pelmac)" identifier (argument_list "(pelmac)" ( identifier ))) ;) (expression_statement "pelmac->buflen = 0;" (assignment_expression "pelmac->buflen = 0" (field_expression "pelmac->buflen" identifier -> field_identifier) = number_literal) ;) })) (if_statement "if (puVar1 == puVar7) break;" if (parenthesized_expression "(puVar1 == puVar7)" ( (binary_expression "puVar1 == puVar7" identifier == identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_001641e7:\n          iVar4 = pelmac->buflen;" statement_identifier : (expression_statement "iVar4 = pelmac->buflen;" (assignment_expression "iVar4 = pelmac->buflen" identifier = (field_expression "pelmac->buflen" identifier -> field_identifier)) ;)) (expression_statement "uVar3 = *puVar7;" (assignment_expression "uVar3 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "pelmac->buflen = iVar9;" (assignment_expression "pelmac->buflen = iVar9" (field_expression "pelmac->buflen" identifier -> field_identifier) = identifier) ;) (expression_statement "pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3;" (assignment_expression "pelmac->state[iVar4] = pelmac->state[iVar4] ^ (byte)uVar3" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) = (binary_expression "pelmac->state[iVar4] ^ (byte)uVar3" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) ^ (cast_expression "(byte)uVar3" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (if_statement "if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }" if (parenthesized_expression "(iVar9 == 0x10)" ( (binary_expression "iVar9 == 0x10" identifier == number_literal) )) (compound_statement "{\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }" { (expression_statement "_four_rounds(pelmac);" (call_expression "_four_rounds(pelmac)" identifier (argument_list "(pelmac)" ( identifier ))) ;) (expression_statement "pelmac->buflen = 0;" (assignment_expression "pelmac->buflen = 0" (field_expression "pelmac->buflen" identifier -> field_identifier) = number_literal) ;) })) (expression_statement "iVar4 = pelmac->buflen;" (assignment_expression "iVar4 = pelmac->buflen" identifier = (field_expression "pelmac->buflen" identifier -> field_identifier)) ;) (expression_statement "bVar2 = *(byte *)((long)puVar7 + 1);" (assignment_expression "bVar2 = *(byte *)((long)puVar7 + 1)" identifier = (pointer_expression "*(byte *)((long)puVar7 + 1)" * (cast_expression "(byte *)((long)puVar7 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar7 + 1)" ( (binary_expression "(long)puVar7 + 1" (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "pelmac->buflen = iVar9;" (assignment_expression "pelmac->buflen = iVar9" (field_expression "pelmac->buflen" identifier -> field_identifier) = identifier) ;) (expression_statement "pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;" (assignment_expression "pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) = (binary_expression "pelmac->state[iVar4] ^ bVar2" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) ^ identifier)) ;) (if_statement "if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }" if (parenthesized_expression "(iVar9 == 0x10)" ( (binary_expression "iVar9 == 0x10" identifier == number_literal) )) (compound_statement "{\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }" { (expression_statement "_four_rounds(pelmac);" (call_expression "_four_rounds(pelmac)" identifier (argument_list "(pelmac)" ( identifier ))) ;) (expression_statement "pelmac->buflen = 0;" (assignment_expression "pelmac->buflen = 0" (field_expression "pelmac->buflen" identifier -> field_identifier) = number_literal) ;) })) (expression_statement "iVar4 = pelmac->buflen;" (assignment_expression "iVar4 = pelmac->buflen" identifier = (field_expression "pelmac->buflen" identifier -> field_identifier)) ;) (expression_statement "bVar2 = *(byte *)((long)puVar7 + 2);" (assignment_expression "bVar2 = *(byte *)((long)puVar7 + 2)" identifier = (pointer_expression "*(byte *)((long)puVar7 + 2)" * (cast_expression "(byte *)((long)puVar7 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar7 + 2)" ( (binary_expression "(long)puVar7 + 2" (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar9 = iVar4 + 1;" (assignment_expression "iVar9 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "pelmac->buflen = iVar9;" (assignment_expression "pelmac->buflen = iVar9" (field_expression "pelmac->buflen" identifier -> field_identifier) = identifier) ;) (expression_statement "pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2;" (assignment_expression "pelmac->state[iVar4] = pelmac->state[iVar4] ^ bVar2" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) = (binary_expression "pelmac->state[iVar4] ^ bVar2" (subscript_expression "pelmac->state[iVar4]" (field_expression "pelmac->state" identifier -> field_identifier) [ identifier ]) ^ identifier)) ;) (if_statement "if (iVar9 == 0x10) {\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }" if (parenthesized_expression "(iVar9 == 0x10)" ( (binary_expression "iVar9 == 0x10" identifier == number_literal) )) (compound_statement "{\n            _four_rounds(pelmac);\n            pelmac->buflen = 0;\n          }" { (expression_statement "_four_rounds(pelmac);" (call_expression "_four_rounds(pelmac)" identifier (argument_list "(pelmac)" ( identifier ))) ;) (expression_statement "pelmac->buflen = 0;" (assignment_expression "pelmac->buflen = 0" (field_expression "pelmac->buflen" identifier -> field_identifier) = number_literal) ;) })) (expression_statement "puVar7 = (ulong *)((long)puVar7 + 4);" (assignment_expression "puVar7 = (ulong *)((long)puVar7 + 4)" identifier = (cast_expression "(ulong *)((long)puVar7 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar7 + 4)" ( (binary_expression "(long)puVar7 + 4" (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) })) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) })) (return_statement "return iVar4;" return identifier ;) })) comment (expression_statement "crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);" (call_expression "crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67)" identifier (argument_list "("in != NULL","src/mac/pelican/pelican.c",0x67)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/mac/pelican/pelican.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "undefined8 pelican_process(long param_1,ulong *param_2,byte *param_3)\n\n{\n  ulong *puVar1;\n  byte bVar2;\n  int iVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  byte *pbVar6;\n  ulong *puVar7;\n  ulong *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }\n  if (param_2 != (ulong *)0x0) {\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }\n                    \n  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);\n}\n\n" (function_definition "undefined8 pelican_process(long param_1,ulong *param_2,byte *param_3)\n\n{\n  ulong *puVar1;\n  byte bVar2;\n  int iVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  byte *pbVar6;\n  ulong *puVar7;\n  ulong *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }\n  if (param_2 != (ulong *)0x0) {\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }\n                    \n  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);\n}" type_identifier (function_declarator "pelican_process(long param_1,ulong *param_2,byte *param_3)" identifier (parameter_list "(long param_1,ulong *param_2,byte *param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  ulong *puVar1;\n  byte bVar2;\n  int iVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  byte *pbVar6;\n  ulong *puVar7;\n  ulong *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }\n  if (param_2 != (ulong *)0x0) {\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }\n                    \n  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "ulong *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "ulong *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }" { (expression_statement "crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);" (call_expression "crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66)" identifier (argument_list "("pelmac != NULL","src/mac/pelican/pelican.c",0x66)" ( (string_literal ""pelmac != NULL"" " string_content ") , (string_literal ""src/mac/pelican/pelican.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 != (ulong *)0x0) {\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }" if (parenthesized_expression "(param_2 != (ulong *)0x0)" ( (binary_expression "param_2 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }" { (expression_statement "uVar5 = 0x10;" (assignment_expression "uVar5 = 0x10" identifier = number_literal) ;) (if_statement "if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }" if (parenthesized_expression "(*(uint *)(param_1 + 0x10b0) < 0x10)" ( (binary_expression "*(uint *)(param_1 + 0x10b0) < 0x10" (pointer_expression "*(uint *)(param_1 + 0x10b0)" * (cast_expression "(uint *)(param_1 + 0x10b0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }" { (expression_statement "pbVar6 = param_3;" (assignment_expression "pbVar6 = param_3" identifier = identifier) ;) (expression_statement "puVar8 = param_2;" (assignment_expression "puVar8 = param_2" identifier = identifier) ;) (if_statement "if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }" if (parenthesized_expression "(*(uint *)(param_1 + 0x10b0) == 0)" ( (binary_expression "*(uint *)(param_1 + 0x10b0) == 0" (pointer_expression "*(uint *)(param_1 + 0x10b0)" * (cast_expression "(uint *)(param_1 + 0x10b0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }" { (expression_statement "uVar4 = (ulong)param_3 & 0xfffffffffffffff0;" (assignment_expression "uVar4 = (ulong)param_3 & 0xfffffffffffffff0" identifier = (binary_expression "(ulong)param_3 & 0xfffffffffffffff0" (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal)) ;) (while_statement "while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }" while (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }" { (expression_statement "*(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;" (assignment_expression "*(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8" (pointer_expression "*(ulong *)(param_1 + 0x10a0)" * (cast_expression "(ulong *)(param_1 + 0x10a0)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0)" ( (binary_expression "param_1 + 0x10a0" identifier + number_literal) )))) = (binary_expression "*(ulong *)(param_1 + 0x10a0) ^ *puVar8" (pointer_expression "*(ulong *)(param_1 + 0x10a0)" * (cast_expression "(ulong *)(param_1 + 0x10a0)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0)" ( (binary_expression "param_1 + 0x10a0" identifier + number_literal) )))) ^ (pointer_expression "*puVar8" * identifier))) ;) (expression_statement "*(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];" (assignment_expression "*(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1]" (pointer_expression "*(ulong *)(param_1 + 0x10a8)" * (cast_expression "(ulong *)(param_1 + 0x10a8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a8)" ( (binary_expression "param_1 + 0x10a8" identifier + number_literal) )))) = (binary_expression "*(ulong *)(param_1 + 0x10a8) ^ puVar8[1]" (pointer_expression "*(ulong *)(param_1 + 0x10a8)" * (cast_expression "(ulong *)(param_1 + 0x10a8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a8)" ( (binary_expression "param_1 + 0x10a8" identifier + number_literal) )))) ^ (subscript_expression "puVar8[1]" identifier [ number_literal ]))) ;) (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));" (assignment_expression "pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)))" identifier = (cast_expression "(byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)))" ( (binary_expression "(long)param_2 + ((long)param_3 - (long)(puVar8 + 2))" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (parenthesized_expression "((long)param_3 - (long)(puVar8 + 2))" ( (binary_expression "(long)param_3 - (long)(puVar8 + 2)" (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)(puVar8 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(puVar8 + 2)" ( (binary_expression "puVar8 + 2" identifier + number_literal) )))) ))) )))) ;) (expression_statement "puVar8 = puVar8 + 2;" (assignment_expression "puVar8 = puVar8 + 2" identifier = (binary_expression "puVar8 + 2" identifier + number_literal)) ;) (expression_statement "uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;" (assignment_expression "uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0" identifier = (binary_expression "(ulong)pbVar6 & 0xfffffffffffffff0" (cast_expression "(ulong)pbVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal)) ;) })) })) (expression_statement "puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);" (assignment_expression "puVar1 = (ulong *)((long)puVar8 + (long)pbVar6)" identifier = (cast_expression "(ulong *)((long)puVar8 + (long)pbVar6)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + (long)pbVar6)" ( (binary_expression "(long)puVar8 + (long)pbVar6" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)pbVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (if_statement "if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }" if (parenthesized_expression "(pbVar6 != (byte *)0x0)" ( (binary_expression "pbVar6 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }" { (expression_statement "uVar9 = (int)puVar1 - (int)puVar8 & 3;" (assignment_expression "uVar9 = (int)puVar1 - (int)puVar8 & 3" identifier = (binary_expression "(int)puVar1 - (int)puVar8 & 3" (binary_expression "(int)puVar1 - (int)puVar8" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if (uVar9 == 0) goto LAB_001641e7;" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001641e7;" goto statement_identifier ;)) (if_statement "if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }" if (parenthesized_expression "(uVar9 != 1)" ( (binary_expression "uVar9 != 1" identifier != number_literal) )) (compound_statement "{\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }" { (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) (if_statement "if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }" if (parenthesized_expression "(uVar9 != 2)" ( (binary_expression "uVar9 != 2" identifier != number_literal) )) (compound_statement "{\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;) (expression_statement "puVar7 = (ulong *)((long)puVar8 + 1);" (assignment_expression "puVar7 = (ulong *)((long)puVar8 + 1)" identifier = (cast_expression "(ulong *)((long)puVar8 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + 1)" ( (binary_expression "(long)puVar8 + 1" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "uVar4 = *puVar8;" (assignment_expression "uVar4 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ (byte)uVar4;" (assignment_expression "*pbVar6 = *pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) ^ (cast_expression "(byte)uVar4" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (if_statement "if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;) (expression_statement "puVar8 = (ulong *)((long)puVar7 + 1);" (assignment_expression "puVar8 = (ulong *)((long)puVar7 + 1)" identifier = (cast_expression "(ulong *)((long)puVar7 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar7 + 1)" ( (binary_expression "(long)puVar7 + 1" (cast_expression "(long)puVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "uVar4 = *puVar7;" (assignment_expression "uVar4 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ (byte)uVar4;" (assignment_expression "*pbVar6 = *pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) ^ (cast_expression "(byte)uVar4" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) })) (expression_statement "puVar8 = (ulong *)((long)puVar8 + 1);" (assignment_expression "puVar8 = (ulong *)((long)puVar8 + 1)" identifier = (cast_expression "(ulong *)((long)puVar8 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + 1)" ( (binary_expression "(long)puVar8 + 1" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (while_statement "while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = *(byte *)((long)puVar8 + -1);" (assignment_expression "bVar2 = *(byte *)((long)puVar8 + -1)" identifier = (pointer_expression "*(byte *)((long)puVar8 + -1)" * (cast_expression "(byte *)((long)puVar8 + -1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + -1)" ( (binary_expression "(long)puVar8 + -1" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ bVar2;" (assignment_expression "*pbVar6 = *pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) ^ identifier)) ;) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if (puVar1 == puVar8) break;" if (parenthesized_expression "(puVar1 == puVar8)" ( (binary_expression "puVar1 == puVar8" identifier == identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);" statement_identifier : (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;)) (expression_statement "uVar4 = *puVar8;" (assignment_expression "uVar4 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ (byte)uVar4;" (assignment_expression "*pbVar6 = *pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" * identifier) ^ (cast_expression "(byte)uVar4" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = *(byte *)((long)puVar8 + 1);" (assignment_expression "bVar2 = *(byte *)((long)puVar8 + 1)" identifier = (pointer_expression "*(byte *)((long)puVar8 + 1)" * (cast_expression "(byte *)((long)puVar8 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + 1)" ( (binary_expression "(long)puVar8 + 1" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ bVar2;" (assignment_expression "*pbVar6 = *pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) ^ identifier)) ;) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" identifier = (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = *(byte *)((long)puVar8 + 2);" (assignment_expression "bVar2 = *(byte *)((long)puVar8 + 2)" identifier = (pointer_expression "*(byte *)((long)puVar8 + 2)" * (cast_expression "(byte *)((long)puVar8 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + 2)" ( (binary_expression "(long)puVar8 + 2" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" * (cast_expression "(int *)(param_1 + 0x10b0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" identifier = (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" ( (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" identifier + number_literal) + (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "*pbVar6 = *pbVar6 ^ bVar2;" (assignment_expression "*pbVar6 = *pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) = (binary_expression "*pbVar6 ^ bVar2" (pointer_expression "*pbVar6" * identifier) ^ identifier)) ;) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" if (parenthesized_expression "(iVar10 == 0x10)" ( (binary_expression "iVar10 == 0x10" identifier == number_literal) )) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" { (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" * (cast_expression "(undefined4 *)(param_1 + 0x10b0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10b0)" ( (binary_expression "param_1 + 0x10b0" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar8 = (ulong *)((long)puVar8 + 4);" (assignment_expression "puVar8 = (ulong *)((long)puVar8 + 4)" identifier = (cast_expression "(ulong *)((long)puVar8 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar8 + 4)" ( (binary_expression "(long)puVar8 + 4" (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) })) })) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (return_statement "return uVar5;" return identifier ;) })) (expression_statement "crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);" (call_expression "crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67)" identifier (argument_list "("in != NULL","src/mac/pelican/pelican.c",0x67)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/mac/pelican/pelican.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ^ (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ^ (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT)) ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) ;) (while_statement while (parenthesized_expression ( BOOL )) (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 (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (labeled_statement statement_identifier : (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 * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "undefined8 pelican_process(long param_1,ulong *param_2,byte *param_3)\n\n{\n  ulong *puVar1;\n  byte bVar2;\n  int iVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  byte *pbVar6;\n  ulong *puVar7;\n  ulong *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }\n  if (param_2 != (ulong *)0x0) {\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }\n                    \n  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);\n}" (type_identifier "undefined8") (function_declarator "pelican_process(long param_1,ulong *param_2,byte *param_3)" (identifier "pelican_process") (parameter_list "(long param_1,ulong *param_2,byte *param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "ulong *param_2" (type_identifier "ulong") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "byte *param_3" (type_identifier "byte") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  ulong *puVar1;\n  byte bVar2;\n  int iVar3;\n  ulong uVar4;\n  undefined8 uVar5;\n  byte *pbVar6;\n  ulong *puVar7;\n  ulong *puVar8;\n  uint uVar9;\n  int iVar10;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }\n  if (param_2 != (ulong *)0x0) {\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }\n                    \n  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);\n}" ({ "{") (declaration "ulong *puVar1;" (type_identifier "ulong") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "ulong *puVar7;" (type_identifier "ulong") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "ulong *puVar8;" (type_identifier "ulong") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);\n  }" ({ "{") (expression_statement "crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);" (call_expression "crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66)" (identifier "crypt_argchk") (argument_list "("pelmac != NULL","src/mac/pelican/pelican.c",0x66)" (( "(") (string_literal ""pelmac != NULL"" (" """) (string_content "pelmac != NULL") (" """)) (, ",") (string_literal ""src/mac/pelican/pelican.c"" (" """) (string_content "src/mac/pelican/pelican.c") (" """)) (, ",") (number_literal "0x66") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 != (ulong *)0x0) {\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }" (if "if") (parenthesized_expression "(param_2 != (ulong *)0x0)" (( "(") (binary_expression "param_2 != (ulong *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar5 = 0x10;\n    if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }\n    return uVar5;\n  }" ({ "{") (expression_statement "uVar5 = 0x10;" (assignment_expression "uVar5 = 0x10" (identifier "uVar5") (= "=") (number_literal "0x10")) (; ";")) (if_statement "if (*(uint *)(param_1 + 0x10b0) < 0x10) {\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 0x10b0) < 0x10)" (( "(") (binary_expression "*(uint *)(param_1 + 0x10b0) < 0x10" (pointer_expression "*(uint *)(param_1 + 0x10b0)" (* "*") (cast_expression "(uint *)(param_1 + 0x10b0)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (< "<") (number_literal "0x10")) () ")")) (compound_statement "{\n      pbVar6 = param_3;\n      puVar8 = param_2;\n      if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }\n      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);\n      if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }\n      uVar5 = 0;\n    }" ({ "{") (expression_statement "pbVar6 = param_3;" (assignment_expression "pbVar6 = param_3" (identifier "pbVar6") (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar8 = param_2;" (assignment_expression "puVar8 = param_2" (identifier "puVar8") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (*(uint *)(param_1 + 0x10b0) == 0) {\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 0x10b0) == 0)" (( "(") (binary_expression "*(uint *)(param_1 + 0x10b0) == 0" (pointer_expression "*(uint *)(param_1 + 0x10b0)" (* "*") (cast_expression "(uint *)(param_1 + 0x10b0)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;\n        while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }\n      }" ({ "{") (expression_statement "uVar4 = (ulong)param_3 & 0xfffffffffffffff0;" (assignment_expression "uVar4 = (ulong)param_3 & 0xfffffffffffffff0" (identifier "uVar4") (= "=") (binary_expression "(ulong)param_3 & 0xfffffffffffffff0" (cast_expression "(ulong)param_3" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_3")) (& "&") (number_literal "0xfffffffffffffff0"))) (; ";")) (while_statement "while (uVar4 != 0) {\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }" (while "while") (parenthesized_expression "(uVar4 != 0)" (( "(") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;\n          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];\n          FUN_00163cf0(param_1);\n          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));\n          puVar8 = puVar8 + 2;\n          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;\n        }" ({ "{") (expression_statement "*(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;" (assignment_expression "*(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8" (pointer_expression "*(ulong *)(param_1 + 0x10a0)" (* "*") (cast_expression "(ulong *)(param_1 + 0x10a0)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10a0)" (( "(") (binary_expression "param_1 + 0x10a0" (identifier "param_1") (+ "+") (number_literal "0x10a0")) () ")")))) (= "=") (binary_expression "*(ulong *)(param_1 + 0x10a0) ^ *puVar8" (pointer_expression "*(ulong *)(param_1 + 0x10a0)" (* "*") (cast_expression "(ulong *)(param_1 + 0x10a0)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10a0)" (( "(") (binary_expression "param_1 + 0x10a0" (identifier "param_1") (+ "+") (number_literal "0x10a0")) () ")")))) (^ "^") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")))) (; ";")) (expression_statement "*(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];" (assignment_expression "*(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1]" (pointer_expression "*(ulong *)(param_1 + 0x10a8)" (* "*") (cast_expression "(ulong *)(param_1 + 0x10a8)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10a8)" (( "(") (binary_expression "param_1 + 0x10a8" (identifier "param_1") (+ "+") (number_literal "0x10a8")) () ")")))) (= "=") (binary_expression "*(ulong *)(param_1 + 0x10a8) ^ puVar8[1]" (pointer_expression "*(ulong *)(param_1 + 0x10a8)" (* "*") (cast_expression "(ulong *)(param_1 + 0x10a8)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10a8)" (( "(") (binary_expression "param_1 + 0x10a8" (identifier "param_1") (+ "+") (number_literal "0x10a8")) () ")")))) (^ "^") (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" (identifier "FUN_00163cf0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));" (assignment_expression "pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)))" (identifier "pbVar6") (= "=") (cast_expression "(byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)))" (( "(") (binary_expression "(long)param_2 + ((long)param_3 - (long)(puVar8 + 2))" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (+ "+") (parenthesized_expression "((long)param_3 - (long)(puVar8 + 2))" (( "(") (binary_expression "(long)param_3 - (long)(puVar8 + 2)" (cast_expression "(long)param_3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_3")) (- "-") (cast_expression "(long)(puVar8 + 2)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(puVar8 + 2)" (( "(") (binary_expression "puVar8 + 2" (identifier "puVar8") (+ "+") (number_literal "2")) () ")")))) () ")"))) () ")")))) (; ";")) (expression_statement "puVar8 = puVar8 + 2;" (assignment_expression "puVar8 = puVar8 + 2" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 2" (identifier "puVar8") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;" (assignment_expression "uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0" (identifier "uVar4") (= "=") (binary_expression "(ulong)pbVar6 & 0xfffffffffffffff0" (cast_expression "(ulong)pbVar6" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "pbVar6")) (& "&") (number_literal "0xfffffffffffffff0"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);" (assignment_expression "puVar1 = (ulong *)((long)puVar8 + (long)pbVar6)" (identifier "puVar1") (= "=") (cast_expression "(ulong *)((long)puVar8 + (long)pbVar6)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar8 + (long)pbVar6)" (( "(") (binary_expression "(long)puVar8 + (long)pbVar6" (cast_expression "(long)puVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar8")) (+ "+") (cast_expression "(long)pbVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar6"))) () ")")))) (; ";")) (if_statement "if (pbVar6 != (byte *)0x0) {\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }" (if "if") (parenthesized_expression "(pbVar6 != (byte *)0x0)" (( "(") (binary_expression "pbVar6 != (byte *)0x0" (identifier "pbVar6") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        uVar9 = (int)puVar1 - (int)puVar8 & 3;\n        if (uVar9 == 0) goto LAB_001641e7;\n        if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }\n        puVar8 = (ulong *)((long)puVar8 + 1);\n        while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }\n      }" ({ "{") (expression_statement "uVar9 = (int)puVar1 - (int)puVar8 & 3;" (assignment_expression "uVar9 = (int)puVar1 - (int)puVar8 & 3" (identifier "uVar9") (= "=") (binary_expression "(int)puVar1 - (int)puVar8 & 3" (binary_expression "(int)puVar1 - (int)puVar8" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (- "-") (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8"))) (& "&") (number_literal "3"))) (; ";")) (if_statement "if (uVar9 == 0) goto LAB_001641e7;" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001641e7;" (goto "goto") (statement_identifier "LAB_001641e7") (; ";"))) (if_statement "if (uVar9 != 1) {\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }" (if "if") (parenthesized_expression "(uVar9 != 1)" (( "(") (binary_expression "uVar9 != 1" (identifier "uVar9") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n          puVar7 = puVar8;\n          if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          puVar8 = (ulong *)((long)puVar7 + 1);\n          uVar4 = *puVar7;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n        }" ({ "{") (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" (identifier "puVar7") (= "=") (identifier "puVar8")) (; ";")) (if_statement "if (uVar9 != 2) {\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }" (if "if") (parenthesized_expression "(uVar9 != 2)" (( "(") (binary_expression "uVar9 != 2" (identifier "uVar9") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n            iVar3 = *(int *)(param_1 + 0x10b0);\n            puVar7 = (ulong *)((long)puVar8 + 1);\n            uVar4 = *puVar8;\n            iVar10 = iVar3 + 1;\n            *(int *)(param_1 + 0x10b0) = iVar10;\n            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n            *pbVar6 = *pbVar6 ^ (byte)uVar4;\n            if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }\n          }" ({ "{") (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")"))))) (; ";")) (expression_statement "puVar7 = (ulong *)((long)puVar8 + 1);" (assignment_expression "puVar7 = (ulong *)((long)puVar8 + 1)" (identifier "puVar7") (= "=") (cast_expression "(ulong *)((long)puVar8 + 1)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar8 + 1)" (( "(") (binary_expression "(long)puVar8 + 1" (cast_expression "(long)puVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar8")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar4 = *puVar8;" (assignment_expression "uVar4 = *puVar8" (identifier "uVar4") (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" (identifier "pbVar6") (= "=") (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" (( "(") (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" (identifier "param_1") (+ "+") (number_literal "0x10a0")) (+ "+") (cast_expression "(long)iVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar3"))) () ")")))) (; ";")) (expression_statement "*pbVar6 = *pbVar6 ^ (byte)uVar4;" (assignment_expression "*pbVar6 = *pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (= "=") (binary_expression "*pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (^ "^") (cast_expression "(byte)uVar4" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar4")))) (; ";")) (if_statement "if (iVar10 == 0x10) {\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }" (if "if") (parenthesized_expression "(iVar10 == 0x10)" (( "(") (binary_expression "iVar10 == 0x10" (identifier "iVar10") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n              FUN_00163cf0(param_1);\n              *(undefined4 *)(param_1 + 0x10b0) = 0;\n            }" ({ "{") (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" (identifier "FUN_00163cf0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10b0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")"))))) (; ";")) (expression_statement "puVar8 = (ulong *)((long)puVar7 + 1);" (assignment_expression "puVar8 = (ulong *)((long)puVar7 + 1)" (identifier "puVar8") (= "=") (cast_expression "(ulong *)((long)puVar7 + 1)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar7 + 1)" (( "(") (binary_expression "(long)puVar7 + 1" (cast_expression "(long)puVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar7")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar4 = *puVar7;" (assignment_expression "uVar4 = *puVar7" (identifier "uVar4") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" (identifier "pbVar6") (= "=") (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" (( "(") (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" (identifier "param_1") (+ "+") (number_literal "0x10a0")) (+ "+") (cast_expression "(long)iVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar3"))) () ")")))) (; ";")) (expression_statement "*pbVar6 = *pbVar6 ^ (byte)uVar4;" (assignment_expression "*pbVar6 = *pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (= "=") (binary_expression "*pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (^ "^") (cast_expression "(byte)uVar4" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar4")))) (; ";")) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" (if "if") (parenthesized_expression "(iVar10 == 0x10)" (( "(") (binary_expression "iVar10 == 0x10" (identifier "iVar10") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" ({ "{") (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" (identifier "FUN_00163cf0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10b0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar8 = (ulong *)((long)puVar8 + 1);" (assignment_expression "puVar8 = (ulong *)((long)puVar8 + 1)" (identifier "puVar8") (= "=") (cast_expression "(ulong *)((long)puVar8 + 1)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar8 + 1)" (( "(") (binary_expression "(long)puVar8 + 1" (cast_expression "(long)puVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar8")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (while_statement "while( true ) {\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + -1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          if (puVar1 == puVar8) break;\nLAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          uVar4 = *puVar8;\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ (byte)uVar4;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 1);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          iVar3 = *(int *)(param_1 + 0x10b0);\n          bVar2 = *(byte *)((long)puVar8 + 2);\n          iVar10 = iVar3 + 1;\n          *(int *)(param_1 + 0x10b0) = iVar10;\n          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);\n          *pbVar6 = *pbVar6 ^ bVar2;\n          if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }\n          puVar8 = (ulong *)((long)puVar8 + 4);\n        }" ({ "{") (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")"))))) (; ";")) (expression_statement "bVar2 = *(byte *)((long)puVar8 + -1);" (assignment_expression "bVar2 = *(byte *)((long)puVar8 + -1)" (identifier "bVar2") (= "=") (pointer_expression "*(byte *)((long)puVar8 + -1)" (* "*") (cast_expression "(byte *)((long)puVar8 + -1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar8 + -1)" (( "(") (binary_expression "(long)puVar8 + -1" (cast_expression "(long)puVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar8")) (+ "+") (number_literal "-1")) () ")"))))) (; ";")) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" (identifier "pbVar6") (= "=") (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" (( "(") (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" (identifier "param_1") (+ "+") (number_literal "0x10a0")) (+ "+") (cast_expression "(long)iVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar3"))) () ")")))) (; ";")) (expression_statement "*pbVar6 = *pbVar6 ^ bVar2;" (assignment_expression "*pbVar6 = *pbVar6 ^ bVar2" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (= "=") (binary_expression "*pbVar6 ^ bVar2" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (^ "^") (identifier "bVar2"))) (; ";")) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" (if "if") (parenthesized_expression "(iVar10 == 0x10)" (( "(") (binary_expression "iVar10 == 0x10" (identifier "iVar10") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" ({ "{") (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" (identifier "FUN_00163cf0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10b0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (puVar1 == puVar8) break;" (if "if") (parenthesized_expression "(puVar1 == puVar8)" (( "(") (binary_expression "puVar1 == puVar8" (identifier "puVar1") (== "==") (identifier "puVar8")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_001641e7:\n          iVar3 = *(int *)(param_1 + 0x10b0);" (statement_identifier "LAB_001641e7") (: ":") (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")"))))) (; ";"))) (expression_statement "uVar4 = *puVar8;" (assignment_expression "uVar4 = *puVar8" (identifier "uVar4") (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" (identifier "pbVar6") (= "=") (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" (( "(") (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" (identifier "param_1") (+ "+") (number_literal "0x10a0")) (+ "+") (cast_expression "(long)iVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar3"))) () ")")))) (; ";")) (expression_statement "*pbVar6 = *pbVar6 ^ (byte)uVar4;" (assignment_expression "*pbVar6 = *pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (= "=") (binary_expression "*pbVar6 ^ (byte)uVar4" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (^ "^") (cast_expression "(byte)uVar4" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar4")))) (; ";")) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" (if "if") (parenthesized_expression "(iVar10 == 0x10)" (( "(") (binary_expression "iVar10 == 0x10" (identifier "iVar10") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" ({ "{") (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" (identifier "FUN_00163cf0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10b0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")"))))) (; ";")) (expression_statement "bVar2 = *(byte *)((long)puVar8 + 1);" (assignment_expression "bVar2 = *(byte *)((long)puVar8 + 1)" (identifier "bVar2") (= "=") (pointer_expression "*(byte *)((long)puVar8 + 1)" (* "*") (cast_expression "(byte *)((long)puVar8 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar8 + 1)" (( "(") (binary_expression "(long)puVar8 + 1" (cast_expression "(long)puVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar8")) (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" (identifier "pbVar6") (= "=") (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" (( "(") (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" (identifier "param_1") (+ "+") (number_literal "0x10a0")) (+ "+") (cast_expression "(long)iVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar3"))) () ")")))) (; ";")) (expression_statement "*pbVar6 = *pbVar6 ^ bVar2;" (assignment_expression "*pbVar6 = *pbVar6 ^ bVar2" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (= "=") (binary_expression "*pbVar6 ^ bVar2" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (^ "^") (identifier "bVar2"))) (; ";")) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" (if "if") (parenthesized_expression "(iVar10 == 0x10)" (( "(") (binary_expression "iVar10 == 0x10" (identifier "iVar10") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" ({ "{") (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" (identifier "FUN_00163cf0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10b0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(param_1 + 0x10b0);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10b0)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")"))))) (; ";")) (expression_statement "bVar2 = *(byte *)((long)puVar8 + 2);" (assignment_expression "bVar2 = *(byte *)((long)puVar8 + 2)" (identifier "bVar2") (= "=") (pointer_expression "*(byte *)((long)puVar8 + 2)" (* "*") (cast_expression "(byte *)((long)puVar8 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar8 + 2)" (( "(") (binary_expression "(long)puVar8 + 2" (cast_expression "(long)puVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar8")) (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "iVar10 = iVar3 + 1;" (assignment_expression "iVar10 = iVar3 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x10b0) = iVar10;" (assignment_expression "*(int *)(param_1 + 0x10b0) = iVar10" (pointer_expression "*(int *)(param_1 + 0x10b0)" (* "*") (cast_expression "(int *)(param_1 + 0x10b0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);" (assignment_expression "pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3)" (identifier "pbVar6") (= "=") (cast_expression "(byte *)(param_1 + 0x10a0 + (long)iVar3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10a0 + (long)iVar3)" (( "(") (binary_expression "param_1 + 0x10a0 + (long)iVar3" (binary_expression "param_1 + 0x10a0" (identifier "param_1") (+ "+") (number_literal "0x10a0")) (+ "+") (cast_expression "(long)iVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar3"))) () ")")))) (; ";")) (expression_statement "*pbVar6 = *pbVar6 ^ bVar2;" (assignment_expression "*pbVar6 = *pbVar6 ^ bVar2" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (= "=") (binary_expression "*pbVar6 ^ bVar2" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (^ "^") (identifier "bVar2"))) (; ";")) (if_statement "if (iVar10 == 0x10) {\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" (if "if") (parenthesized_expression "(iVar10 == 0x10)" (( "(") (binary_expression "iVar10 == 0x10" (identifier "iVar10") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n            FUN_00163cf0(param_1);\n            *(undefined4 *)(param_1 + 0x10b0) = 0;\n          }" ({ "{") (expression_statement "FUN_00163cf0(param_1);" (call_expression "FUN_00163cf0(param_1)" (identifier "FUN_00163cf0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10b0) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10b0) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10b0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10b0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10b0)" (( "(") (binary_expression "param_1 + 0x10b0" (identifier "param_1") (+ "+") (number_literal "0x10b0")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "puVar8 = (ulong *)((long)puVar8 + 4);" (assignment_expression "puVar8 = (ulong *)((long)puVar8 + 4)" (identifier "puVar8") (= "=") (cast_expression "(ulong *)((long)puVar8 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar8 + 4)" (( "(") (binary_expression "(long)puVar8 + 4" (cast_expression "(long)puVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar8")) (+ "+") (number_literal "4")) () ")")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}"))) (expression_statement "crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);" (call_expression "crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67)" (identifier "crypt_argchk") (argument_list "("in != NULL","src/mac/pelican/pelican.c",0x67)" (( "(") (string_literal ""in != NULL"" (" """) (string_content "in != NULL") (" """)) (, ",") (string_literal ""src/mac/pelican/pelican.c"" (" """) (string_content "src/mac/pelican/pelican.c") (" """)) (, ",") (number_literal "0x67") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *var_1,type_2 *var_3,type_3 var_4)

{
  type_3 *var_13;
  type_4 var_12;
  type_3 var_5;
  int var_10;
  type_2 *var_8;
  type_3 *puVar6;
  type_3 *var_7;
  type_5 var_9;
  int var_11;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("pelmac != NULL","src/mac/pelican/pelican.c",0x66);
  }
  if (var_3 != (type_2 *)0x0) {
    var_10 = 0x10;
    if ((type_5)var_1->buflen < 0x10) {
      var_8 = (type_2 *)var_4;
      var_7 = (type_3 *)var_3;
      if (var_1->buflen == 0) {
        var_5 = var_4 & 0xfffffffffffffff0;
        while (var_5 != 0) {
          *(type_3 *)var_1->state = *(type_3 *)var_1->state ^ *var_7;
          *(type_3 *)(var_1->state + 8) = *(type_3 *)(var_1->state + 8) ^ var_7[1];
          var_6(var_1);
          var_8 = var_3 + (var_4 - (long)(var_7 + 2));
          var_7 = var_7 + 2;
          var_5 = (type_3)var_8 & 0xfffffffffffffff0;
        }
      }
      var_13 = (type_3 *)((long)var_7 + (long)var_8);
      if (var_8 != (type_2 *)0x0) {
        var_9 = (int)var_13 - (int)var_7 & 3;
        if (var_9 == 0) goto LAB_001641e7;
        if (var_9 != 1) {
          puVar6 = var_7;
          if (var_9 != 2) {
            var_10 = var_1->buflen;
            puVar6 = (type_3 *)((long)var_7 + 1);
            var_5 = *var_7;
            var_11 = var_10 + 1;
            var_1->buflen = var_11;
            var_1->state[var_10] = var_1->state[var_10] ^ (type_4)var_5;
            if (var_11 == 0x10) {
              var_6(var_1);
              var_1->buflen = 0;
            }
          }
          var_10 = var_1->buflen;
          var_7 = (type_3 *)((long)puVar6 + 1);
          var_5 = *puVar6;
          var_11 = var_10 + 1;
          var_1->buflen = var_11;
          var_1->state[var_10] = var_1->state[var_10] ^ (type_4)var_5;
          if (var_11 == 0x10) {
            var_6(var_1);
            var_1->buflen = 0;
          }
        }
        var_7 = (type_3 *)((long)var_7 + 1);
        while( true ) {
          var_10 = var_1->buflen;
          var_12 = *(type_4 *)((long)var_7 + -1);
          var_11 = var_10 + 1;
          var_1->buflen = var_11;
          var_1->state[var_10] = var_1->state[var_10] ^ var_12;
          if (var_11 == 0x10) {
            var_6(var_1);
            var_1->buflen = 0;
          }
          if (var_13 == var_7) break;
LAB_001641e7:
          var_10 = var_1->buflen;
          var_5 = *var_7;
          var_11 = var_10 + 1;
          var_1->buflen = var_11;
          var_1->state[var_10] = var_1->state[var_10] ^ (type_4)var_5;
          if (var_11 == 0x10) {
            var_6(var_1);
            var_1->buflen = 0;
          }
          var_10 = var_1->buflen;
          var_12 = *(type_4 *)((long)var_7 + 1);
          var_11 = var_10 + 1;
          var_1->buflen = var_11;
          var_1->state[var_10] = var_1->state[var_10] ^ var_12;
          if (var_11 == 0x10) {
            var_6(var_1);
            var_1->buflen = 0;
          }
          var_10 = var_1->buflen;
          var_12 = *(type_4 *)((long)var_7 + 2);
          var_11 = var_10 + 1;
          var_1->buflen = var_11;
          var_1->state[var_10] = var_1->state[var_10] ^ var_12;
          if (var_11 == 0x10) {
            var_6(var_1);
            var_1->buflen = 0;
          }
          var_7 = (type_3 *)((long)var_7 + 4);
        }
      }
      var_10 = 0;
    }
    return var_10;
  }
                    /* WARNING: Subroutine does not return */
  var_2("in != NULL","src/mac/pelican/pelican.c",0x67);
}


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

undefined8 MASKED(long param_1,ulong *param_2,byte *param_3)

{
  ulong *puVar1;
  byte bVar2;
  int iVar3;
  ulong uVar4;
  undefined8 uVar5;
  byte *pbVar6;
  ulong *puVar7;
  ulong *puVar8;
  uint uVar9;
  int iVar10;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("pelmac != NULL","src/mac/pelican/pelican.c",0x66);
  }
  if (param_2 != (ulong *)0x0) {
    uVar5 = 0x10;
    if (*(uint *)(param_1 + 0x10b0) < 0x10) {
      pbVar6 = param_3;
      puVar8 = param_2;
      if (*(uint *)(param_1 + 0x10b0) == 0) {
        uVar4 = (ulong)param_3 & 0xfffffffffffffff0;
        while (uVar4 != 0) {
          *(ulong *)(param_1 + 0x10a0) = *(ulong *)(param_1 + 0x10a0) ^ *puVar8;
          *(ulong *)(param_1 + 0x10a8) = *(ulong *)(param_1 + 0x10a8) ^ puVar8[1];
          FUN_00163cf0(param_1);
          pbVar6 = (byte *)((long)param_2 + ((long)param_3 - (long)(puVar8 + 2)));
          puVar8 = puVar8 + 2;
          uVar4 = (ulong)pbVar6 & 0xfffffffffffffff0;
        }
      }
      puVar1 = (ulong *)((long)puVar8 + (long)pbVar6);
      if (pbVar6 != (byte *)0x0) {
        uVar9 = (int)puVar1 - (int)puVar8 & 3;
        if (uVar9 == 0) goto LAB_001641e7;
        if (uVar9 != 1) {
          puVar7 = puVar8;
          if (uVar9 != 2) {
            iVar3 = *(int *)(param_1 + 0x10b0);
            puVar7 = (ulong *)((long)puVar8 + 1);
            uVar4 = *puVar8;
            iVar10 = iVar3 + 1;
            *(int *)(param_1 + 0x10b0) = iVar10;
            pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
            *pbVar6 = *pbVar6 ^ (byte)uVar4;
            if (iVar10 == 0x10) {
              FUN_00163cf0(param_1);
              *(undefined4 *)(param_1 + 0x10b0) = 0;
            }
          }
          iVar3 = *(int *)(param_1 + 0x10b0);
          puVar8 = (ulong *)((long)puVar7 + 1);
          uVar4 = *puVar7;
          iVar10 = iVar3 + 1;
          *(int *)(param_1 + 0x10b0) = iVar10;
          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
          *pbVar6 = *pbVar6 ^ (byte)uVar4;
          if (iVar10 == 0x10) {
            FUN_00163cf0(param_1);
            *(undefined4 *)(param_1 + 0x10b0) = 0;
          }
        }
        puVar8 = (ulong *)((long)puVar8 + 1);
        while( true ) {
          iVar3 = *(int *)(param_1 + 0x10b0);
          bVar2 = *(byte *)((long)puVar8 + -1);
          iVar10 = iVar3 + 1;
          *(int *)(param_1 + 0x10b0) = iVar10;
          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
          *pbVar6 = *pbVar6 ^ bVar2;
          if (iVar10 == 0x10) {
            FUN_00163cf0(param_1);
            *(undefined4 *)(param_1 + 0x10b0) = 0;
          }
          if (puVar1 == puVar8) break;
LAB_001641e7:
          iVar3 = *(int *)(param_1 + 0x10b0);
          uVar4 = *puVar8;
          iVar10 = iVar3 + 1;
          *(int *)(param_1 + 0x10b0) = iVar10;
          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
          *pbVar6 = *pbVar6 ^ (byte)uVar4;
          if (iVar10 == 0x10) {
            FUN_00163cf0(param_1);
            *(undefined4 *)(param_1 + 0x10b0) = 0;
          }
          iVar3 = *(int *)(param_1 + 0x10b0);
          bVar2 = *(byte *)((long)puVar8 + 1);
          iVar10 = iVar3 + 1;
          *(int *)(param_1 + 0x10b0) = iVar10;
          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
          *pbVar6 = *pbVar6 ^ bVar2;
          if (iVar10 == 0x10) {
            FUN_00163cf0(param_1);
            *(undefined4 *)(param_1 + 0x10b0) = 0;
          }
          iVar3 = *(int *)(param_1 + 0x10b0);
          bVar2 = *(byte *)((long)puVar8 + 2);
          iVar10 = iVar3 + 1;
          *(int *)(param_1 + 0x10b0) = iVar10;
          pbVar6 = (byte *)(param_1 + 0x10a0 + (long)iVar3);
          *pbVar6 = *pbVar6 ^ bVar2;
          if (iVar10 == 0x10) {
            FUN_00163cf0(param_1);
            *(undefined4 *)(param_1 + 0x10b0) = 0;
          }
          puVar8 = (ulong *)((long)puVar8 + 4);
        }
      }
      uVar5 = 0;
    }
    return uVar5;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("in != NULL","src/mac/pelican/pelican.c",0x67);
}

