
int ofb_encrypt(uchar *pt,uchar *ct,ulong len,symmetric_OFB *ofb)

{
  uchar *puVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  byte bVar5;
  byte *pbVar6;
  uint uVar7;
  int iVar8;
  byte *pbVar9;
  byte *pbVar10;
  
  if (pt == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);
  }
  if (ct != (uchar *)0x0) {
    if (ofb == (symmetric_OFB *)0x0) {
                    /* WARNING: Subroutine does not return */
      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);
    }
    iVar2 = cipher_is_valid(ofb->cipher);
    if (iVar2 == 0) {
      uVar4 = ofb->blocklen;
      if ((uVar4 < 0x81) && (uVar3 = ofb->padlen, uVar3 < 0x81)) {
        if (len != 0) {
          puVar1 = ofb->IV;
          uVar7 = ~(uint)ct + (int)(ct + len) & 3;
          pbVar6 = ct;
          pbVar9 = pt;
          if (uVar7 == 0) goto LAB_0016bed6;
          if (uVar3 == uVar4) {
            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))
                              (puVar1,puVar1,&ofb->key);
            if (iVar2 != 0) {
              return iVar2;
            }
            ofb->padlen = 0;
            iVar2 = 1;
            uVar3 = 0;
          }
          else {
            iVar2 = uVar3 + 1;
          }
          pbVar9 = pt + 1;
          bVar5 = *pt;
          pbVar6 = ct + 1;
          ofb->padlen = iVar2;
          *ct = bVar5 ^ ofb->IV[(int)uVar3];
          uVar3 = ofb->padlen;
          uVar4 = ofb->blocklen;
          if (uVar7 == 1) goto LAB_0016bed6;
          if (uVar7 != 2) {
            if (uVar3 == uVar4) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)
                      )(puVar1,puVar1,&ofb->key);
              if (iVar2 != 0) {
                return iVar2;
              }
              ofb->padlen = 0;
              iVar2 = 1;
              uVar3 = 0;
            }
            else {
              iVar2 = uVar3 + 1;
            }
            pbVar9 = pt + 2;
            bVar5 = pt[1];
            pbVar6 = ct + 2;
            ofb->padlen = iVar2;
            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];
            uVar3 = ofb->padlen;
            uVar4 = ofb->blocklen;
          }
          if (uVar3 == uVar4) {
            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))
                              (puVar1,puVar1,&ofb->key);
            if (iVar2 != 0) {
              return iVar2;
            }
            ofb->padlen = 0;
            iVar2 = 1;
            uVar3 = 0;
          }
          else {
            iVar2 = uVar3 + 1;
          }
          pbVar10 = pbVar9 + 1;
          bVar5 = *pbVar9;
          pbVar6 = pbVar6 + 1;
          ofb->padlen = iVar2;
          while( true ) {
            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];
            uVar3 = ofb->padlen;
            uVar4 = ofb->blocklen;
            pbVar9 = pbVar10;
LAB_0016bed6:
            if (uVar3 == uVar4) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)
                      )(puVar1,puVar1,&ofb->key);
              if (iVar2 != 0) {
                return iVar2;
              }
              ofb->padlen = 0;
              iVar2 = 1;
              uVar3 = 0;
            }
            else {
              iVar2 = uVar3 + 1;
            }
            bVar5 = *pbVar9;
            ofb->padlen = iVar2;
            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];
            if (pbVar6 + 1 == ct + len) break;
            iVar2 = ofb->padlen;
            iVar8 = iVar2 + 1;
            if (iVar2 == ofb->blocklen) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)
                      )(puVar1,puVar1,&ofb->key);
              if (iVar2 != 0) {
                return iVar2;
              }
              ofb->padlen = 0;
              iVar8 = 1;
              iVar2 = 0;
            }
            bVar5 = pbVar9[1];
            ofb->padlen = iVar8;
            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];
            iVar2 = ofb->padlen;
            iVar8 = iVar2 + 1;
            if (iVar2 == ofb->blocklen) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)
                      )(puVar1,puVar1,&ofb->key);
              if (iVar2 != 0) {
                return iVar2;
              }
              ofb->padlen = 0;
              iVar8 = 1;
              iVar2 = 0;
            }
            bVar5 = pbVar9[2];
            ofb->padlen = iVar8;
            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];
            uVar3 = ofb->padlen;
            iVar2 = uVar3 + 1;
            if (uVar3 == ofb->blocklen) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)
                      )(puVar1,puVar1,&ofb->key);
              if (iVar2 != 0) {
                return iVar2;
              }
              ofb->padlen = 0;
              iVar2 = 1;
              uVar3 = 0;
            }
            pbVar10 = pbVar9 + 4;
            bVar5 = pbVar9[3];
            ofb->padlen = iVar2;
            pbVar6 = pbVar6 + 4;
          }
          return 0;
        }
      }
      else {
        iVar2 = 0x10;
      }
    }
    return iVar2;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);
}



int ofb_encrypt(byte *param_1,byte *param_2,long param_3,int *param_4)

{
  int *piVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  byte bVar5;
  byte *pbVar6;
  uint uVar7;
  int iVar8;
  byte *pbVar9;
  byte *pbVar10;
  
  if (param_1 == (byte *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);
  }
  if (param_2 != (byte *)0x0) {
    if (param_4 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);
    }
    iVar2 = cipher_is_valid(*param_4);
    if (iVar2 == 0) {
      uVar4 = param_4[1];
      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {
        if (param_3 != 0) {
          piVar1 = param_4 + 3;
          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;
          pbVar6 = param_2;
          pbVar9 = param_1;
          if (uVar7 == 0) goto LAB_0016bed6;
          if (uVar3 == uVar4) {
            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                              (piVar1,piVar1,param_4 + 0x24);
            if (iVar2 != 0) {
              return iVar2;
            }
            param_4[2] = 0;
            iVar2 = 1;
            uVar3 = 0;
          }
          else {
            iVar2 = uVar3 + 1;
          }
          pbVar9 = param_1 + 1;
          bVar5 = *param_1;
          pbVar6 = param_2 + 1;
          param_4[2] = iVar2;
          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);
          uVar3 = param_4[2];
          uVar4 = param_4[1];
          if (uVar7 == 1) goto LAB_0016bed6;
          if (uVar7 != 2) {
            if (uVar3 == uVar4) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                                (piVar1,piVar1,param_4 + 0x24);
              if (iVar2 != 0) {
                return iVar2;
              }
              param_4[2] = 0;
              iVar2 = 1;
              uVar3 = 0;
            }
            else {
              iVar2 = uVar3 + 1;
            }
            pbVar9 = param_1 + 2;
            bVar5 = param_1[1];
            pbVar6 = param_2 + 2;
            param_4[2] = iVar2;
            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);
            uVar3 = param_4[2];
            uVar4 = param_4[1];
          }
          if (uVar3 == uVar4) {
            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                              (piVar1,piVar1,param_4 + 0x24);
            if (iVar2 != 0) {
              return iVar2;
            }
            param_4[2] = 0;
            iVar2 = 1;
            uVar3 = 0;
          }
          else {
            iVar2 = uVar3 + 1;
          }
          pbVar10 = pbVar9 + 1;
          bVar5 = *pbVar9;
          pbVar6 = pbVar6 + 1;
          param_4[2] = iVar2;
          while( true ) {
            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);
            uVar3 = param_4[2];
            uVar4 = param_4[1];
            pbVar9 = pbVar10;
LAB_0016bed6:
            if (uVar3 == uVar4) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                                (piVar1,piVar1,param_4 + 0x24);
              if (iVar2 != 0) {
                return iVar2;
              }
              param_4[2] = 0;
              iVar2 = 1;
              uVar3 = 0;
            }
            else {
              iVar2 = uVar3 + 1;
            }
            bVar5 = *pbVar9;
            param_4[2] = iVar2;
            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);
            if (pbVar6 + 1 == param_2 + param_3) break;
            iVar2 = param_4[2];
            iVar8 = iVar2 + 1;
            if (iVar2 == param_4[1]) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                                (piVar1,piVar1,param_4 + 0x24);
              if (iVar2 != 0) {
                return iVar2;
              }
              param_4[2] = 0;
              iVar8 = 1;
              iVar2 = 0;
            }
            bVar5 = pbVar9[1];
            param_4[2] = iVar8;
            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);
            iVar2 = param_4[2];
            iVar8 = iVar2 + 1;
            if (iVar2 == param_4[1]) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                                (piVar1,piVar1,param_4 + 0x24);
              if (iVar2 != 0) {
                return iVar2;
              }
              param_4[2] = 0;
              iVar8 = 1;
              iVar2 = 0;
            }
            bVar5 = pbVar9[2];
            param_4[2] = iVar8;
            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);
            uVar3 = param_4[2];
            iVar2 = uVar3 + 1;
            if (uVar3 == param_4[1]) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                                (piVar1,piVar1,param_4 + 0x24);
              if (iVar2 != 0) {
                return iVar2;
              }
              param_4[2] = 0;
              iVar2 = 1;
              uVar3 = 0;
            }
            pbVar10 = pbVar9 + 4;
            bVar5 = pbVar9[3];
            param_4[2] = iVar2;
            pbVar6 = pbVar6 + 4;
          }
          return 0;
        }
      }
      else {
        iVar2 = 0x10;
      }
    }
    return iVar2;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x18
TEST RDI,RDI
JZ 0x0016c08d
MOV RBP,RSI
TEST RSI,RSI
JZ 0x0016c075
MOV RBX,RCX
TEST RCX,RCX
JZ 0x0016c0a5
MOV R14,RDI
MOV EDI,dword ptr [RCX]
MOV R13,RDX
CALL 0x00113da0
MOV R15D,EAX
TEST EAX,EAX
JNZ 0x0016be23
MOV ECX,dword ptr [RBX + 0x4]
CMP ECX,0x80
JA 0x0016be38
MOV EAX,dword ptr [RBX + 0x8]
CMP EAX,0x80
JA 0x0016be38
TEST R13,R13
JZ 0x0016be23
MOV R8,RBP
ADD R13,RBP
LEA R12,[RBX + 0xc]
NOT R8
ADD R8,R13
AND R8D,0x3
MOV RSI,R8
JZ 0x0016bed6
CMP EAX,ECX
JZ 0x0016bfe0
LEA ECX,[RAX + 0x1]
CDQE
ADD R14,0x1
MOVZX EDX,byte ptr [R14 + -0x1]
ADD RBP,0x1
MOV dword ptr [RBX + 0x8],ECX
XOR DL,byte ptr [RBX + RAX*0x1 + 0xc]
MOV byte ptr [RBP + -0x1],DL
MOV EAX,dword ptr [RBX + 0x8]
MOV ECX,dword ptr [RBX + 0x4]
CMP RSI,0x1
JZ 0x0016bed6
CMP RSI,0x2
JZ 0x0016bdd0
CMP EAX,ECX
JZ 0x0016c03a
LEA EDI,[RAX + 0x1]
CDQE
ADD R14,0x1
MOVZX R10D,byte ptr [R14 + -0x1]
ADD RBP,0x1
MOV dword ptr [RBX + 0x8],EDI
XOR R10B,byte ptr [RBX + RAX*0x1 + 0xc]
MOV byte ptr [RBP + -0x1],R10B
MOV EAX,dword ptr [RBX + 0x8]
MOV ECX,dword ptr [RBX + 0x4]
CMP EAX,ECX
JZ 0x0016bdf0
LEA R11D,[RAX + 0x1]
ADD R14,0x1
MOVZX EDX,byte ptr [R14 + -0x1]
ADD RBP,0x1
MOV dword ptr [RBX + 0x8],R11D
JMP 0x0016bec7
MOVSXD R8,dword ptr [RBX]
LEA RDX,[RBX + 0x90]
MOV RSI,R12
MOV RDI,R12
LEA RAX,[R8 + R8*0x2]
SHL RAX,0x6
ADD RAX,qword ptr [0x001dded0]
CALL qword ptr [RAX + 0x28]
TEST EAX,EAX
JZ 0x0016c028
NOP word ptr [RAX + RAX*0x1]
MOV R15D,EAX
ADD RSP,0x18
MOV EAX,R15D
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV R15D,0x10
JMP 0x0016be23
LEA EDI,[RAX + 0x1]
ADD R14,0x1
CDQE
MOVZX EDX,byte ptr [R14 + -0x1]
ADD RBP,0x1
MOV dword ptr [RBX + 0x8],EDI
XOR DL,byte ptr [RBX + RAX*0x1 + 0xc]
MOV byte ptr [RBP + -0x1],DL
CMP RBP,R13
JZ 0x0016be23
MOV EAX,dword ptr [RBX + 0x8]
LEA R10D,[RAX + 0x1]
CMP EAX,dword ptr [RBX + 0x4]
JZ 0x0016bf20
CDQE
MOVZX R11D,byte ptr [R14]
MOV dword ptr [RBX + 0x8],R10D
XOR R11B,byte ptr [RBX + RAX*0x1 + 0xc]
MOV byte ptr [RBP],R11B
MOV EAX,dword ptr [RBX + 0x8]
LEA ECX,[RAX + 0x1]
CMP EAX,dword ptr [RBX + 0x4]
JZ 0x0016bf60
CDQE
MOVZX ESI,byte ptr [R14 + 0x1]
MOV dword ptr [RBX + 0x8],ECX
XOR SIL,byte ptr [RBX + RAX*0x1 + 0xc]
MOV byte ptr [RBP + 0x1],SIL
MOV EAX,dword ptr [RBX + 0x8]
LEA R9D,[RAX + 0x1]
CMP EAX,dword ptr [RBX + 0x4]
JZ 0x0016bfa0
ADD R14,0x3
MOVZX EDX,byte ptr [R14 + -0x1]
MOV dword ptr [RBX + 0x8],R9D
ADD RBP,0x3
CDQE
XOR DL,byte ptr [RBX + RAX*0x1 + 0xc]
MOV byte ptr [RBP + -0x1],DL
MOV EAX,dword ptr [RBX + 0x8]
MOV ECX,dword ptr [RBX + 0x4]
CMP EAX,ECX
JNZ 0x0016be40
MOVSXD RSI,dword ptr [RBX]
LEA RDX,[RBX + 0x90]
MOV RDI,R12
LEA RAX,[RSI + RSI*0x2]
MOV RSI,R12
SHL RAX,0x6
ADD RAX,qword ptr [0x001dded0]
CALL qword ptr [RAX + 0x28]
TEST EAX,EAX
JNZ 0x0016be20
MOV dword ptr [RBX + 0x8],0x0
MOV EDI,0x1
JMP 0x0016be43
MOVSXD R9,dword ptr [RBX]
LEA RDX,[RBX + 0x90]
MOV RSI,R12
MOV RDI,R12
LEA RAX,[R9 + R9*0x2]
SHL RAX,0x6
ADD RAX,qword ptr [0x001dded0]
CALL qword ptr [RAX + 0x28]
TEST EAX,EAX
JNZ 0x0016be20
MOV dword ptr [RBX + 0x8],0x0
MOV R10D,0x1
JMP 0x0016be71
MOVSXD R8,dword ptr [RBX]
LEA RDX,[RBX + 0x90]
MOV RSI,R12
MOV RDI,R12
LEA RAX,[R8 + R8*0x2]
SHL RAX,0x6
ADD RAX,qword ptr [0x001dded0]
CALL qword ptr [RAX + 0x28]
TEST EAX,EAX
JNZ 0x0016be20
MOV dword ptr [RBX + 0x8],0x0
MOV ECX,0x1
JMP 0x0016be93
MOVSXD RDI,dword ptr [RBX]
LEA RDX,[RBX + 0x90]
MOV RSI,R12
LEA RAX,[RDI + RDI*0x2]
MOV RDI,R12
SHL RAX,0x6
ADD RAX,qword ptr [0x001dded0]
CALL qword ptr [RAX + 0x28]
TEST EAX,EAX
JNZ 0x0016be20
MOV dword ptr [RBX + 0x8],0x0
MOV R9D,0x1
JMP 0x0016beb6
MOVSXD RAX,dword ptr [RBX]
MOV qword ptr [RSP + 0x8],R8
MOV RSI,R12
MOV RDI,R12
LEA RDX,[RBX + 0x90]
LEA RAX,[RAX + RAX*0x2]
SHL RAX,0x6
ADD RAX,qword ptr [0x001dded0]
CALL qword ptr [RAX + 0x28]
TEST EAX,EAX
JNZ 0x0016be20
MOV dword ptr [RBX + 0x8],0x0
MOV ECX,0x1
MOV RSI,qword ptr [RSP + 0x8]
JMP 0x0016bd75
MOV dword ptr [RBX + 0x8],0x0
MOV R11D,0x1
JMP 0x0016bdd8
MOVSXD R9,dword ptr [RBX]
LEA RDX,[RBX + 0x90]
MOV RSI,R12
MOV RDI,R12
LEA RAX,[R9 + R9*0x2]
SHL RAX,0x6
ADD RAX,qword ptr [0x001dded0]
CALL qword ptr [RAX + 0x28]
TEST EAX,EAX
JNZ 0x0016be20
MOV dword ptr [RBX + 0x8],0x0
MOV EDI,0x1
JMP 0x0016bdaf
MOV EDX,0x1e
LEA RSI,[0x1c0c61]
LEA RDI,[0x18d021]
CALL 0x00114270
MOV EDX,0x1d
LEA RSI,[0x1c0c61]
LEA RDI,[0x18d016]
CALL 0x00114270
MOV EDX,0x1f
LEA RSI,[0x1c0c61]
LEA RDI,[0x1c0c3c]
CALL 0x00114270
(translation_unit "int ofb_encrypt(byte *param_1,byte *param_2,long param_3,int *param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }\n  if (param_2 != (byte *)0x0) {\n    if (param_4 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);\n}\n\n" (function_definition "int ofb_encrypt(byte *param_1,byte *param_2,long param_3,int *param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }\n  if (param_2 != (byte *)0x0) {\n    if (param_4 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);\n}" primitive_type (function_declarator "ofb_encrypt(byte *param_1,byte *param_2,long param_3,int *param_4)" identifier (parameter_list "(byte *param_1,byte *param_2,long param_3,int *param_4)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }\n  if (param_2 != (byte *)0x0) {\n    if (param_4 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (if_statement "if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }" { comment (expression_statement "crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);" (call_expression "crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d)" identifier (argument_list "("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d)" ( (string_literal ""pt != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_encrypt.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 != (byte *)0x0) {\n    if (param_4 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }" if (parenthesized_expression "(param_2 != (byte *)0x0)" ( (binary_expression "param_2 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (param_4 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }" { (if_statement "if (param_4 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }" if (parenthesized_expression "(param_4 == (int *)0x0)" ( (binary_expression "param_4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }" { comment (expression_statement "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);" (call_expression "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f)" identifier (argument_list "("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f)" ( (string_literal ""ofb != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_encrypt.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar2 = cipher_is_valid(*param_4);" (assignment_expression "iVar2 = cipher_is_valid(*param_4)" identifier = (call_expression "cipher_is_valid(*param_4)" identifier (argument_list "(*param_4)" ( (pointer_expression "*param_4" * identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }" { (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (if_statement "if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }" if (parenthesized_expression "((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81))" ( (binary_expression "(uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)" (parenthesized_expression "(uVar4 < 0x81)" ( (binary_expression "uVar4 < 0x81" identifier < number_literal) )) && (parenthesized_expression "(uVar3 = param_4[2], uVar3 < 0x81)" ( (comma_expression "uVar3 = param_4[2], uVar3 < 0x81" (assignment_expression "uVar3 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) , (binary_expression "uVar3 < 0x81" identifier < number_literal)) ))) )) (compound_statement "{\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }" { (if_statement "if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }" { (expression_statement "piVar1 = param_4 + 3;" (assignment_expression "piVar1 = param_4 + 3" identifier = (binary_expression "param_4 + 3" identifier + number_literal)) ;) (expression_statement "uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;" (assignment_expression "uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3" identifier = (binary_expression "~(uint)param_2 + (int)(param_2 + param_3) & 3" (binary_expression "~(uint)param_2 + (int)(param_2 + param_3)" (unary_expression "~(uint)param_2" ~ (cast_expression "(uint)param_2" ( (type_descriptor "uint" type_identifier) ) identifier)) + (cast_expression "(int)(param_2 + param_3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_2 + param_3)" ( (binary_expression "param_2 + param_3" identifier + identifier) )))) & number_literal)) ;) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" identifier = identifier) ;) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) (if_statement "if (uVar7 == 0) goto LAB_0016bed6;" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0016bed6;" goto statement_identifier ;)) (if_statement "if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n              return iVar2;\n            }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n              return iVar2;\n            }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar2 = uVar3 + 1;\n          }" else (compound_statement "{\n            iVar2 = uVar3 + 1;\n          }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "pbVar9 = param_1 + 1;" (assignment_expression "pbVar9 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar6 = param_2 + 1;" (assignment_expression "pbVar6 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "*param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (pointer_expression "*param_2" * identifier) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" ( (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)(int)uVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier))) + number_literal) )))))) ;) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar7 == 1) goto LAB_0016bed6;" if (parenthesized_expression "(uVar7 == 1)" ( (binary_expression "uVar7 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0016bed6;" goto statement_identifier ;)) (if_statement "if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }" if (parenthesized_expression "(uVar7 != 2)" ( (binary_expression "uVar7 != 2" identifier != number_literal) )) (compound_statement "{\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }" { (if_statement "if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              iVar2 = uVar3 + 1;\n            }" else (compound_statement "{\n              iVar2 = uVar3 + 1;\n            }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "pbVar9 = param_1 + 2;" (assignment_expression "pbVar9 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "bVar5 = param_1[1];" (assignment_expression "bVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar6 = param_2 + 2;" (assignment_expression "pbVar6 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" ( (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)(int)uVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier))) + number_literal) )))))) ;) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) })) (if_statement "if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n              return iVar2;\n            }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n              return iVar2;\n            }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar2 = uVar3 + 1;\n          }" else (compound_statement "{\n            iVar2 = uVar3 + 1;\n          }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "pbVar10 = pbVar9 + 1;" (assignment_expression "pbVar10 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar9;" (assignment_expression "bVar5 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (while_statement "while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }" { (expression_statement "pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (subscript_expression "pbVar6[-1]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" ( (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)(int)uVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier))) + number_literal) )))))) ;) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar9 = pbVar10;" (assignment_expression "pbVar9 = pbVar10" identifier = identifier) ;) (labeled_statement "LAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" statement_identifier : (if_statement "if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              iVar2 = uVar3 + 1;\n            }" else (compound_statement "{\n              iVar2 = uVar3 + 1;\n            }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) })))) (expression_statement "bVar5 = *pbVar9;" (assignment_expression "bVar5 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "*pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (pointer_expression "*pbVar6" * identifier) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" ( (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)(int)uVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier))) + number_literal) )))))) ;) (if_statement "if (pbVar6 + 1 == param_2 + param_3) break;" if (parenthesized_expression "(pbVar6 + 1 == param_2 + param_3)" ( (binary_expression "pbVar6 + 1 == param_2 + param_3" (binary_expression "pbVar6 + 1" identifier + number_literal) == (binary_expression "param_2 + param_3" identifier + identifier)) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = param_4[2];" (assignment_expression "iVar2 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = iVar2 + 1;" (assignment_expression "iVar8 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" if (parenthesized_expression "(iVar2 == param_4[1])" ( (binary_expression "iVar2 == param_4[1]" identifier == (subscript_expression "param_4[1]" identifier [ number_literal ])) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (expression_statement "bVar5 = pbVar9[1];" (assignment_expression "bVar5 = pbVar9[1]" identifier = (subscript_expression "pbVar9[1]" identifier [ number_literal ])) ;) (expression_statement "param_4[2] = iVar8;" (assignment_expression "param_4[2] = iVar8" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);" (assignment_expression "pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" (subscript_expression "pbVar6[1]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)iVar2 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)iVar2 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)iVar2 + 0xc)" ( (binary_expression "(long)param_4 + (long)iVar2 + 0xc" (binary_expression "(long)param_4 + (long)iVar2" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)iVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) + number_literal) )))))) ;) (expression_statement "iVar2 = param_4[2];" (assignment_expression "iVar2 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = iVar2 + 1;" (assignment_expression "iVar8 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" if (parenthesized_expression "(iVar2 == param_4[1])" ( (binary_expression "iVar2 == param_4[1]" identifier == (subscript_expression "param_4[1]" identifier [ number_literal ])) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (expression_statement "bVar5 = pbVar9[2];" (assignment_expression "bVar5 = pbVar9[2]" identifier = (subscript_expression "pbVar9[2]" identifier [ number_literal ])) ;) (expression_statement "param_4[2] = iVar8;" (assignment_expression "param_4[2] = iVar8" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);" (assignment_expression "pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" (subscript_expression "pbVar6[2]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)iVar2 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)iVar2 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)iVar2 + 0xc)" ( (binary_expression "(long)param_4 + (long)iVar2 + 0xc" (binary_expression "(long)param_4 + (long)iVar2" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)iVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) + number_literal) )))))) ;) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" if (parenthesized_expression "(uVar3 == param_4[1])" ( (binary_expression "uVar3 == param_4[1]" identifier == (subscript_expression "param_4[1]" identifier [ number_literal ])) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) })) (expression_statement "pbVar10 = pbVar9 + 4;" (assignment_expression "pbVar10 = pbVar9 + 4" identifier = (binary_expression "pbVar9 + 4" identifier + number_literal)) ;) (expression_statement "bVar5 = pbVar9[3];" (assignment_expression "bVar5 = pbVar9[3]" identifier = (subscript_expression "pbVar9[3]" identifier [ number_literal ])) ;) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar6 = pbVar6 + 4;" (assignment_expression "pbVar6 = pbVar6 + 4" identifier = (binary_expression "pbVar6 + 4" identifier + number_literal)) ;) })) (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n        iVar2 = 0x10;\n      }" else (compound_statement "{\n        iVar2 = 0x10;\n      }" { (expression_statement "iVar2 = 0x10;" (assignment_expression "iVar2 = 0x10" identifier = number_literal) ;) }))) })) (return_statement "return iVar2;" return identifier ;) })) comment (expression_statement "crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);" (call_expression "crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e)" identifier (argument_list "("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e)" ( (string_literal ""ct != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_encrypt.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "int ofb_encrypt(uchar *pt,uchar *ct,ulong len,symmetric_OFB *ofb)\n\n{\n  uchar *puVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  \n  if (pt == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }\n  if (ct != (uchar *)0x0) {\n    if (ofb == (symmetric_OFB *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(ofb->cipher);\n    if (iVar2 == 0) {\n      uVar4 = ofb->blocklen;\n      if ((uVar4 < 0x81) && (uVar3 = ofb->padlen, uVar3 < 0x81)) {\n        if (len != 0) {\n          puVar1 = ofb->IV;\n          uVar7 = ~(uint)ct + (int)(ct + len) & 3;\n          pbVar6 = ct;\n          pbVar9 = pt;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = pt + 1;\n          bVar5 = *pt;\n          pbVar6 = ct + 1;\n          ofb->padlen = iVar2;\n          *ct = bVar5 ^ ofb->IV[(int)uVar3];\n          uVar3 = ofb->padlen;\n          uVar4 = ofb->blocklen;\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          ofb->padlen = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);\n}\n\n" (function_definition "int ofb_encrypt(uchar *pt,uchar *ct,ulong len,symmetric_OFB *ofb)\n\n{\n  uchar *puVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  \n  if (pt == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }\n  if (ct != (uchar *)0x0) {\n    if (ofb == (symmetric_OFB *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(ofb->cipher);\n    if (iVar2 == 0) {\n      uVar4 = ofb->blocklen;\n      if ((uVar4 < 0x81) && (uVar3 = ofb->padlen, uVar3 < 0x81)) {\n        if (len != 0) {\n          puVar1 = ofb->IV;\n          uVar7 = ~(uint)ct + (int)(ct + len) & 3;\n          pbVar6 = ct;\n          pbVar9 = pt;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = pt + 1;\n          bVar5 = *pt;\n          pbVar6 = ct + 1;\n          ofb->padlen = iVar2;\n          *ct = bVar5 ^ ofb->IV[(int)uVar3];\n          uVar3 = ofb->padlen;\n          uVar4 = ofb->blocklen;\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          ofb->padlen = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);\n}" primitive_type (function_declarator "ofb_encrypt(uchar *pt,uchar *ct,ulong len,symmetric_OFB *ofb)" identifier (parameter_list "(uchar *pt,uchar *ct,ulong len,symmetric_OFB *ofb)" ( (parameter_declaration "uchar *pt" type_identifier (pointer_declarator "*pt" * identifier)) , (parameter_declaration "uchar *ct" type_identifier (pointer_declarator "*ct" * identifier)) , (parameter_declaration "ulong len" type_identifier identifier) , (parameter_declaration "symmetric_OFB *ofb" type_identifier (pointer_declarator "*ofb" * identifier)) ))) (compound_statement "{\n  uchar *puVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  \n  if (pt == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }\n  if (ct != (uchar *)0x0) {\n    if (ofb == (symmetric_OFB *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(ofb->cipher);\n    if (iVar2 == 0) {\n      uVar4 = ofb->blocklen;\n      if ((uVar4 < 0x81) && (uVar3 = ofb->padlen, uVar3 < 0x81)) {\n        if (len != 0) {\n          puVar1 = ofb->IV;\n          uVar7 = ~(uint)ct + (int)(ct + len) & 3;\n          pbVar6 = ct;\n          pbVar9 = pt;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = pt + 1;\n          bVar5 = *pt;\n          pbVar6 = ct + 1;\n          ofb->padlen = iVar2;\n          *ct = bVar5 ^ ofb->IV[(int)uVar3];\n          uVar3 = ofb->padlen;\n          uVar4 = ofb->blocklen;\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          ofb->padlen = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);\n}" { (declaration "uchar *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (if_statement "if (pt == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }" if (parenthesized_expression "(pt == (uchar *)0x0)" ( (binary_expression "pt == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }" { comment (expression_statement "crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);" (call_expression "crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d)" identifier (argument_list "("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d)" ( (string_literal ""pt != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_encrypt.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (ct != (uchar *)0x0) {\n    if (ofb == (symmetric_OFB *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(ofb->cipher);\n    if (iVar2 == 0) {\n      uVar4 = ofb->blocklen;\n      if ((uVar4 < 0x81) && (uVar3 = ofb->padlen, uVar3 < 0x81)) {\n        if (len != 0) {\n          puVar1 = ofb->IV;\n          uVar7 = ~(uint)ct + (int)(ct + len) & 3;\n          pbVar6 = ct;\n          pbVar9 = pt;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = pt + 1;\n          bVar5 = *pt;\n          pbVar6 = ct + 1;\n          ofb->padlen = iVar2;\n          *ct = bVar5 ^ ofb->IV[(int)uVar3];\n          uVar3 = ofb->padlen;\n          uVar4 = ofb->blocklen;\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          ofb->padlen = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }" if (parenthesized_expression "(ct != (uchar *)0x0)" ( (binary_expression "ct != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (ofb == (symmetric_OFB *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(ofb->cipher);\n    if (iVar2 == 0) {\n      uVar4 = ofb->blocklen;\n      if ((uVar4 < 0x81) && (uVar3 = ofb->padlen, uVar3 < 0x81)) {\n        if (len != 0) {\n          puVar1 = ofb->IV;\n          uVar7 = ~(uint)ct + (int)(ct + len) & 3;\n          pbVar6 = ct;\n          pbVar9 = pt;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = pt + 1;\n          bVar5 = *pt;\n          pbVar6 = ct + 1;\n          ofb->padlen = iVar2;\n          *ct = bVar5 ^ ofb->IV[(int)uVar3];\n          uVar3 = ofb->padlen;\n          uVar4 = ofb->blocklen;\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          ofb->padlen = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }" { (if_statement "if (ofb == (symmetric_OFB *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }" if (parenthesized_expression "(ofb == (symmetric_OFB *)0x0)" ( (binary_expression "ofb == (symmetric_OFB *)0x0" identifier == (cast_expression "(symmetric_OFB *)0x0" ( (type_descriptor "symmetric_OFB *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }" { comment (expression_statement "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);" (call_expression "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f)" identifier (argument_list "("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f)" ( (string_literal ""ofb != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_encrypt.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar2 = cipher_is_valid(ofb->cipher);" (assignment_expression "iVar2 = cipher_is_valid(ofb->cipher)" identifier = (call_expression "cipher_is_valid(ofb->cipher)" identifier (argument_list "(ofb->cipher)" ( (field_expression "ofb->cipher" identifier -> field_identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n      uVar4 = ofb->blocklen;\n      if ((uVar4 < 0x81) && (uVar3 = ofb->padlen, uVar3 < 0x81)) {\n        if (len != 0) {\n          puVar1 = ofb->IV;\n          uVar7 = ~(uint)ct + (int)(ct + len) & 3;\n          pbVar6 = ct;\n          pbVar9 = pt;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = pt + 1;\n          bVar5 = *pt;\n          pbVar6 = ct + 1;\n          ofb->padlen = iVar2;\n          *ct = bVar5 ^ ofb->IV[(int)uVar3];\n          uVar3 = ofb->padlen;\n          uVar4 = ofb->blocklen;\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          ofb->padlen = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar4 = ofb->blocklen;\n      if ((uVar4 < 0x81) && (uVar3 = ofb->padlen, uVar3 < 0x81)) {\n        if (len != 0) {\n          puVar1 = ofb->IV;\n          uVar7 = ~(uint)ct + (int)(ct + len) & 3;\n          pbVar6 = ct;\n          pbVar9 = pt;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = pt + 1;\n          bVar5 = *pt;\n          pbVar6 = ct + 1;\n          ofb->padlen = iVar2;\n          *ct = bVar5 ^ ofb->IV[(int)uVar3];\n          uVar3 = ofb->padlen;\n          uVar4 = ofb->blocklen;\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          ofb->padlen = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }" { (expression_statement "uVar4 = ofb->blocklen;" (assignment_expression "uVar4 = ofb->blocklen" identifier = (field_expression "ofb->blocklen" identifier -> field_identifier)) ;) (if_statement "if ((uVar4 < 0x81) && (uVar3 = ofb->padlen, uVar3 < 0x81)) {\n        if (len != 0) {\n          puVar1 = ofb->IV;\n          uVar7 = ~(uint)ct + (int)(ct + len) & 3;\n          pbVar6 = ct;\n          pbVar9 = pt;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = pt + 1;\n          bVar5 = *pt;\n          pbVar6 = ct + 1;\n          ofb->padlen = iVar2;\n          *ct = bVar5 ^ ofb->IV[(int)uVar3];\n          uVar3 = ofb->padlen;\n          uVar4 = ofb->blocklen;\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          ofb->padlen = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }" if (parenthesized_expression "((uVar4 < 0x81) && (uVar3 = ofb->padlen, uVar3 < 0x81))" ( (binary_expression "(uVar4 < 0x81) && (uVar3 = ofb->padlen, uVar3 < 0x81)" (parenthesized_expression "(uVar4 < 0x81)" ( (binary_expression "uVar4 < 0x81" identifier < number_literal) )) && (parenthesized_expression "(uVar3 = ofb->padlen, uVar3 < 0x81)" ( (comma_expression "uVar3 = ofb->padlen, uVar3 < 0x81" (assignment_expression "uVar3 = ofb->padlen" identifier = (field_expression "ofb->padlen" identifier -> field_identifier)) , (binary_expression "uVar3 < 0x81" identifier < number_literal)) ))) )) (compound_statement "{\n        if (len != 0) {\n          puVar1 = ofb->IV;\n          uVar7 = ~(uint)ct + (int)(ct + len) & 3;\n          pbVar6 = ct;\n          pbVar9 = pt;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = pt + 1;\n          bVar5 = *pt;\n          pbVar6 = ct + 1;\n          ofb->padlen = iVar2;\n          *ct = bVar5 ^ ofb->IV[(int)uVar3];\n          uVar3 = ofb->padlen;\n          uVar4 = ofb->blocklen;\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          ofb->padlen = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }" { (if_statement "if (len != 0) {\n          puVar1 = ofb->IV;\n          uVar7 = ~(uint)ct + (int)(ct + len) & 3;\n          pbVar6 = ct;\n          pbVar9 = pt;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = pt + 1;\n          bVar5 = *pt;\n          pbVar6 = ct + 1;\n          ofb->padlen = iVar2;\n          *ct = bVar5 ^ ofb->IV[(int)uVar3];\n          uVar3 = ofb->padlen;\n          uVar4 = ofb->blocklen;\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          ofb->padlen = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }" if (parenthesized_expression "(len != 0)" ( (binary_expression "len != 0" identifier != number_literal) )) (compound_statement "{\n          puVar1 = ofb->IV;\n          uVar7 = ~(uint)ct + (int)(ct + len) & 3;\n          pbVar6 = ct;\n          pbVar9 = pt;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = pt + 1;\n          bVar5 = *pt;\n          pbVar6 = ct + 1;\n          ofb->padlen = iVar2;\n          *ct = bVar5 ^ ofb->IV[(int)uVar3];\n          uVar3 = ofb->padlen;\n          uVar4 = ofb->blocklen;\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          ofb->padlen = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }" { (expression_statement "puVar1 = ofb->IV;" (assignment_expression "puVar1 = ofb->IV" identifier = (field_expression "ofb->IV" identifier -> field_identifier)) ;) (expression_statement "uVar7 = ~(uint)ct + (int)(ct + len) & 3;" (assignment_expression "uVar7 = ~(uint)ct + (int)(ct + len) & 3" identifier = (binary_expression "~(uint)ct + (int)(ct + len) & 3" (binary_expression "~(uint)ct + (int)(ct + len)" (unary_expression "~(uint)ct" ~ (cast_expression "(uint)ct" ( (type_descriptor "uint" type_identifier) ) identifier)) + (cast_expression "(int)(ct + len)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(ct + len)" ( (binary_expression "ct + len" identifier + identifier) )))) & number_literal)) ;) (expression_statement "pbVar6 = ct;" (assignment_expression "pbVar6 = ct" identifier = identifier) ;) (expression_statement "pbVar9 = pt;" (assignment_expression "pbVar9 = pt" identifier = identifier) ;) (if_statement "if (uVar7 == 0) goto LAB_0016bed6;" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0016bed6;" goto statement_identifier ;)) (if_statement "if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0" identifier + (binary_expression "(long)ofb->cipher * 0xc0" (cast_expression "(long)ofb->cipher" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ofb->cipher" identifier -> field_identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(puVar1,puVar1,&ofb->key)" ( identifier , identifier , (pointer_expression "&ofb->key" & (field_expression "ofb->key" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar2 != 0) {\n              return iVar2;\n            }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n              return iVar2;\n            }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "ofb->padlen = 0;" (assignment_expression "ofb->padlen = 0" (field_expression "ofb->padlen" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar2 = uVar3 + 1;\n          }" else (compound_statement "{\n            iVar2 = uVar3 + 1;\n          }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "pbVar9 = pt + 1;" (assignment_expression "pbVar9 = pt + 1" identifier = (binary_expression "pt + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pt;" (assignment_expression "bVar5 = *pt" identifier = (pointer_expression "*pt" * identifier)) ;) (expression_statement "pbVar6 = ct + 1;" (assignment_expression "pbVar6 = ct + 1" identifier = (binary_expression "ct + 1" identifier + number_literal)) ;) (expression_statement "ofb->padlen = iVar2;" (assignment_expression "ofb->padlen = iVar2" (field_expression "ofb->padlen" identifier -> field_identifier) = identifier) ;) (expression_statement "*ct = bVar5 ^ ofb->IV[(int)uVar3];" (assignment_expression "*ct = bVar5 ^ ofb->IV[(int)uVar3]" (pointer_expression "*ct" * identifier) = (binary_expression "bVar5 ^ ofb->IV[(int)uVar3]" identifier ^ (subscript_expression "ofb->IV[(int)uVar3]" (field_expression "ofb->IV" identifier -> field_identifier) [ (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) ]))) ;) (expression_statement "uVar3 = ofb->padlen;" (assignment_expression "uVar3 = ofb->padlen" identifier = (field_expression "ofb->padlen" identifier -> field_identifier)) ;) (expression_statement "uVar4 = ofb->blocklen;" (assignment_expression "uVar4 = ofb->blocklen" identifier = (field_expression "ofb->blocklen" identifier -> field_identifier)) ;) (if_statement "if (uVar7 == 1) goto LAB_0016bed6;" if (parenthesized_expression "(uVar7 == 1)" ( (binary_expression "uVar7 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0016bed6;" goto statement_identifier ;)) (if_statement "if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }" if (parenthesized_expression "(uVar7 != 2)" ( (binary_expression "uVar7 != 2" identifier != number_literal) )) (compound_statement "{\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = pt + 2;\n            bVar5 = pt[1];\n            pbVar6 = ct + 2;\n            ofb->padlen = iVar2;\n            ct[1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n          }" { (if_statement "if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0" identifier + (binary_expression "(long)ofb->cipher * 0xc0" (cast_expression "(long)ofb->cipher" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ofb->cipher" identifier -> field_identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(puVar1,puVar1,&ofb->key)" ( identifier , identifier , (pointer_expression "&ofb->key" & (field_expression "ofb->key" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "ofb->padlen = 0;" (assignment_expression "ofb->padlen = 0" (field_expression "ofb->padlen" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              iVar2 = uVar3 + 1;\n            }" else (compound_statement "{\n              iVar2 = uVar3 + 1;\n            }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "pbVar9 = pt + 2;" (assignment_expression "pbVar9 = pt + 2" identifier = (binary_expression "pt + 2" identifier + number_literal)) ;) (expression_statement "bVar5 = pt[1];" (assignment_expression "bVar5 = pt[1]" identifier = (subscript_expression "pt[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar6 = ct + 2;" (assignment_expression "pbVar6 = ct + 2" identifier = (binary_expression "ct + 2" identifier + number_literal)) ;) (expression_statement "ofb->padlen = iVar2;" (assignment_expression "ofb->padlen = iVar2" (field_expression "ofb->padlen" identifier -> field_identifier) = identifier) ;) (expression_statement "ct[1] = bVar5 ^ ofb->IV[(int)uVar3];" (assignment_expression "ct[1] = bVar5 ^ ofb->IV[(int)uVar3]" (subscript_expression "ct[1]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ ofb->IV[(int)uVar3]" identifier ^ (subscript_expression "ofb->IV[(int)uVar3]" (field_expression "ofb->IV" identifier -> field_identifier) [ (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) ]))) ;) (expression_statement "uVar3 = ofb->padlen;" (assignment_expression "uVar3 = ofb->padlen" identifier = (field_expression "ofb->padlen" identifier -> field_identifier)) ;) (expression_statement "uVar4 = ofb->blocklen;" (assignment_expression "uVar4 = ofb->blocklen" identifier = (field_expression "ofb->blocklen" identifier -> field_identifier)) ;) })) (if_statement "if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            ofb->padlen = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))\n                              (puVar1,puVar1,&ofb->key)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0" identifier + (binary_expression "(long)ofb->cipher * 0xc0" (cast_expression "(long)ofb->cipher" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ofb->cipher" identifier -> field_identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(puVar1,puVar1,&ofb->key)" ( identifier , identifier , (pointer_expression "&ofb->key" & (field_expression "ofb->key" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar2 != 0) {\n              return iVar2;\n            }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n              return iVar2;\n            }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "ofb->padlen = 0;" (assignment_expression "ofb->padlen = 0" (field_expression "ofb->padlen" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar2 = uVar3 + 1;\n          }" else (compound_statement "{\n            iVar2 = uVar3 + 1;\n          }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "pbVar10 = pbVar9 + 1;" (assignment_expression "pbVar10 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar9;" (assignment_expression "bVar5 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "ofb->padlen = iVar2;" (assignment_expression "ofb->padlen = iVar2" (field_expression "ofb->padlen" identifier -> field_identifier) = identifier) ;) (while_statement "while( true ) {\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];\n            uVar3 = ofb->padlen;\n            uVar4 = ofb->blocklen;\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            ofb->padlen = iVar2;\n            *pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];\n            if (pbVar6 + 1 == ct + len) break;\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            ofb->padlen = iVar8;\n            pbVar6[1] = bVar5 ^ ofb->IV[iVar2];\n            iVar2 = ofb->padlen;\n            iVar8 = iVar2 + 1;\n            if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            ofb->padlen = iVar8;\n            pbVar6[2] = bVar5 ^ ofb->IV[iVar2];\n            uVar3 = ofb->padlen;\n            iVar2 = uVar3 + 1;\n            if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            ofb->padlen = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }" { (expression_statement "pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3];" (assignment_expression "pbVar6[-1] = bVar5 ^ ofb->IV[(int)uVar3]" (subscript_expression "pbVar6[-1]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ ofb->IV[(int)uVar3]" identifier ^ (subscript_expression "ofb->IV[(int)uVar3]" (field_expression "ofb->IV" identifier -> field_identifier) [ (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) ]))) ;) (expression_statement "uVar3 = ofb->padlen;" (assignment_expression "uVar3 = ofb->padlen" identifier = (field_expression "ofb->padlen" identifier -> field_identifier)) ;) (expression_statement "uVar4 = ofb->blocklen;" (assignment_expression "uVar4 = ofb->blocklen" identifier = (field_expression "ofb->blocklen" identifier -> field_identifier)) ;) (expression_statement "pbVar9 = pbVar10;" (assignment_expression "pbVar9 = pbVar10" identifier = identifier) ;) (labeled_statement "LAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" statement_identifier : (if_statement "if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0" identifier + (binary_expression "(long)ofb->cipher * 0xc0" (cast_expression "(long)ofb->cipher" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ofb->cipher" identifier -> field_identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(puVar1,puVar1,&ofb->key)" ( identifier , identifier , (pointer_expression "&ofb->key" & (field_expression "ofb->key" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "ofb->padlen = 0;" (assignment_expression "ofb->padlen = 0" (field_expression "ofb->padlen" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              iVar2 = uVar3 + 1;\n            }" else (compound_statement "{\n              iVar2 = uVar3 + 1;\n            }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) })))) (expression_statement "bVar5 = *pbVar9;" (assignment_expression "bVar5 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "ofb->padlen = iVar2;" (assignment_expression "ofb->padlen = iVar2" (field_expression "ofb->padlen" identifier -> field_identifier) = identifier) ;) (expression_statement "*pbVar6 = bVar5 ^ ofb->IV[(int)uVar3];" (assignment_expression "*pbVar6 = bVar5 ^ ofb->IV[(int)uVar3]" (pointer_expression "*pbVar6" * identifier) = (binary_expression "bVar5 ^ ofb->IV[(int)uVar3]" identifier ^ (subscript_expression "ofb->IV[(int)uVar3]" (field_expression "ofb->IV" identifier -> field_identifier) [ (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) ]))) ;) (if_statement "if (pbVar6 + 1 == ct + len) break;" if (parenthesized_expression "(pbVar6 + 1 == ct + len)" ( (binary_expression "pbVar6 + 1 == ct + len" (binary_expression "pbVar6 + 1" identifier + number_literal) == (binary_expression "ct + len" identifier + identifier)) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = ofb->padlen;" (assignment_expression "iVar2 = ofb->padlen" identifier = (field_expression "ofb->padlen" identifier -> field_identifier)) ;) (expression_statement "iVar8 = iVar2 + 1;" (assignment_expression "iVar8 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" if (parenthesized_expression "(iVar2 == ofb->blocklen)" ( (binary_expression "iVar2 == ofb->blocklen" identifier == (field_expression "ofb->blocklen" identifier -> field_identifier)) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0" identifier + (binary_expression "(long)ofb->cipher * 0xc0" (cast_expression "(long)ofb->cipher" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ofb->cipher" identifier -> field_identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(puVar1,puVar1,&ofb->key)" ( identifier , identifier , (pointer_expression "&ofb->key" & (field_expression "ofb->key" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "ofb->padlen = 0;" (assignment_expression "ofb->padlen = 0" (field_expression "ofb->padlen" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (expression_statement "bVar5 = pbVar9[1];" (assignment_expression "bVar5 = pbVar9[1]" identifier = (subscript_expression "pbVar9[1]" identifier [ number_literal ])) ;) (expression_statement "ofb->padlen = iVar8;" (assignment_expression "ofb->padlen = iVar8" (field_expression "ofb->padlen" identifier -> field_identifier) = identifier) ;) (expression_statement "pbVar6[1] = bVar5 ^ ofb->IV[iVar2];" (assignment_expression "pbVar6[1] = bVar5 ^ ofb->IV[iVar2]" (subscript_expression "pbVar6[1]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ ofb->IV[iVar2]" identifier ^ (subscript_expression "ofb->IV[iVar2]" (field_expression "ofb->IV" identifier -> field_identifier) [ identifier ]))) ;) (expression_statement "iVar2 = ofb->padlen;" (assignment_expression "iVar2 = ofb->padlen" identifier = (field_expression "ofb->padlen" identifier -> field_identifier)) ;) (expression_statement "iVar8 = iVar2 + 1;" (assignment_expression "iVar8 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" if (parenthesized_expression "(iVar2 == ofb->blocklen)" ( (binary_expression "iVar2 == ofb->blocklen" identifier == (field_expression "ofb->blocklen" identifier -> field_identifier)) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0" identifier + (binary_expression "(long)ofb->cipher * 0xc0" (cast_expression "(long)ofb->cipher" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ofb->cipher" identifier -> field_identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(puVar1,puVar1,&ofb->key)" ( identifier , identifier , (pointer_expression "&ofb->key" & (field_expression "ofb->key" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "ofb->padlen = 0;" (assignment_expression "ofb->padlen = 0" (field_expression "ofb->padlen" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (expression_statement "bVar5 = pbVar9[2];" (assignment_expression "bVar5 = pbVar9[2]" identifier = (subscript_expression "pbVar9[2]" identifier [ number_literal ])) ;) (expression_statement "ofb->padlen = iVar8;" (assignment_expression "ofb->padlen = iVar8" (field_expression "ofb->padlen" identifier -> field_identifier) = identifier) ;) (expression_statement "pbVar6[2] = bVar5 ^ ofb->IV[iVar2];" (assignment_expression "pbVar6[2] = bVar5 ^ ofb->IV[iVar2]" (subscript_expression "pbVar6[2]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ ofb->IV[iVar2]" identifier ^ (subscript_expression "ofb->IV[iVar2]" (field_expression "ofb->IV" identifier -> field_identifier) [ identifier ]))) ;) (expression_statement "uVar3 = ofb->padlen;" (assignment_expression "uVar3 = ofb->padlen" identifier = (field_expression "ofb->padlen" identifier -> field_identifier)) ;) (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 == ofb->blocklen) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" if (parenthesized_expression "(uVar3 == ofb->blocklen)" ( (binary_expression "uVar3 == ofb->blocklen" identifier == (field_expression "ofb->blocklen" identifier -> field_identifier)) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              ofb->padlen = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )(puVar1,puVar1,&ofb->key)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)\n                      )" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)ofb->cipher * 0xc0" identifier + (binary_expression "(long)ofb->cipher * 0xc0" (cast_expression "(long)ofb->cipher" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ofb->cipher" identifier -> field_identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(puVar1,puVar1,&ofb->key)" ( identifier , identifier , (pointer_expression "&ofb->key" & (field_expression "ofb->key" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "ofb->padlen = 0;" (assignment_expression "ofb->padlen = 0" (field_expression "ofb->padlen" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) })) (expression_statement "pbVar10 = pbVar9 + 4;" (assignment_expression "pbVar10 = pbVar9 + 4" identifier = (binary_expression "pbVar9 + 4" identifier + number_literal)) ;) (expression_statement "bVar5 = pbVar9[3];" (assignment_expression "bVar5 = pbVar9[3]" identifier = (subscript_expression "pbVar9[3]" identifier [ number_literal ])) ;) (expression_statement "ofb->padlen = iVar2;" (assignment_expression "ofb->padlen = iVar2" (field_expression "ofb->padlen" identifier -> field_identifier) = identifier) ;) (expression_statement "pbVar6 = pbVar6 + 4;" (assignment_expression "pbVar6 = pbVar6 + 4" identifier = (binary_expression "pbVar6 + 4" identifier + number_literal)) ;) })) (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n        iVar2 = 0x10;\n      }" else (compound_statement "{\n        iVar2 = 0x10;\n      }" { (expression_statement "iVar2 = 0x10;" (assignment_expression "iVar2 = 0x10" identifier = number_literal) ;) }))) })) (return_statement "return iVar2;" return identifier ;) })) comment (expression_statement "crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);" (call_expression "crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e)" identifier (argument_list "("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e)" ( (string_literal ""ct != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_encrypt.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "int ofb_encrypt(byte *param_1,byte *param_2,long param_3,int *param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }\n  if (param_2 != (byte *)0x0) {\n    if (param_4 == (int *)0x0) {\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }\n                    \n  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);\n}\n\n" (function_definition "int ofb_encrypt(byte *param_1,byte *param_2,long param_3,int *param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }\n  if (param_2 != (byte *)0x0) {\n    if (param_4 == (int *)0x0) {\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }\n                    \n  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);\n}" primitive_type (function_declarator "ofb_encrypt(byte *param_1,byte *param_2,long param_3,int *param_4)" identifier (parameter_list "(byte *param_1,byte *param_2,long param_3,int *param_4)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }\n  if (param_2 != (byte *)0x0) {\n    if (param_4 == (int *)0x0) {\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }\n                    \n  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (if_statement "if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }" { (expression_statement "crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);" (call_expression "crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d)" identifier (argument_list "("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d)" ( (string_literal ""pt != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_encrypt.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 != (byte *)0x0) {\n    if (param_4 == (int *)0x0) {\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }" if (parenthesized_expression "(param_2 != (byte *)0x0)" ( (binary_expression "param_2 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (param_4 == (int *)0x0) {\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }" { (if_statement "if (param_4 == (int *)0x0) {\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }" if (parenthesized_expression "(param_4 == (int *)0x0)" ( (binary_expression "param_4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }" { (expression_statement "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);" (call_expression "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f)" identifier (argument_list "("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f)" ( (string_literal ""ofb != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_encrypt.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar2 = cipher_is_valid(*param_4);" (assignment_expression "iVar2 = cipher_is_valid(*param_4)" identifier = (call_expression "cipher_is_valid(*param_4)" identifier (argument_list "(*param_4)" ( (pointer_expression "*param_4" * identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }" { (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (if_statement "if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }" if (parenthesized_expression "((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81))" ( (binary_expression "(uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)" (parenthesized_expression "(uVar4 < 0x81)" ( (binary_expression "uVar4 < 0x81" identifier < number_literal) )) && (parenthesized_expression "(uVar3 = param_4[2], uVar3 < 0x81)" ( (comma_expression "uVar3 = param_4[2], uVar3 < 0x81" (assignment_expression "uVar3 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) , (binary_expression "uVar3 < 0x81" identifier < number_literal)) ))) )) (compound_statement "{\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }" { (if_statement "if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }" { (expression_statement "piVar1 = param_4 + 3;" (assignment_expression "piVar1 = param_4 + 3" identifier = (binary_expression "param_4 + 3" identifier + number_literal)) ;) (expression_statement "uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;" (assignment_expression "uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3" identifier = (binary_expression "~(uint)param_2 + (int)(param_2 + param_3) & 3" (binary_expression "~(uint)param_2 + (int)(param_2 + param_3)" (unary_expression "~(uint)param_2" ~ (cast_expression "(uint)param_2" ( (type_descriptor "uint" type_identifier) ) identifier)) + (cast_expression "(int)(param_2 + param_3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_2 + param_3)" ( (binary_expression "param_2 + param_3" identifier + identifier) )))) & number_literal)) ;) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" identifier = identifier) ;) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) (if_statement "if (uVar7 == 0) goto LAB_0016bed6;" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0016bed6;" goto statement_identifier ;)) (if_statement "if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n              return iVar2;\n            }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n              return iVar2;\n            }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar2 = uVar3 + 1;\n          }" else (compound_statement "{\n            iVar2 = uVar3 + 1;\n          }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "pbVar9 = param_1 + 1;" (assignment_expression "pbVar9 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar6 = param_2 + 1;" (assignment_expression "pbVar6 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "*param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (pointer_expression "*param_2" * identifier) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" ( (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)(int)uVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier))) + number_literal) )))))) ;) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar7 == 1) goto LAB_0016bed6;" if (parenthesized_expression "(uVar7 == 1)" ( (binary_expression "uVar7 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0016bed6;" goto statement_identifier ;)) (if_statement "if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }" if (parenthesized_expression "(uVar7 != 2)" ( (binary_expression "uVar7 != 2" identifier != number_literal) )) (compound_statement "{\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }" { (if_statement "if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              iVar2 = uVar3 + 1;\n            }" else (compound_statement "{\n              iVar2 = uVar3 + 1;\n            }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "pbVar9 = param_1 + 2;" (assignment_expression "pbVar9 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "bVar5 = param_1[1];" (assignment_expression "bVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar6 = param_2 + 2;" (assignment_expression "pbVar6 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" ( (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)(int)uVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier))) + number_literal) )))))) ;) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) })) (if_statement "if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n              return iVar2;\n            }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n              return iVar2;\n            }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar2 = uVar3 + 1;\n          }" else (compound_statement "{\n            iVar2 = uVar3 + 1;\n          }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }))) (expression_statement "pbVar10 = pbVar9 + 1;" (assignment_expression "pbVar10 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar9;" (assignment_expression "bVar5 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (while_statement "while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }" { (expression_statement "pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (subscript_expression "pbVar6[-1]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" ( (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)(int)uVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier))) + number_literal) )))))) ;) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" identifier = (subscript_expression "param_4[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar9 = pbVar10;" (assignment_expression "pbVar9 = pbVar10" identifier = identifier) ;) (labeled_statement "LAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" statement_identifier : (if_statement "if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              iVar2 = uVar3 + 1;\n            }" else (compound_statement "{\n              iVar2 = uVar3 + 1;\n            }" { (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) })))) (expression_statement "bVar5 = *pbVar9;" (assignment_expression "bVar5 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "*pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (pointer_expression "*pbVar6" * identifier) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" ( (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)(int)uVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier))) + number_literal) )))))) ;) (if_statement "if (pbVar6 + 1 == param_2 + param_3) break;" if (parenthesized_expression "(pbVar6 + 1 == param_2 + param_3)" ( (binary_expression "pbVar6 + 1 == param_2 + param_3" (binary_expression "pbVar6 + 1" identifier + number_literal) == (binary_expression "param_2 + param_3" identifier + identifier)) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = param_4[2];" (assignment_expression "iVar2 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = iVar2 + 1;" (assignment_expression "iVar8 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" if (parenthesized_expression "(iVar2 == param_4[1])" ( (binary_expression "iVar2 == param_4[1]" identifier == (subscript_expression "param_4[1]" identifier [ number_literal ])) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (expression_statement "bVar5 = pbVar9[1];" (assignment_expression "bVar5 = pbVar9[1]" identifier = (subscript_expression "pbVar9[1]" identifier [ number_literal ])) ;) (expression_statement "param_4[2] = iVar8;" (assignment_expression "param_4[2] = iVar8" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);" (assignment_expression "pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" (subscript_expression "pbVar6[1]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)iVar2 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)iVar2 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)iVar2 + 0xc)" ( (binary_expression "(long)param_4 + (long)iVar2 + 0xc" (binary_expression "(long)param_4 + (long)iVar2" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)iVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) + number_literal) )))))) ;) (expression_statement "iVar2 = param_4[2];" (assignment_expression "iVar2 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = iVar2 + 1;" (assignment_expression "iVar8 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" if (parenthesized_expression "(iVar2 == param_4[1])" ( (binary_expression "iVar2 == param_4[1]" identifier == (subscript_expression "param_4[1]" identifier [ number_literal ])) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (expression_statement "bVar5 = pbVar9[2];" (assignment_expression "bVar5 = pbVar9[2]" identifier = (subscript_expression "pbVar9[2]" identifier [ number_literal ])) ;) (expression_statement "param_4[2] = iVar8;" (assignment_expression "param_4[2] = iVar8" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);" (assignment_expression "pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" (subscript_expression "pbVar6[2]" identifier [ number_literal ]) = (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" identifier ^ (pointer_expression "*(byte *)((long)param_4 + (long)iVar2 + 0xc)" * (cast_expression "(byte *)((long)param_4 + (long)iVar2 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_4 + (long)iVar2 + 0xc)" ( (binary_expression "(long)param_4 + (long)iVar2 + 0xc" (binary_expression "(long)param_4 + (long)iVar2" (cast_expression "(long)param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)iVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) + number_literal) )))))) ;) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" identifier = (subscript_expression "param_4[2]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (if_statement "if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" if (parenthesized_expression "(uVar3 == param_4[1])" ( (binary_expression "uVar3 == param_4[1]" identifier == (subscript_expression "param_4[1]" identifier [ number_literal ])) )) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" { (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" identifier + (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_4" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(piVar1,piVar1,param_4 + 0x24)" ( identifier , identifier , (binary_expression "param_4 + 0x24" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                return iVar2;\n              }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) })) (expression_statement "pbVar10 = pbVar9 + 4;" (assignment_expression "pbVar10 = pbVar9 + 4" identifier = (binary_expression "pbVar9 + 4" identifier + number_literal)) ;) (expression_statement "bVar5 = pbVar9[3];" (assignment_expression "bVar5 = pbVar9[3]" identifier = (subscript_expression "pbVar9[3]" identifier [ number_literal ])) ;) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pbVar6 = pbVar6 + 4;" (assignment_expression "pbVar6 = pbVar6 + 4" identifier = (binary_expression "pbVar6 + 4" identifier + number_literal)) ;) })) (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n        iVar2 = 0x10;\n      }" else (compound_statement "{\n        iVar2 = 0x10;\n      }" { (expression_statement "iVar2 = 0x10;" (assignment_expression "iVar2 = 0x10" identifier = number_literal) ;) }))) })) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);" (call_expression "crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e)" identifier (argument_list "("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e)" ( (string_literal ""ct != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_encrypt.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression IDENT < LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (unary_expression ~ (cast_expression ( (type_descriptor TYPE) ) IDENT)) + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) & LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * IDENT)) * LIT)) + LIT) ))))) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT ^ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression 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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * IDENT)) * LIT)) + LIT) ))))) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT ^ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * IDENT)) * LIT)) + LIT) ))))) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT ^ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * IDENT)) * LIT)) + LIT) ))))) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT ^ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == (binary_expression IDENT + IDENT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * IDENT)) * LIT)) + LIT) ))))) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT ^ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * IDENT)) * LIT)) + LIT) ))))) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT ^ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * IDENT)) * LIT)) + LIT) ))))) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (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 "int ofb_encrypt(byte *param_1,byte *param_2,long param_3,int *param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }\n  if (param_2 != (byte *)0x0) {\n    if (param_4 == (int *)0x0) {\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }\n                    \n  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);\n}" (primitive_type "int") (function_declarator "ofb_encrypt(byte *param_1,byte *param_2,long param_3,int *param_4)" (identifier "ofb_encrypt") (parameter_list "(byte *param_1,byte *param_2,long param_3,int *param_4)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  byte bVar5;\n  byte *pbVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }\n  if (param_2 != (byte *)0x0) {\n    if (param_4 == (int *)0x0) {\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }\n                    \n  crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "byte bVar5;" (type_identifier "byte") (identifier "bVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "byte *pbVar10;" (type_identifier "byte") (pointer_declarator "*pbVar10" (* "*") (identifier "pbVar10")) (; ";")) (if_statement "if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }" (if "if") (parenthesized_expression "(param_1 == (byte *)0x0)" (( "(") (binary_expression "param_1 == (byte *)0x0" (identifier "param_1") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);\n  }" ({ "{") (expression_statement "crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);" (call_expression "crypt_argchk("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d)" (identifier "crypt_argchk") (argument_list "("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d)" (( "(") (string_literal ""pt != NULL"" (" """) (string_content "pt != NULL") (" """)) (, ",") (string_literal ""src/modes/ofb/ofb_encrypt.c"" (" """) (string_content "src/modes/ofb/ofb_encrypt.c") (" """)) (, ",") (number_literal "0x1d") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 != (byte *)0x0) {\n    if (param_4 == (int *)0x0) {\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }" (if "if") (parenthesized_expression "(param_2 != (byte *)0x0)" (( "(") (binary_expression "param_2 != (byte *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (param_4 == (int *)0x0) {\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }\n    iVar2 = cipher_is_valid(*param_4);\n    if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }\n    return iVar2;\n  }" ({ "{") (if_statement "if (param_4 == (int *)0x0) {\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }" (if "if") (parenthesized_expression "(param_4 == (int *)0x0)" (( "(") (binary_expression "param_4 == (int *)0x0" (identifier "param_4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n      crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);\n    }" ({ "{") (expression_statement "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);" (call_expression "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f)" (identifier "crypt_argchk") (argument_list "("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f)" (( "(") (string_literal ""ofb != NULL"" (" """) (string_content "ofb != NULL") (" """)) (, ",") (string_literal ""src/modes/ofb/ofb_encrypt.c"" (" """) (string_content "src/modes/ofb/ofb_encrypt.c") (" """)) (, ",") (number_literal "0x1f") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = cipher_is_valid(*param_4);" (assignment_expression "iVar2 = cipher_is_valid(*param_4)" (identifier "iVar2") (= "=") (call_expression "cipher_is_valid(*param_4)" (identifier "cipher_is_valid") (argument_list "(*param_4)" (( "(") (pointer_expression "*param_4" (* "*") (identifier "param_4")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = param_4[1];\n      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }\n    }" ({ "{") (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" (identifier "uVar4") (= "=") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }\n      else {\n        iVar2 = 0x10;\n      }" (if "if") (parenthesized_expression "((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81))" (( "(") (binary_expression "(uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)" (parenthesized_expression "(uVar4 < 0x81)" (( "(") (binary_expression "uVar4 < 0x81" (identifier "uVar4") (< "<") (number_literal "0x81")) () ")")) (&& "&&") (parenthesized_expression "(uVar3 = param_4[2], uVar3 < 0x81)" (( "(") (comma_expression "uVar3 = param_4[2], uVar3 < 0x81" (assignment_expression "uVar3 = param_4[2]" (identifier "uVar3") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (, ",") (binary_expression "uVar3 < 0x81" (identifier "uVar3") (< "<") (number_literal "0x81"))) () ")"))) () ")")) (compound_statement "{\n        if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }\n      }" ({ "{") (if_statement "if (param_3 != 0) {\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          piVar1 = param_4 + 3;\n          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;\n          pbVar6 = param_2;\n          pbVar9 = param_1;\n          if (uVar7 == 0) goto LAB_0016bed6;\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar9 = param_1 + 1;\n          bVar5 = *param_1;\n          pbVar6 = param_2 + 1;\n          param_4[2] = iVar2;\n          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n          uVar3 = param_4[2];\n          uVar4 = param_4[1];\n          if (uVar7 == 1) goto LAB_0016bed6;\n          if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }\n          if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }\n          pbVar10 = pbVar9 + 1;\n          bVar5 = *pbVar9;\n          pbVar6 = pbVar6 + 1;\n          param_4[2] = iVar2;\n          while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }\n          return 0;\n        }" ({ "{") (expression_statement "piVar1 = param_4 + 3;" (assignment_expression "piVar1 = param_4 + 3" (identifier "piVar1") (= "=") (binary_expression "param_4 + 3" (identifier "param_4") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;" (assignment_expression "uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3" (identifier "uVar7") (= "=") (binary_expression "~(uint)param_2 + (int)(param_2 + param_3) & 3" (binary_expression "~(uint)param_2 + (int)(param_2 + param_3)" (unary_expression "~(uint)param_2" (~ "~") (cast_expression "(uint)param_2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_2"))) (+ "+") (cast_expression "(int)(param_2 + param_3)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_2 + param_3)" (( "(") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3")) () ")")))) (& "&") (number_literal "3"))) (; ";")) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" (identifier "pbVar6") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" (identifier "pbVar9") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (uVar7 == 0) goto LAB_0016bed6;" (if "if") (parenthesized_expression "(uVar7 == 0)" (( "(") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0016bed6;" (goto "goto") (statement_identifier "LAB_0016bed6") (; ";"))) (if_statement "if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }" (if "if") (parenthesized_expression "(uVar3 == uVar4)" (( "(") (binary_expression "uVar3 == uVar4" (identifier "uVar3") (== "==") (identifier "uVar4")) () ")")) (compound_statement "{\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }" ({ "{") (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" (( "(") (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" (identifier "PTR_cipher_descriptor_001dded0") (+ "+") (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (* "*") (number_literal "0xc0"))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1,piVar1,param_4 + 0x24)" (( "(") (identifier "piVar1") (, ",") (identifier "piVar1") (, ",") (binary_expression "param_4 + 0x24" (identifier "param_4") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n              return iVar2;\n            }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              return iVar2;\n            }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n            iVar2 = uVar3 + 1;\n          }" (else "else") (compound_statement "{\n            iVar2 = uVar3 + 1;\n          }" ({ "{") (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" (identifier "iVar2") (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "pbVar9 = param_1 + 1;" (assignment_expression "pbVar9 = param_1 + 1" (identifier "pbVar9") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" (identifier "bVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "pbVar6 = param_2 + 1;" (assignment_expression "pbVar6 = param_2 + 1" (identifier "pbVar6") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "*param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (identifier "bVar5") (^ "^") (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (* "*") (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" (( "(") (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_4")) (+ "+") (cast_expression "(long)(int)uVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")))) (+ "+") (number_literal "0xc")) () ")")))))) (; ";")) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" (identifier "uVar3") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" (identifier "uVar4") (= "=") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (uVar7 == 1) goto LAB_0016bed6;" (if "if") (parenthesized_expression "(uVar7 == 1)" (( "(") (binary_expression "uVar7 == 1" (identifier "uVar7") (== "==") (number_literal "1")) () ")")) (goto_statement "goto LAB_0016bed6;" (goto "goto") (statement_identifier "LAB_0016bed6") (; ";"))) (if_statement "if (uVar7 != 2) {\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }" (if "if") (parenthesized_expression "(uVar7 != 2)" (( "(") (binary_expression "uVar7 != 2" (identifier "uVar7") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            pbVar9 = param_1 + 2;\n            bVar5 = param_1[1];\n            pbVar6 = param_2 + 2;\n            param_4[2] = iVar2;\n            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n          }" ({ "{") (if_statement "if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" (if "if") (parenthesized_expression "(uVar3 == uVar4)" (( "(") (binary_expression "uVar3 == uVar4" (identifier "uVar3") (== "==") (identifier "uVar4")) () ")")) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" ({ "{") (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" (( "(") (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" (identifier "PTR_cipher_descriptor_001dded0") (+ "+") (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (* "*") (number_literal "0xc0"))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1,piVar1,param_4 + 0x24)" (( "(") (identifier "piVar1") (, ",") (identifier "piVar1") (, ",") (binary_expression "param_4 + 0x24" (identifier "param_4") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                return iVar2;\n              }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n              iVar2 = uVar3 + 1;\n            }" (else "else") (compound_statement "{\n              iVar2 = uVar3 + 1;\n            }" ({ "{") (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" (identifier "iVar2") (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "pbVar9 = param_1 + 2;" (assignment_expression "pbVar9 = param_1 + 2" (identifier "pbVar9") (= "=") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "bVar5 = param_1[1];" (assignment_expression "bVar5 = param_1[1]" (identifier "bVar5") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pbVar6 = param_2 + 2;" (assignment_expression "pbVar6 = param_2 + 2" (identifier "pbVar6") (= "=") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (identifier "bVar5") (^ "^") (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (* "*") (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" (( "(") (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_4")) (+ "+") (cast_expression "(long)(int)uVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")))) (+ "+") (number_literal "0xc")) () ")")))))) (; ";")) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" (identifier "uVar3") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" (identifier "uVar4") (= "=") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (if_statement "if (uVar3 == uVar4) {\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }\n          else {\n            iVar2 = uVar3 + 1;\n          }" (if "if") (parenthesized_expression "(uVar3 == uVar4)" (( "(") (binary_expression "uVar3 == uVar4" (identifier "uVar3") (== "==") (identifier "uVar4")) () ")")) (compound_statement "{\n            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);\n            if (iVar2 != 0) {\n              return iVar2;\n            }\n            param_4[2] = 0;\n            iVar2 = 1;\n            uVar3 = 0;\n          }" ({ "{") (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                              (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" (( "(") (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" (identifier "PTR_cipher_descriptor_001dded0") (+ "+") (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (* "*") (number_literal "0xc0"))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1,piVar1,param_4 + 0x24)" (( "(") (identifier "piVar1") (, ",") (identifier "piVar1") (, ",") (binary_expression "param_4 + 0x24" (identifier "param_4") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n              return iVar2;\n            }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              return iVar2;\n            }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n            iVar2 = uVar3 + 1;\n          }" (else "else") (compound_statement "{\n            iVar2 = uVar3 + 1;\n          }" ({ "{") (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" (identifier "iVar2") (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "pbVar10 = pbVar9 + 1;" (assignment_expression "pbVar10 = pbVar9 + 1" (identifier "pbVar10") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar5 = *pbVar9;" (assignment_expression "bVar5 = *pbVar9" (identifier "bVar5") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (; ";")) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (while_statement "while( true ) {\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            uVar3 = param_4[2];\n            uVar4 = param_4[1];\n            pbVar9 = pbVar10;\nLAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }\n            bVar5 = *pbVar9;\n            param_4[2] = iVar2;\n            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);\n            if (pbVar6 + 1 == param_2 + param_3) break;\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[1];\n            param_4[2] = iVar8;\n            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            iVar2 = param_4[2];\n            iVar8 = iVar2 + 1;\n            if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }\n            bVar5 = pbVar9[2];\n            param_4[2] = iVar8;\n            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);\n            uVar3 = param_4[2];\n            iVar2 = uVar3 + 1;\n            if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            pbVar10 = pbVar9 + 4;\n            bVar5 = pbVar9[3];\n            param_4[2] = iVar2;\n            pbVar6 = pbVar6 + 4;\n          }" ({ "{") (expression_statement "pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (subscript_expression "pbVar6[-1]" (identifier "pbVar6") ([ "[") (number_literal "-1") (] "]")) (= "=") (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (identifier "bVar5") (^ "^") (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (* "*") (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" (( "(") (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_4")) (+ "+") (cast_expression "(long)(int)uVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")))) (+ "+") (number_literal "0xc")) () ")")))))) (; ";")) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" (identifier "uVar3") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar4 = param_4[1];" (assignment_expression "uVar4 = param_4[1]" (identifier "uVar4") (= "=") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pbVar9 = pbVar10;" (assignment_expression "pbVar9 = pbVar10" (identifier "pbVar9") (= "=") (identifier "pbVar10")) (; ";")) (labeled_statement "LAB_0016bed6:\n            if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" (statement_identifier "LAB_0016bed6") (: ":") (if_statement "if (uVar3 == uVar4) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }\n            else {\n              iVar2 = uVar3 + 1;\n            }" (if "if") (parenthesized_expression "(uVar3 == uVar4)" (( "(") (binary_expression "uVar3 == uVar4" (identifier "uVar3") (== "==") (identifier "uVar4")) () ")")) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" ({ "{") (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" (( "(") (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" (identifier "PTR_cipher_descriptor_001dded0") (+ "+") (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (* "*") (number_literal "0xc0"))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1,piVar1,param_4 + 0x24)" (( "(") (identifier "piVar1") (, ",") (identifier "piVar1") (, ",") (binary_expression "param_4 + 0x24" (identifier "param_4") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                return iVar2;\n              }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n              iVar2 = uVar3 + 1;\n            }" (else "else") (compound_statement "{\n              iVar2 = uVar3 + 1;\n            }" ({ "{") (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" (identifier "iVar2") (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}"))))) (expression_statement "bVar5 = *pbVar9;" (assignment_expression "bVar5 = *pbVar9" (identifier "bVar5") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (; ";")) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);" (assignment_expression "*pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (= "=") (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (identifier "bVar5") (^ "^") (pointer_expression "*(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (* "*") (cast_expression "(byte *)((long)param_4 + (long)(int)uVar3 + 0xc)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_4 + (long)(int)uVar3 + 0xc)" (( "(") (binary_expression "(long)param_4 + (long)(int)uVar3 + 0xc" (binary_expression "(long)param_4 + (long)(int)uVar3" (cast_expression "(long)param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_4")) (+ "+") (cast_expression "(long)(int)uVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")))) (+ "+") (number_literal "0xc")) () ")")))))) (; ";")) (if_statement "if (pbVar6 + 1 == param_2 + param_3) break;" (if "if") (parenthesized_expression "(pbVar6 + 1 == param_2 + param_3)" (( "(") (binary_expression "pbVar6 + 1 == param_2 + param_3" (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1")) (== "==") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar2 = param_4[2];" (assignment_expression "iVar2 = param_4[2]" (identifier "iVar2") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar8 = iVar2 + 1;" (assignment_expression "iVar8 = iVar2 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" (if "if") (parenthesized_expression "(iVar2 == param_4[1])" (( "(") (binary_expression "iVar2 == param_4[1]" (identifier "iVar2") (== "==") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]"))) () ")")) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" ({ "{") (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" (( "(") (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" (identifier "PTR_cipher_descriptor_001dded0") (+ "+") (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (* "*") (number_literal "0xc0"))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1,piVar1,param_4 + 0x24)" (( "(") (identifier "piVar1") (, ",") (identifier "piVar1") (, ",") (binary_expression "param_4 + 0x24" (identifier "param_4") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                return iVar2;\n              }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" (identifier "iVar8") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "bVar5 = pbVar9[1];" (assignment_expression "bVar5 = pbVar9[1]" (identifier "bVar5") (= "=") (subscript_expression "pbVar9[1]" (identifier "pbVar9") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_4[2] = iVar8;" (assignment_expression "param_4[2] = iVar8" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);" (assignment_expression "pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" (subscript_expression "pbVar6[1]" (identifier "pbVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" (identifier "bVar5") (^ "^") (pointer_expression "*(byte *)((long)param_4 + (long)iVar2 + 0xc)" (* "*") (cast_expression "(byte *)((long)param_4 + (long)iVar2 + 0xc)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_4 + (long)iVar2 + 0xc)" (( "(") (binary_expression "(long)param_4 + (long)iVar2 + 0xc" (binary_expression "(long)param_4 + (long)iVar2" (cast_expression "(long)param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_4")) (+ "+") (cast_expression "(long)iVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar2"))) (+ "+") (number_literal "0xc")) () ")")))))) (; ";")) (expression_statement "iVar2 = param_4[2];" (assignment_expression "iVar2 = param_4[2]" (identifier "iVar2") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar8 = iVar2 + 1;" (assignment_expression "iVar8 = iVar2 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar2 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" (if "if") (parenthesized_expression "(iVar2 == param_4[1])" (( "(") (binary_expression "iVar2 == param_4[1]" (identifier "iVar2") (== "==") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]"))) () ")")) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar8 = 1;\n              iVar2 = 0;\n            }" ({ "{") (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" (( "(") (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" (identifier "PTR_cipher_descriptor_001dded0") (+ "+") (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (* "*") (number_literal "0xc0"))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1,piVar1,param_4 + 0x24)" (( "(") (identifier "piVar1") (, ",") (identifier "piVar1") (, ",") (binary_expression "param_4 + 0x24" (identifier "param_4") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                return iVar2;\n              }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" (identifier "iVar8") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "bVar5 = pbVar9[2];" (assignment_expression "bVar5 = pbVar9[2]" (identifier "bVar5") (= "=") (subscript_expression "pbVar9[2]" (identifier "pbVar9") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_4[2] = iVar8;" (assignment_expression "param_4[2] = iVar8" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);" (assignment_expression "pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" (subscript_expression "pbVar6[2]" (identifier "pbVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc)" (identifier "bVar5") (^ "^") (pointer_expression "*(byte *)((long)param_4 + (long)iVar2 + 0xc)" (* "*") (cast_expression "(byte *)((long)param_4 + (long)iVar2 + 0xc)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_4 + (long)iVar2 + 0xc)" (( "(") (binary_expression "(long)param_4 + (long)iVar2 + 0xc" (binary_expression "(long)param_4 + (long)iVar2" (cast_expression "(long)param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_4")) (+ "+") (cast_expression "(long)iVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar2"))) (+ "+") (number_literal "0xc")) () ")")))))) (; ";")) (expression_statement "uVar3 = param_4[2];" (assignment_expression "uVar3 = param_4[2]" (identifier "uVar3") (= "=") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar2 = uVar3 + 1;" (assignment_expression "iVar2 = uVar3 + 1" (identifier "iVar2") (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar3 == param_4[1]) {\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" (if "if") (parenthesized_expression "(uVar3 == param_4[1])" (( "(") (binary_expression "uVar3 == param_4[1]" (identifier "uVar3") (== "==") (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]"))) () ")")) (compound_statement "{\n              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);\n              if (iVar2 != 0) {\n                return iVar2;\n              }\n              param_4[2] = 0;\n              iVar2 = 1;\n              uVar3 = 0;\n            }" ({ "{") (expression_statement "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24);" (assignment_expression "iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))\n                                (piVar1,piVar1,param_4 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))" (( "(") (pointer_expression "**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (pointer_expression "*(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (* "*") (cast_expression "(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28)" (( "(") (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0" (identifier "PTR_cipher_descriptor_001dded0") (+ "+") (binary_expression "(long)*param_4 * 0xc0" (cast_expression "(long)*param_4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (* "*") (number_literal "0xc0"))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1,piVar1,param_4 + 0x24)" (( "(") (identifier "piVar1") (, ",") (identifier "piVar1") (, ",") (binary_expression "param_4 + 0x24" (identifier "param_4") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n                return iVar2;\n              }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                return iVar2;\n              }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "param_4[2] = 0;" (assignment_expression "param_4[2] = 0" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "pbVar10 = pbVar9 + 4;" (assignment_expression "pbVar10 = pbVar9 + 4" (identifier "pbVar10") (= "=") (binary_expression "pbVar9 + 4" (identifier "pbVar9") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "bVar5 = pbVar9[3];" (assignment_expression "bVar5 = pbVar9[3]" (identifier "bVar5") (= "=") (subscript_expression "pbVar9[3]" (identifier "pbVar9") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_4[2] = iVar2;" (assignment_expression "param_4[2] = iVar2" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "pbVar6 = pbVar6 + 4;" (assignment_expression "pbVar6 = pbVar6 + 4" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 4" (identifier "pbVar6") (+ "+") (number_literal "4"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar2 = 0x10;\n      }" (else "else") (compound_statement "{\n        iVar2 = 0x10;\n      }" ({ "{") (expression_statement "iVar2 = 0x10;" (assignment_expression "iVar2 = 0x10" (identifier "iVar2") (= "=") (number_literal "0x10")) (; ";")) (} "}")))) (} "}"))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);" (call_expression "crypt_argchk("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e)" (identifier "crypt_argchk") (argument_list "("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e)" (( "(") (string_literal ""ct != NULL"" (" """) (string_content "ct != NULL") (" """)) (, ",") (string_literal ""src/modes/ofb/ofb_encrypt.c"" (" """) (string_content "src/modes/ofb/ofb_encrypt.c") (" """)) (, ",") (number_literal "0x1e") () ")"))) (; ";")) (} "}")))

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

{
  type_1 *puVar1;
  int var_6;
  type_4 var_8;
  type_4 var_7;
  type_5 var_12;
  type_5 *var_14;
  type_4 var_10;
  int iVar8;
  type_5 *var_13;
  type_5 *pbVar10;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("pt != NULL","src/modes/ofb/ofb_encrypt.c",0x1d);
  }
  if (var_3 != (type_1 *)0x0) {
    if (var_4 == (type_3 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_2("ofb != NULL","src/modes/ofb/ofb_encrypt.c",0x1f);
    }
    var_6 = var_5(var_4->cipher);
    if (var_6 == 0) {
      var_7 = var_4->blocklen;
      if ((var_7 < 0x81) && (var_8 = var_4->padlen, var_8 < 0x81)) {
        if (var_9 != 0) {
          puVar1 = var_4->IV;
          var_10 = ~(type_4)var_3 + (int)(var_3 + var_9) & 3;
          var_14 = var_3;
          var_13 = var_1;
          if (var_10 == 0) goto LAB_0016bed6;
          if (var_8 == var_7) {
            var_6 = (**(type_6 **)(var_11 + (long)var_4->cipher * 0xc0 + 0x28))
                              (puVar1,puVar1,&var_4->key);
            if (var_6 != 0) {
              return var_6;
            }
            var_4->padlen = 0;
            var_6 = 1;
            var_8 = 0;
          }
          else {
            var_6 = var_8 + 1;
          }
          var_13 = var_1 + 1;
          var_12 = *var_1;
          var_14 = var_3 + 1;
          var_4->padlen = var_6;
          *var_3 = var_12 ^ var_4->IV[(int)var_8];
          var_8 = var_4->padlen;
          var_7 = var_4->blocklen;
          if (var_10 == 1) goto LAB_0016bed6;
          if (var_10 != 2) {
            if (var_8 == var_7) {
              var_6 = (**(type_6 **)(var_11 + (long)var_4->cipher * 0xc0 + 0x28)
                      )(puVar1,puVar1,&var_4->key);
              if (var_6 != 0) {
                return var_6;
              }
              var_4->padlen = 0;
              var_6 = 1;
              var_8 = 0;
            }
            else {
              var_6 = var_8 + 1;
            }
            var_13 = var_1 + 2;
            var_12 = var_1[1];
            var_14 = var_3 + 2;
            var_4->padlen = var_6;
            var_3[1] = var_12 ^ var_4->IV[(int)var_8];
            var_8 = var_4->padlen;
            var_7 = var_4->blocklen;
          }
          if (var_8 == var_7) {
            var_6 = (**(type_6 **)(var_11 + (long)var_4->cipher * 0xc0 + 0x28))
                              (puVar1,puVar1,&var_4->key);
            if (var_6 != 0) {
              return var_6;
            }
            var_4->padlen = 0;
            var_6 = 1;
            var_8 = 0;
          }
          else {
            var_6 = var_8 + 1;
          }
          pbVar10 = var_13 + 1;
          var_12 = *var_13;
          var_14 = var_14 + 1;
          var_4->padlen = var_6;
          while( true ) {
            var_14[-1] = var_12 ^ var_4->IV[(int)var_8];
            var_8 = var_4->padlen;
            var_7 = var_4->blocklen;
            var_13 = pbVar10;
LAB_0016bed6:
            if (var_8 == var_7) {
              var_6 = (**(type_6 **)(var_11 + (long)var_4->cipher * 0xc0 + 0x28)
                      )(puVar1,puVar1,&var_4->key);
              if (var_6 != 0) {
                return var_6;
              }
              var_4->padlen = 0;
              var_6 = 1;
              var_8 = 0;
            }
            else {
              var_6 = var_8 + 1;
            }
            var_12 = *var_13;
            var_4->padlen = var_6;
            *var_14 = var_12 ^ var_4->IV[(int)var_8];
            if (var_14 + 1 == var_3 + var_9) break;
            var_6 = var_4->padlen;
            iVar8 = var_6 + 1;
            if (var_6 == var_4->blocklen) {
              var_6 = (**(type_6 **)(var_11 + (long)var_4->cipher * 0xc0 + 0x28)
                      )(puVar1,puVar1,&var_4->key);
              if (var_6 != 0) {
                return var_6;
              }
              var_4->padlen = 0;
              iVar8 = 1;
              var_6 = 0;
            }
            var_12 = var_13[1];
            var_4->padlen = iVar8;
            var_14[1] = var_12 ^ var_4->IV[var_6];
            var_6 = var_4->padlen;
            iVar8 = var_6 + 1;
            if (var_6 == var_4->blocklen) {
              var_6 = (**(type_6 **)(var_11 + (long)var_4->cipher * 0xc0 + 0x28)
                      )(puVar1,puVar1,&var_4->key);
              if (var_6 != 0) {
                return var_6;
              }
              var_4->padlen = 0;
              iVar8 = 1;
              var_6 = 0;
            }
            var_12 = var_13[2];
            var_4->padlen = iVar8;
            var_14[2] = var_12 ^ var_4->IV[var_6];
            var_8 = var_4->padlen;
            var_6 = var_8 + 1;
            if (var_8 == var_4->blocklen) {
              var_6 = (**(type_6 **)(var_11 + (long)var_4->cipher * 0xc0 + 0x28)
                      )(puVar1,puVar1,&var_4->key);
              if (var_6 != 0) {
                return var_6;
              }
              var_4->padlen = 0;
              var_6 = 1;
              var_8 = 0;
            }
            pbVar10 = var_13 + 4;
            var_12 = var_13[3];
            var_4->padlen = var_6;
            var_14 = var_14 + 4;
          }
          return 0;
        }
      }
      else {
        var_6 = 0x10;
      }
    }
    return var_6;
  }
                    /* WARNING: Subroutine does not return */
  var_2("ct != NULL","src/modes/ofb/ofb_encrypt.c",0x1e);
}


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

int MASKED(byte *param_1,byte *param_2,long param_3,int *param_4)

{
  int *piVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  byte bVar5;
  byte *pbVar6;
  uint uVar7;
  int iVar8;
  byte *pbVar9;
  byte *pbVar10;
  
  if (param_1 == (byte *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("pt != NULL","src/modes/ofb/MASKED.c",0x1d);
  }
  if (param_2 != (byte *)0x0) {
    if (param_4 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
      crypt_argchk("ofb != NULL","src/modes/ofb/MASKED.c",0x1f);
    }
    iVar2 = cipher_is_valid(*param_4);
    if (iVar2 == 0) {
      uVar4 = param_4[1];
      if ((uVar4 < 0x81) && (uVar3 = param_4[2], uVar3 < 0x81)) {
        if (param_3 != 0) {
          piVar1 = param_4 + 3;
          uVar7 = ~(uint)param_2 + (int)(param_2 + param_3) & 3;
          pbVar6 = param_2;
          pbVar9 = param_1;
          if (uVar7 == 0) goto LAB_0016bed6;
          if (uVar3 == uVar4) {
            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                              (piVar1,piVar1,param_4 + 0x24);
            if (iVar2 != 0) {
              return iVar2;
            }
            param_4[2] = 0;
            iVar2 = 1;
            uVar3 = 0;
          }
          else {
            iVar2 = uVar3 + 1;
          }
          pbVar9 = param_1 + 1;
          bVar5 = *param_1;
          pbVar6 = param_2 + 1;
          param_4[2] = iVar2;
          *param_2 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);
          uVar3 = param_4[2];
          uVar4 = param_4[1];
          if (uVar7 == 1) goto LAB_0016bed6;
          if (uVar7 != 2) {
            if (uVar3 == uVar4) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                                (piVar1,piVar1,param_4 + 0x24);
              if (iVar2 != 0) {
                return iVar2;
              }
              param_4[2] = 0;
              iVar2 = 1;
              uVar3 = 0;
            }
            else {
              iVar2 = uVar3 + 1;
            }
            pbVar9 = param_1 + 2;
            bVar5 = param_1[1];
            pbVar6 = param_2 + 2;
            param_4[2] = iVar2;
            param_2[1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);
            uVar3 = param_4[2];
            uVar4 = param_4[1];
          }
          if (uVar3 == uVar4) {
            iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                              (piVar1,piVar1,param_4 + 0x24);
            if (iVar2 != 0) {
              return iVar2;
            }
            param_4[2] = 0;
            iVar2 = 1;
            uVar3 = 0;
          }
          else {
            iVar2 = uVar3 + 1;
          }
          pbVar10 = pbVar9 + 1;
          bVar5 = *pbVar9;
          pbVar6 = pbVar6 + 1;
          param_4[2] = iVar2;
          while( true ) {
            pbVar6[-1] = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);
            uVar3 = param_4[2];
            uVar4 = param_4[1];
            pbVar9 = pbVar10;
LAB_0016bed6:
            if (uVar3 == uVar4) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                                (piVar1,piVar1,param_4 + 0x24);
              if (iVar2 != 0) {
                return iVar2;
              }
              param_4[2] = 0;
              iVar2 = 1;
              uVar3 = 0;
            }
            else {
              iVar2 = uVar3 + 1;
            }
            bVar5 = *pbVar9;
            param_4[2] = iVar2;
            *pbVar6 = bVar5 ^ *(byte *)((long)param_4 + (long)(int)uVar3 + 0xc);
            if (pbVar6 + 1 == param_2 + param_3) break;
            iVar2 = param_4[2];
            iVar8 = iVar2 + 1;
            if (iVar2 == param_4[1]) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                                (piVar1,piVar1,param_4 + 0x24);
              if (iVar2 != 0) {
                return iVar2;
              }
              param_4[2] = 0;
              iVar8 = 1;
              iVar2 = 0;
            }
            bVar5 = pbVar9[1];
            param_4[2] = iVar8;
            pbVar6[1] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);
            iVar2 = param_4[2];
            iVar8 = iVar2 + 1;
            if (iVar2 == param_4[1]) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                                (piVar1,piVar1,param_4 + 0x24);
              if (iVar2 != 0) {
                return iVar2;
              }
              param_4[2] = 0;
              iVar8 = 1;
              iVar2 = 0;
            }
            bVar5 = pbVar9[2];
            param_4[2] = iVar8;
            pbVar6[2] = bVar5 ^ *(byte *)((long)param_4 + (long)iVar2 + 0xc);
            uVar3 = param_4[2];
            iVar2 = uVar3 + 1;
            if (uVar3 == param_4[1]) {
              iVar2 = (**(code **)(PTR_cipher_descriptor_001dded0 + (long)*param_4 * 0xc0 + 0x28))
                                (piVar1,piVar1,param_4 + 0x24);
              if (iVar2 != 0) {
                return iVar2;
              }
              param_4[2] = 0;
              iVar2 = 1;
              uVar3 = 0;
            }
            pbVar10 = pbVar9 + 4;
            bVar5 = pbVar9[3];
            param_4[2] = iVar2;
            pbVar6 = pbVar6 + 4;
          }
          return 0;
        }
      }
      else {
        iVar2 = 0x10;
      }
    }
    return iVar2;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("ct != NULL","src/modes/ofb/MASKED.c",0x1e);
}

