
/* WARNING: Removing unreachable block (ram,0x00165157) */
/* WARNING: Removing unreachable block (ram,0x00165161) */

int _base64_decode_internal(uchar *in,ulong inlen,uchar *out,ulong *outlen,uchar *map,int is_strict)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  ulong uVar4;
  byte *pbVar5;
  ulong uVar6;
  ulong uVar7;
  long lVar8;
  long lVar9;
  ulong uVar10;
  
  if (in == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);
  }
  if (out == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);
  }
  if (outlen == (ulong *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);
  }
  if (inlen != 0) {
    pbVar5 = in + inlen;
    iVar2 = 0;
    uVar4 = 0;
    lVar9 = 0;
    uVar6 = 0;
    uVar10 = 0;
    uVar3 = (int)pbVar5 - (int)in & 3;
    if (uVar3 == 0) goto LAB_001652f8;
    if (uVar3 != 1) {
      if (uVar3 != 2) {
        bVar1 = map[*in];
        if (bVar1 == 0xfe) {
          iVar2 = 1;
        }
        else if (bVar1 == 0xff) {
          if (is_strict != 0) {
            return 7;
          }
        }
        else {
          uVar6 = (ulong)bVar1;
          lVar9 = 1;
        }
        in = in + 1;
      }
      bVar1 = map[*in];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((is_strict != 0) && (iVar2 != 0)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (is_strict != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            uVar4 = 3;
            if (*outlen < 3) {
              return 6;
            }
            *out = '\0';
            out[1] = (uchar)(uVar7 >> 8);
            out[2] = (uchar)uVar6;
            lVar9 = 0;
            uVar6 = uVar10;
          }
        }
      }
      in = in + 1;
    }
    bVar1 = map[*in];
    if (bVar1 == 0xfe) {
      iVar2 = iVar2 + 1;
    }
    else {
      if ((is_strict != 0) && (iVar2 != 0)) {
        return 7;
      }
      if (bVar1 == 0xff) {
        if (is_strict != 0) {
          return 7;
        }
      }
      else {
        uVar7 = uVar6 << 6;
        lVar9 = lVar9 + 1;
        uVar6 = uVar7 | bVar1;
        if (lVar9 == 4) {
          if (*outlen < uVar4 + 3) {
            return 6;
          }
          out[uVar4] = (uchar)(uVar7 >> 0x10);
          out[uVar4 + 1] = (uchar)(uVar7 >> 8);
          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);
          lVar9 = 0;
          uVar4 = uVar4 + 3;
          uVar6 = uVar10;
        }
      }
    }
    for (in = in + 1; pbVar5 != in; in = in + 4) {
LAB_001652f8:
      bVar1 = map[*in];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((is_strict != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (is_strict != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            if (*outlen < uVar4 + 3) {
              return 6;
            }
            out[uVar4] = (uchar)(uVar7 >> 0x10);
            out[uVar4 + 1] = (uchar)(uVar7 >> 8);
            out[uVar4 + 2] = (uchar)uVar6;
            lVar9 = 0;
            uVar6 = 0;
            uVar4 = uVar4 + 3;
          }
        }
      }
      bVar1 = map[in[1]];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((is_strict != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (is_strict != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            if (*outlen < uVar4 + 3) {
              return 6;
            }
            out[uVar4] = (uchar)(uVar7 >> 0x10);
            out[uVar4 + 1] = (uchar)(uVar7 >> 8);
            out[uVar4 + 2] = (uchar)uVar6;
            lVar9 = 0;
            uVar6 = 0;
            uVar4 = uVar4 + 3;
          }
        }
      }
      bVar1 = map[in[2]];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((is_strict != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (is_strict != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            if (*outlen < uVar4 + 3) {
              return 6;
            }
            out[uVar4] = (uchar)(uVar7 >> 0x10);
            out[uVar4 + 1] = (uchar)(uVar7 >> 8);
            out[uVar4 + 2] = (uchar)uVar6;
            lVar9 = 0;
            uVar6 = 0;
            uVar4 = uVar4 + 3;
          }
        }
      }
      bVar1 = map[in[3]];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((is_strict != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (is_strict != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          lVar9 = lVar9 + 1;
          uVar6 = uVar7 | bVar1;
          if (lVar9 == 4) {
            if (*outlen < uVar4 + 3) {
              return 6;
            }
            out[uVar4] = (uchar)(uVar7 >> 0x10);
            out[uVar4 + 1] = (uchar)(uVar7 >> 8);
            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);
            lVar9 = 0;
            uVar4 = uVar4 + 3;
            uVar6 = uVar10;
          }
        }
      }
    }
    inlen = uVar4;
    if (lVar9 != 0) {
      if (lVar9 == 1) {
        return 7;
      }
      if ((is_strict != 0 && map != map_base64url) && (iVar2 + lVar9 != 4)) {
        return 7;
      }
      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);
      if (*outlen < lVar9 + -1 + uVar4) {
        return 6;
      }
      inlen = uVar4 + 1;
      out[uVar4] = (uchar)((ulong)lVar8 >> 0x10);
      if (lVar9 == 3) {
        out[inlen] = (uchar)((ulong)lVar8 >> 8);
        inlen = uVar4 + 2;
      }
    }
  }
  *outlen = inlen;
  return 0;
}



/* WARNING: Removing unreachable block (ram,0x00165157) */
/* WARNING: Removing unreachable block (ram,0x00165161) */

undefined8
FUN_00164ecd(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,
            int param_6)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  ulong uVar4;
  byte *pbVar5;
  ulong uVar6;
  ulong uVar7;
  long lVar8;
  long lVar9;
  ulong uVar10;
  
  if (param_1 == (byte *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);
  }
  if (param_3 == (undefined1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);
  }
  if (param_4 == (ulong *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);
  }
  if (param_2 != 0) {
    pbVar5 = param_1 + param_2;
    iVar2 = 0;
    uVar4 = 0;
    lVar9 = 0;
    uVar6 = 0;
    uVar10 = 0;
    uVar3 = (int)pbVar5 - (int)param_1 & 3;
    if (uVar3 == 0) goto LAB_001652f8;
    if (uVar3 != 1) {
      if (uVar3 != 2) {
        bVar1 = param_5[*param_1];
        if (bVar1 == 0xfe) {
          iVar2 = 1;
        }
        else if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar6 = (ulong)bVar1;
          lVar9 = 1;
        }
        param_1 = param_1 + 1;
      }
      bVar1 = param_5[*param_1];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((param_6 != 0) && (iVar2 != 0)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            uVar4 = 3;
            if (*param_4 < 3) {
              return 6;
            }
            *param_3 = 0;
            param_3[1] = (char)(uVar7 >> 8);
            param_3[2] = (char)uVar6;
            lVar9 = 0;
            uVar6 = uVar10;
          }
        }
      }
      param_1 = param_1 + 1;
    }
    bVar1 = param_5[*param_1];
    if (bVar1 == 0xfe) {
      iVar2 = iVar2 + 1;
    }
    else {
      if ((param_6 != 0) && (iVar2 != 0)) {
        return 7;
      }
      if (bVar1 == 0xff) {
        if (param_6 != 0) {
          return 7;
        }
      }
      else {
        uVar7 = uVar6 << 6;
        lVar9 = lVar9 + 1;
        uVar6 = uVar7 | bVar1;
        if (lVar9 == 4) {
          if (*param_4 < uVar4 + 3) {
            return 6;
          }
          param_3[uVar4] = (char)(uVar7 >> 0x10);
          param_3[uVar4 + 1] = (char)(uVar7 >> 8);
          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);
          lVar9 = 0;
          uVar4 = uVar4 + 3;
          uVar6 = uVar10;
        }
      }
    }
    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {
LAB_001652f8:
      bVar1 = param_5[*param_1];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((param_6 != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            if (*param_4 < uVar4 + 3) {
              return 6;
            }
            param_3[uVar4] = (char)(uVar7 >> 0x10);
            param_3[uVar4 + 1] = (char)(uVar7 >> 8);
            param_3[uVar4 + 2] = (char)uVar6;
            lVar9 = 0;
            uVar6 = 0;
            uVar4 = uVar4 + 3;
          }
        }
      }
      bVar1 = param_5[param_1[1]];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((param_6 != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            if (*param_4 < uVar4 + 3) {
              return 6;
            }
            param_3[uVar4] = (char)(uVar7 >> 0x10);
            param_3[uVar4 + 1] = (char)(uVar7 >> 8);
            param_3[uVar4 + 2] = (char)uVar6;
            lVar9 = 0;
            uVar6 = 0;
            uVar4 = uVar4 + 3;
          }
        }
      }
      bVar1 = param_5[param_1[2]];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((param_6 != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            if (*param_4 < uVar4 + 3) {
              return 6;
            }
            param_3[uVar4] = (char)(uVar7 >> 0x10);
            param_3[uVar4 + 1] = (char)(uVar7 >> 8);
            param_3[uVar4 + 2] = (char)uVar6;
            lVar9 = 0;
            uVar6 = 0;
            uVar4 = uVar4 + 3;
          }
        }
      }
      bVar1 = param_5[param_1[3]];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((param_6 != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          lVar9 = lVar9 + 1;
          uVar6 = uVar7 | bVar1;
          if (lVar9 == 4) {
            if (*param_4 < uVar4 + 3) {
              return 6;
            }
            param_3[uVar4] = (char)(uVar7 >> 0x10);
            param_3[uVar4 + 1] = (char)(uVar7 >> 8);
            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);
            lVar9 = 0;
            uVar4 = uVar4 + 3;
            uVar6 = uVar10;
          }
        }
      }
    }
    param_2 = uVar4;
    if (lVar9 != 0) {
      if (lVar9 == 1) {
        return 7;
      }
      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {
        return 7;
      }
      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);
      if (*param_4 < lVar9 + -1 + uVar4) {
        return 6;
      }
      param_2 = uVar4 + 1;
      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);
      if (lVar9 == 3) {
        param_3[param_2] = (char)((ulong)lVar8 >> 8);
        param_2 = uVar4 + 2;
      }
    }
  }
  *param_4 = param_2;
  return 0;
}


PUSH R12
PUSH RBP
PUSH RBX
TEST RDI,RDI
JZ 0x00165099
MOV RBP,RCX
TEST RDX,RDX
JZ 0x001650b1
TEST RCX,RCX
JZ 0x001650c9
TEST RSI,RSI
JZ 0x0016508e
MOV RAX,RDI
ADD RDI,RSI
MOV ECX,0x0
MOV ESI,0x0
MOV R11D,0x0
MOV R10D,0x0
MOV R12D,0x0
MOV RBX,RDI
SUB RBX,RAX
AND EBX,0x3
JZ 0x001652f8
CMP RBX,0x1
JZ 0x00164fbf
CMP RBX,0x2
JZ 0x00164f7c
MOVZX EBX,byte ptr [RAX]
MOVZX EBX,byte ptr [R8 + RBX*0x1]
CMP BL,0xfe
JZ 0x0016519a
TEST R9D,R9D
JZ 0x00164f57
TEST ECX,ECX
JG 0x00165142
CMP BL,0xff
JZ 0x0016518c
SHL R10,0x6
MOVZX EBX,BL
OR R10,RBX
ADD R11,0x1
CMP R11,0x4
JZ 0x00165157
ADD RAX,0x1
MOVZX EBX,byte ptr [RAX]
MOVZX EBX,byte ptr [R8 + RBX*0x1]
CMP BL,0xfe
JZ 0x001651e5
TEST R9D,R9D
JZ 0x00164f9a
TEST ECX,ECX
JG 0x00165142
CMP BL,0xff
JZ 0x001651d7
SHL R10,0x6
MOVZX EBX,BL
OR R10,RBX
ADD R11,0x1
CMP R11,0x4
JZ 0x001651a2
ADD RAX,0x1
MOVZX EBX,byte ptr [RAX]
MOVZX EBX,byte ptr [R8 + RBX*0x1]
CMP BL,0xfe
JZ 0x00165234
TEST R9D,R9D
JZ 0x00164fdd
TEST ECX,ECX
JG 0x00165142
CMP BL,0xff
JZ 0x00165226
SHL R10,0x6
MOVZX EBX,BL
OR R10,RBX
ADD R11,0x1
CMP R11,0x4
JZ 0x001651ed
ADD RAX,0x1
CMP RDI,RAX
JNZ 0x001652f8
TEST R11,R11
JZ 0x0016508e
CMP R11,0x1
JZ 0x00165150
TEST R9D,R9D
SETNZ DIL
LEA R9,[0x1c0bc0]
CMP R8,R9
SETNZ R8B
TEST DIL,R8B
JZ 0x00165049
MOVSXD RCX,ECX
ADD RCX,R11
MOV EAX,0x7
CMP RCX,0x4
JNZ 0x001650f7
LEA R12D,[R11*0x4]
MOV EAX,R11D
SUB EAX,R12D
LEA ECX,[RAX + RAX*0x1 + 0x18]
SHL R10,CL
LEA RDI,[R11 + RSI*0x1 + -0x1]
MOV EAX,0x6
CMP RDI,qword ptr [RBP]
JA 0x001650f7
LEA R9,[RSI + 0x1]
MOV R8,R10
SHR R8,0x10
MOV byte ptr [RDX + RSI*0x1],R8B
CMP R11,0x3
JZ 0x00165131
MOV RSI,R9
MOV qword ptr [RBP],RSI
MOV EAX,0x0
JMP 0x001650f7
MOV EDX,0x56
LEA RSI,[0x1c0b88]
LEA RDI,[0x1ab710]
CALL 0x00114260
MOV EDX,0x57
LEA RSI,[0x1c0b88]
LEA RDI,[0x1ab721]
CALL 0x00114260
MOV EDX,0x58
LEA RSI,[0x1c0b88]
LEA RDI,[0x1b1724]
CALL 0x00114260
ADD ECX,0x1
JMP 0x00165337
TEST R9D,R9D
JZ 0x00165337
MOV EAX,0x7
POP RBX
POP RBP
POP R12
RET
LEA R11,[RSI + 0x3]
CMP R11,qword ptr [RBP]
JA 0x00165149
MOV RBX,R10
SHR RBX,0x10
MOV byte ptr [RDX + RSI*0x1],BL
MOV RBX,R10
SHR RBX,0x8
MOV byte ptr [RDX + RSI*0x1 + 0x1],BL
MOV byte ptr [RDX + RSI*0x1 + 0x2],R10B
MOV RSI,R11
MOV R11D,0x0
MOV R10,R12
JMP 0x00165337
ADD RSI,0x2
SHR R10,0x8
MOV byte ptr [RDX + R9*0x1],R10B
JMP 0x0016508e
MOV EAX,0x7
JMP 0x001650f7
MOV EAX,0x6
JMP 0x001650f7
MOV EAX,0x7
JMP 0x001650f7
LEA R11,[RSI + 0x3]
CMP R11,qword ptr [RBP]
JA 0x00165149
MOV RBX,R10
SHR RBX,0x10
MOV byte ptr [RDX + RSI*0x1],BL
MOV RBX,R10
SHR RBX,0x8
MOV byte ptr [RDX + RSI*0x1 + 0x1],BL
MOV byte ptr [RDX + RSI*0x1 + 0x2],R10B
MOV RSI,R11
MOV R11D,0x0
MOV R10,R12
JMP 0x00164f78
TEST R9D,R9D
JZ 0x00164f78
JMP 0x001650f2
ADD ECX,0x1
JMP 0x00164f78
LEA R11,[RSI + 0x3]
CMP R11,qword ptr [RBP]
JA 0x00165149
MOV RBX,R10
SHR RBX,0x10
MOV byte ptr [RDX + RSI*0x1],BL
MOV RBX,R10
SHR RBX,0x8
MOV byte ptr [RDX + RSI*0x1 + 0x1],BL
MOV byte ptr [RDX + RSI*0x1 + 0x2],R10B
MOV RSI,R11
MOV R11D,0x0
MOV R10,R12
JMP 0x00164fbb
TEST R9D,R9D
JZ 0x00164fbb
JMP 0x001650f2
ADD ECX,0x1
JMP 0x00164fbb
LEA R11,[RSI + 0x3]
CMP R11,qword ptr [RBP]
JA 0x00165149
MOV RBX,R10
SHR RBX,0x10
MOV byte ptr [RDX + RSI*0x1],BL
MOV RBX,R10
SHR RBX,0x8
MOV byte ptr [RDX + RSI*0x1 + 0x1],BL
MOV byte ptr [RDX + RSI*0x1 + 0x2],R10B
MOV RSI,R11
MOV R11D,0x0
MOV R10,R12
JMP 0x00164ffe
TEST R9D,R9D
JZ 0x00164ffe
JMP 0x001650f2
ADD ECX,0x1
JMP 0x00164ffe
LEA RAX,[RSI + 0x3]
CMP RAX,qword ptr [RBP]
JA 0x00165149
MOV R11,R10
SHR R11,0x10
MOV byte ptr [RDX + RSI*0x1],R11B
MOV R11,R10
SHR R11,0x8
MOV byte ptr [RDX + RSI*0x1 + 0x1],R11B
MOV byte ptr [RDX + RSI*0x1 + 0x2],R10B
MOV RSI,RAX
MOV R11D,0x0
MOV R10,R12
JMP 0x00165379
TEST R9D,R9D
JZ 0x00165379
JMP 0x001650f2
ADD ECX,0x1
JMP 0x00165379
LEA RAX,[RSI + 0x3]
CMP RAX,qword ptr [RBP]
JA 0x00165149
MOV R11,R10
SHR R11,0x10
MOV byte ptr [RDX + RSI*0x1],R11B
MOV R11,R10
SHR R11,0x8
MOV byte ptr [RDX + RSI*0x1 + 0x1],R11B
MOV byte ptr [RDX + RSI*0x1 + 0x2],R10B
MOV RSI,RAX
MOV R11D,0x0
MOV R10,R12
JMP 0x001653b7
TEST R9D,R9D
JZ 0x001653b7
JMP 0x001650f2
ADD ECX,0x1
JMP 0x001653b7
TEST R9D,R9D
JZ 0x001652eb
JMP 0x001650f2
ADD ECX,0x1
LEA RAX,[RBX + 0x3]
CMP RDI,RAX
JZ 0x0016500b
MOVZX EBX,byte ptr [RAX]
MOVZX EBX,byte ptr [R8 + RBX*0x1]
CMP BL,0xfe
JZ 0x001650e1
TEST R9D,R9D
JZ 0x00165316
TEST ECX,ECX
JG 0x00165142
CMP BL,0xff
JZ 0x001650e9
SHL R10,0x6
MOVZX EBX,BL
OR R10,RBX
ADD R11,0x1
CMP R11,0x4
JZ 0x001650fc
LEA RBX,[RAX + 0x1]
MOVZX EAX,byte ptr [RAX + 0x1]
MOVZX EAX,byte ptr [R8 + RAX*0x1]
CMP AL,0xfe
JZ 0x00165285
TEST R9D,R9D
JZ 0x00165359
TEST ECX,ECX
JG 0x00165142
CMP AL,0xff
JZ 0x00165277
SHL R10,0x6
MOVZX EAX,AL
OR R10,RAX
ADD R11,0x1
CMP R11,0x4
JZ 0x0016523c
MOVZX EAX,byte ptr [RBX + 0x1]
MOVZX EAX,byte ptr [R8 + RAX*0x1]
CMP AL,0xfe
JZ 0x001652d6
TEST R9D,R9D
JZ 0x00165397
TEST ECX,ECX
JG 0x00165142
CMP AL,0xff
JZ 0x001652c8
SHL R10,0x6
MOVZX EAX,AL
OR R10,RAX
ADD R11,0x1
CMP R11,0x4
JZ 0x0016528d
MOVZX EAX,byte ptr [RBX + 0x2]
MOVZX EAX,byte ptr [R8 + RAX*0x1]
CMP AL,0xfe
JZ 0x001652e8
TEST R9D,R9D
JZ 0x001653d5
TEST ECX,ECX
JG 0x00165142
CMP AL,0xff
JZ 0x001652de
SHL R10,0x6
MOVZX EAX,AL
OR R10,RAX
ADD R11,0x1
CMP R11,0x4
JNZ 0x001652eb
LEA RAX,[RSI + 0x3]
CMP RAX,qword ptr [RBP]
JA 0x00165149
MOV R11,R10
SHR R11,0x10
MOV byte ptr [RDX + RSI*0x1],R11B
MOV R11,R10
SHR R11,0x8
MOV byte ptr [RDX + RSI*0x1 + 0x1],R11B
MOV byte ptr [RDX + RSI*0x1 + 0x2],R10B
MOV RSI,RAX
MOV R11D,0x0
MOV R10,R12
JMP 0x001652eb
(translation_unit "/* WARNING: Removing unreachable block (ram,0x00165157) */\n/* WARNING: Removing unreachable block (ram,0x00165161) */\n\nundefined8\nFUN_00164ecd(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,\n            int param_6)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  ulong uVar4;\n  byte *pbVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  ulong uVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }\n  if (param_3 == (undefined1 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }\n  if (param_4 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }\n  if (param_2 != 0) {\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }\n  *param_4 = param_2;\n  return 0;\n}\n\n" comment comment (function_definition "undefined8\nFUN_00164ecd(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,\n            int param_6)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  ulong uVar4;\n  byte *pbVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  ulong uVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }\n  if (param_3 == (undefined1 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }\n  if (param_4 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }\n  if (param_2 != 0) {\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }\n  *param_4 = param_2;\n  return 0;\n}" type_identifier (function_declarator "FUN_00164ecd(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,\n            int param_6)" identifier (parameter_list "(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,\n            int param_6)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "ulong *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  ulong uVar4;\n  byte *pbVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  ulong uVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }\n  if (param_3 == (undefined1 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }\n  if (param_4 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }\n  if (param_2 != 0) {\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }\n  *param_4 = param_2;\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar10;" type_identifier identifier ;) (if_statement "if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\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("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);" (call_expression "crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56)" identifier (argument_list "("in != NULL","src/misc/base64/base64_decode.c",0x56)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/misc/base64/base64_decode.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_3 == (undefined1 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }" if (parenthesized_expression "(param_3 == (undefined1 *)0x0)" ( (binary_expression "param_3 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }" { comment (expression_statement "crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);" (call_expression "crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57)" identifier (argument_list "("out != NULL","src/misc/base64/base64_decode.c",0x57)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/misc/base64/base64_decode.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_4 == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }" if (parenthesized_expression "(param_4 == (ulong *)0x0)" ( (binary_expression "param_4 == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }" { comment (expression_statement "crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);" (call_expression "crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58)" identifier (argument_list "("outlen != NULL","src/misc/base64/base64_decode.c",0x58)" ( (string_literal ""outlen != NULL"" " string_content ") , (string_literal ""src/misc/base64/base64_decode.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 != 0) {\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }" { (expression_statement "pbVar5 = param_1 + param_2;" (assignment_expression "pbVar5 = param_1 + param_2" identifier = (binary_expression "param_1 + param_2" identifier + identifier)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (int)pbVar5 - (int)param_1 & 3;" (assignment_expression "uVar3 = (int)pbVar5 - (int)param_1 & 3" identifier = (binary_expression "(int)pbVar5 - (int)param_1 & 3" (binary_expression "(int)pbVar5 - (int)param_1" (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if (uVar3 == 0) goto LAB_001652f8;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001652f8;" goto statement_identifier ;)) (if_statement "if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }" if (parenthesized_expression "(uVar3 != 1)" ( (binary_expression "uVar3 != 1" identifier != number_literal) )) (compound_statement "{\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }" { (if_statement "if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }" if (parenthesized_expression "(uVar3 != 2)" ( (binary_expression "uVar3 != 2" identifier != number_literal) )) (compound_statement "{\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }" { (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" identifier = (subscript_expression "param_5[*param_1]" identifier [ (pointer_expression "*param_1" * identifier) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n          iVar2 = 1;\n        }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) }) (else_clause "else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" else (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" else (compound_statement "{\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" { (expression_statement "uVar6 = (ulong)bVar1;" (assignment_expression "uVar6 = (ulong)bVar1" identifier = (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "lVar9 = 1;" (assignment_expression "lVar9 = 1" identifier = number_literal) ;) }))))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" identifier = (subscript_expression "param_5[*param_1]" identifier [ (pointer_expression "*param_1" * identifier) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" else (compound_statement "{\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" { (if_statement "if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }" if (parenthesized_expression "((param_6 != 0) && (iVar2 != 0))" ( (binary_expression "(param_6 != 0) && (iVar2 != 0)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }" { (expression_statement "uVar4 = 3;" (assignment_expression "uVar4 = 3" identifier = number_literal) ;) (if_statement "if (*param_4 < 3) {\n              return 6;\n            }" if (parenthesized_expression "(*param_4 < 3)" ( (binary_expression "*param_4 < 3" (pointer_expression "*param_4" * identifier) < number_literal) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "param_3[1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[2] = (char)uVar6;" (assignment_expression "param_3[2] = (char)uVar6" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" identifier = identifier) ;) })) }))) }))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" identifier = (subscript_expression "param_5[*param_1]" identifier [ (pointer_expression "*param_1" * identifier) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" else (compound_statement "{\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" { (if_statement "if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }" if (parenthesized_expression "((param_6 != 0) && (iVar2 != 0))" ( (binary_expression "(param_6 != 0) && (iVar2 != 0)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n        return 7;\n      }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n        if (param_6 != 0) {\n          return 7;\n        }\n      }" { (if_statement "if (param_6 != 0) {\n          return 7;\n        }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" else (compound_statement "{\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (if_statement "if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }" { (if_statement "if (*param_4 < uVar4 + 3) {\n            return 6;\n          }" if (parenthesized_expression "(*param_4 < uVar4 + 3)" ( (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n            return 6;\n          }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)(uVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 2] = (char)(uVar7 | bVar1);" (assignment_expression "param_3[uVar4 + 2] = (char)(uVar7 | bVar1)" (subscript_expression "param_3[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 | bVar1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 | bVar1)" ( (binary_expression "uVar7 | bVar1" identifier | identifier) )))) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" identifier = identifier) ;) })) }))) }))) (for_statement "for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }" for ( (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ; (binary_expression "pbVar5 != param_1" identifier != identifier) ; (assignment_expression "param_1 = param_1 + 4" identifier = (binary_expression "param_1 + 4" identifier + number_literal)) ) (compound_statement "{\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }" { (labeled_statement "LAB_001652f8:\n      bVar1 = param_5[*param_1];" statement_identifier : (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" identifier = (subscript_expression "param_5[*param_1]" identifier [ (pointer_expression "*param_1" * identifier) ])) ;)) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" else (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" { (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" ( (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" { (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*param_4 < uVar4 + 3)" ( (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)(uVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 2] = (char)uVar6;" (assignment_expression "param_3[uVar4 + 2] = (char)uVar6" (subscript_expression "param_3[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) })) }))) }))) (expression_statement "bVar1 = param_5[param_1[1]];" (assignment_expression "bVar1 = param_5[param_1[1]]" identifier = (subscript_expression "param_5[param_1[1]]" identifier [ (subscript_expression "param_1[1]" identifier [ number_literal ]) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" else (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" { (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" ( (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" { (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*param_4 < uVar4 + 3)" ( (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)(uVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 2] = (char)uVar6;" (assignment_expression "param_3[uVar4 + 2] = (char)uVar6" (subscript_expression "param_3[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) })) }))) }))) (expression_statement "bVar1 = param_5[param_1[2]];" (assignment_expression "bVar1 = param_5[param_1[2]]" identifier = (subscript_expression "param_5[param_1[2]]" identifier [ (subscript_expression "param_1[2]" identifier [ number_literal ]) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" else (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" { (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" ( (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" { (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*param_4 < uVar4 + 3)" ( (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)(uVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 2] = (char)uVar6;" (assignment_expression "param_3[uVar4 + 2] = (char)uVar6" (subscript_expression "param_3[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) })) }))) }))) (expression_statement "bVar1 = param_5[param_1[3]];" (assignment_expression "bVar1 = param_5[param_1[3]]" identifier = (subscript_expression "param_5[param_1[3]]" identifier [ (subscript_expression "param_1[3]" identifier [ number_literal ]) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" else (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" { (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" ( (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }" { (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*param_4 < uVar4 + 3)" ( (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)(uVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 2] = (char)(uVar7 | bVar1);" (assignment_expression "param_3[uVar4 + 2] = (char)(uVar7 | bVar1)" (subscript_expression "param_3[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 | bVar1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 | bVar1)" ( (binary_expression "uVar7 | bVar1" identifier | identifier) )))) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" identifier = identifier) ;) })) }))) }))) })) (expression_statement "param_2 = uVar4;" (assignment_expression "param_2 = uVar4" identifier = identifier) ;) (if_statement "if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }" if (parenthesized_expression "(lVar9 != 0)" ( (binary_expression "lVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }" { (if_statement "if (lVar9 == 1) {\n        return 7;\n      }" if (parenthesized_expression "(lVar9 == 1)" ( (binary_expression "lVar9 == 1" identifier == number_literal) )) (compound_statement "{\n        return 7;\n      }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }" if (parenthesized_expression "((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4))" ( (binary_expression "(param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)" (parenthesized_expression "(param_6 != 0 && param_5 != &DAT_001c0bc0)" ( (binary_expression "param_6 != 0 && param_5 != &DAT_001c0bc0" (binary_expression "param_6 != 0" identifier != number_literal) && (binary_expression "param_5 != &DAT_001c0bc0" identifier != (pointer_expression "&DAT_001c0bc0" & identifier))) )) && (parenthesized_expression "(iVar2 + lVar9 != 4)" ( (binary_expression "iVar2 + lVar9 != 4" (binary_expression "iVar2 + lVar9" identifier + identifier) != number_literal) ))) )) (compound_statement "{\n        return 7;\n      }" { (return_statement "return 7;" return number_literal ;) })) (expression_statement "lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);" (assignment_expression "lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f)" identifier = (binary_expression "uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f)" identifier << (parenthesized_expression "((char)lVar9 * -6 + 0x18U & 0x3f)" ( (binary_expression "(char)lVar9 * -6 + 0x18U & 0x3f" (binary_expression "(char)lVar9 * -6 + 0x18U" (binary_expression "(char)lVar9 * -6" (cast_expression "(char)lVar9" ( (type_descriptor "char" primitive_type) ) identifier) * number_literal) + number_literal) & number_literal) )))) ;) (if_statement "if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }" if (parenthesized_expression "(*param_4 < lVar9 + -1 + uVar4)" ( (binary_expression "*param_4 < lVar9 + -1 + uVar4" (pointer_expression "*param_4" * identifier) < (binary_expression "lVar9 + -1 + uVar4" (binary_expression "lVar9 + -1" identifier + number_literal) + identifier)) )) (compound_statement "{\n        return 6;\n      }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_2 = uVar4 + 1;" (assignment_expression "param_2 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (expression_statement "param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)((ulong)lVar8 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)((ulong)lVar8 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((ulong)lVar8 >> 0x10)" ( (binary_expression "(ulong)lVar8 >> 0x10" (cast_expression "(ulong)lVar8" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }" if (parenthesized_expression "(lVar9 == 3)" ( (binary_expression "lVar9 == 3" identifier == number_literal) )) (compound_statement "{\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }" { (expression_statement "param_3[param_2] = (char)((ulong)lVar8 >> 8);" (assignment_expression "param_3[param_2] = (char)((ulong)lVar8 >> 8)" (subscript_expression "param_3[param_2]" identifier [ identifier ]) = (cast_expression "(char)((ulong)lVar8 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((ulong)lVar8 >> 8)" ( (binary_expression "(ulong)lVar8 >> 8" (cast_expression "(ulong)lVar8" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "param_2 = uVar4 + 2;" (assignment_expression "param_2 = uVar4 + 2" identifier = (binary_expression "uVar4 + 2" identifier + number_literal)) ;) })) })) })) (expression_statement "*param_4 = param_2;" (assignment_expression "*param_4 = param_2" (pointer_expression "*param_4" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x00165157) */\n/* WARNING: Removing unreachable block (ram,0x00165161) */\n\nint _base64_decode_internal(uchar *in,ulong inlen,uchar *out,ulong *outlen,uchar *map,int is_strict)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  ulong uVar4;\n  byte *pbVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  ulong uVar10;\n  \n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }\n  if (out == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }\n  if (outlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }\n  if (inlen != 0) {\n    pbVar5 = in + inlen;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)in & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = map[*in];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        in = in + 1;\n      }\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      in = in + 1;\n    }\n    bVar1 = map[*in];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((is_strict != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (is_strict != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (in = in + 1; pbVar5 != in; in = in + 4) {\nLAB_001652f8:\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    inlen = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((is_strict != 0 && map != map_base64url) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*outlen < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      inlen = uVar4 + 1;\n      out[uVar4] = (uchar)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        out[inlen] = (uchar)((ulong)lVar8 >> 8);\n        inlen = uVar4 + 2;\n      }\n    }\n  }\n  *outlen = inlen;\n  return 0;\n}\n\n" comment comment (function_definition "int _base64_decode_internal(uchar *in,ulong inlen,uchar *out,ulong *outlen,uchar *map,int is_strict)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  ulong uVar4;\n  byte *pbVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  ulong uVar10;\n  \n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }\n  if (out == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }\n  if (outlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }\n  if (inlen != 0) {\n    pbVar5 = in + inlen;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)in & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = map[*in];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        in = in + 1;\n      }\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      in = in + 1;\n    }\n    bVar1 = map[*in];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((is_strict != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (is_strict != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (in = in + 1; pbVar5 != in; in = in + 4) {\nLAB_001652f8:\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    inlen = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((is_strict != 0 && map != map_base64url) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*outlen < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      inlen = uVar4 + 1;\n      out[uVar4] = (uchar)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        out[inlen] = (uchar)((ulong)lVar8 >> 8);\n        inlen = uVar4 + 2;\n      }\n    }\n  }\n  *outlen = inlen;\n  return 0;\n}" primitive_type (function_declarator "_base64_decode_internal(uchar *in,ulong inlen,uchar *out,ulong *outlen,uchar *map,int is_strict)" identifier (parameter_list "(uchar *in,ulong inlen,uchar *out,ulong *outlen,uchar *map,int is_strict)" ( (parameter_declaration "uchar *in" type_identifier (pointer_declarator "*in" * identifier)) , (parameter_declaration "ulong inlen" type_identifier identifier) , (parameter_declaration "uchar *out" type_identifier (pointer_declarator "*out" * identifier)) , (parameter_declaration "ulong *outlen" type_identifier (pointer_declarator "*outlen" * identifier)) , (parameter_declaration "uchar *map" type_identifier (pointer_declarator "*map" * identifier)) , (parameter_declaration "int is_strict" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  ulong uVar4;\n  byte *pbVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  ulong uVar10;\n  \n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }\n  if (out == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }\n  if (outlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }\n  if (inlen != 0) {\n    pbVar5 = in + inlen;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)in & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = map[*in];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        in = in + 1;\n      }\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      in = in + 1;\n    }\n    bVar1 = map[*in];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((is_strict != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (is_strict != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (in = in + 1; pbVar5 != in; in = in + 4) {\nLAB_001652f8:\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    inlen = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((is_strict != 0 && map != map_base64url) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*outlen < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      inlen = uVar4 + 1;\n      out[uVar4] = (uchar)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        out[inlen] = (uchar)((ulong)lVar8 >> 8);\n        inlen = uVar4 + 2;\n      }\n    }\n  }\n  *outlen = inlen;\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar10;" type_identifier identifier ;) (if_statement "if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }" if (parenthesized_expression "(in == (uchar *)0x0)" ( (binary_expression "in == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);" (call_expression "crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56)" identifier (argument_list "("in != NULL","src/misc/base64/base64_decode.c",0x56)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/misc/base64/base64_decode.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (out == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }" if (parenthesized_expression "(out == (uchar *)0x0)" ( (binary_expression "out == (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("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }" { comment (expression_statement "crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);" (call_expression "crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57)" identifier (argument_list "("out != NULL","src/misc/base64/base64_decode.c",0x57)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/misc/base64/base64_decode.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (outlen == (ulong *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }" if (parenthesized_expression "(outlen == (ulong *)0x0)" ( (binary_expression "outlen == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }" { comment (expression_statement "crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);" (call_expression "crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58)" identifier (argument_list "("outlen != NULL","src/misc/base64/base64_decode.c",0x58)" ( (string_literal ""outlen != NULL"" " string_content ") , (string_literal ""src/misc/base64/base64_decode.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (inlen != 0) {\n    pbVar5 = in + inlen;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)in & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = map[*in];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        in = in + 1;\n      }\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      in = in + 1;\n    }\n    bVar1 = map[*in];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((is_strict != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (is_strict != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (in = in + 1; pbVar5 != in; in = in + 4) {\nLAB_001652f8:\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    inlen = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((is_strict != 0 && map != map_base64url) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*outlen < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      inlen = uVar4 + 1;\n      out[uVar4] = (uchar)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        out[inlen] = (uchar)((ulong)lVar8 >> 8);\n        inlen = uVar4 + 2;\n      }\n    }\n  }" if (parenthesized_expression "(inlen != 0)" ( (binary_expression "inlen != 0" identifier != number_literal) )) (compound_statement "{\n    pbVar5 = in + inlen;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)in & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = map[*in];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        in = in + 1;\n      }\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      in = in + 1;\n    }\n    bVar1 = map[*in];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((is_strict != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (is_strict != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (in = in + 1; pbVar5 != in; in = in + 4) {\nLAB_001652f8:\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    inlen = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((is_strict != 0 && map != map_base64url) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*outlen < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      inlen = uVar4 + 1;\n      out[uVar4] = (uchar)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        out[inlen] = (uchar)((ulong)lVar8 >> 8);\n        inlen = uVar4 + 2;\n      }\n    }\n  }" { (expression_statement "pbVar5 = in + inlen;" (assignment_expression "pbVar5 = in + inlen" identifier = (binary_expression "in + inlen" identifier + identifier)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (int)pbVar5 - (int)in & 3;" (assignment_expression "uVar3 = (int)pbVar5 - (int)in & 3" identifier = (binary_expression "(int)pbVar5 - (int)in & 3" (binary_expression "(int)pbVar5 - (int)in" (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)in" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if (uVar3 == 0) goto LAB_001652f8;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001652f8;" goto statement_identifier ;)) (if_statement "if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = map[*in];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        in = in + 1;\n      }\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      in = in + 1;\n    }" if (parenthesized_expression "(uVar3 != 1)" ( (binary_expression "uVar3 != 1" identifier != number_literal) )) (compound_statement "{\n      if (uVar3 != 2) {\n        bVar1 = map[*in];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        in = in + 1;\n      }\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      in = in + 1;\n    }" { (if_statement "if (uVar3 != 2) {\n        bVar1 = map[*in];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        in = in + 1;\n      }" if (parenthesized_expression "(uVar3 != 2)" ( (binary_expression "uVar3 != 2" identifier != number_literal) )) (compound_statement "{\n        bVar1 = map[*in];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        in = in + 1;\n      }" { (expression_statement "bVar1 = map[*in];" (assignment_expression "bVar1 = map[*in]" identifier = (subscript_expression "map[*in]" identifier [ (pointer_expression "*in" * identifier) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n          iVar2 = 1;\n        }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) }) (else_clause "else if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" else (if_statement "if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (is_strict != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (is_strict != 0) {\n            return 7;\n          }" if (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" else (compound_statement "{\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" { (expression_statement "uVar6 = (ulong)bVar1;" (assignment_expression "uVar6 = (ulong)bVar1" identifier = (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "lVar9 = 1;" (assignment_expression "lVar9 = 1" identifier = number_literal) ;) }))))) (expression_statement "in = in + 1;" (assignment_expression "in = in + 1" identifier = (binary_expression "in + 1" identifier + number_literal)) ;) })) (expression_statement "bVar1 = map[*in];" (assignment_expression "bVar1 = map[*in]" identifier = (subscript_expression "map[*in]" identifier [ (pointer_expression "*in" * identifier) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((is_strict != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" else (compound_statement "{\n        if ((is_strict != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" { (if_statement "if ((is_strict != 0) && (iVar2 != 0)) {\n          return 7;\n        }" if (parenthesized_expression "((is_strict != 0) && (iVar2 != 0))" ( (binary_expression "(is_strict != 0) && (iVar2 != 0)" (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (is_strict != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (is_strict != 0) {\n            return 7;\n          }" if (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            uVar4 = 3;\n            if (*outlen < 3) {\n              return 6;\n            }\n            *out = '\0';\n            out[1] = (uchar)(uVar7 >> 8);\n            out[2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }" { (expression_statement "uVar4 = 3;" (assignment_expression "uVar4 = 3" identifier = number_literal) ;) (if_statement "if (*outlen < 3) {\n              return 6;\n            }" if (parenthesized_expression "(*outlen < 3)" ( (binary_expression "*outlen < 3" (pointer_expression "*outlen" * identifier) < number_literal) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "*out = '\0';" (assignment_expression "*out = '\0'" (pointer_expression "*out" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "out[1] = (uchar)(uVar7 >> 8);" (assignment_expression "out[1] = (uchar)(uVar7 >> 8)" (subscript_expression "out[1]" identifier [ number_literal ]) = (call_expression "(uchar)(uVar7 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "out[2] = (uchar)uVar6;" (assignment_expression "out[2] = (uchar)uVar6" (subscript_expression "out[2]" identifier [ number_literal ]) = (cast_expression "(uchar)uVar6" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" identifier = identifier) ;) })) }))) }))) (expression_statement "in = in + 1;" (assignment_expression "in = in + 1" identifier = (binary_expression "in + 1" identifier + number_literal)) ;) })) (expression_statement "bVar1 = map[*in];" (assignment_expression "bVar1 = map[*in]" identifier = (subscript_expression "map[*in]" identifier [ (pointer_expression "*in" * identifier) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((is_strict != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (is_strict != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n      if ((is_strict != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (is_strict != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" else (compound_statement "{\n      if ((is_strict != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (is_strict != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" { (if_statement "if ((is_strict != 0) && (iVar2 != 0)) {\n        return 7;\n      }" if (parenthesized_expression "((is_strict != 0) && (iVar2 != 0))" ( (binary_expression "(is_strict != 0) && (iVar2 != 0)" (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n        return 7;\n      }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n        if (is_strict != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n        if (is_strict != 0) {\n          return 7;\n        }\n      }" { (if_statement "if (is_strict != 0) {\n          return 7;\n        }" if (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" else (compound_statement "{\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (if_statement "if (lVar9 == 4) {\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n          if (*outlen < uVar4 + 3) {\n            return 6;\n          }\n          out[uVar4] = (uchar)(uVar7 >> 0x10);\n          out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n          out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }" { (if_statement "if (*outlen < uVar4 + 3) {\n            return 6;\n          }" if (parenthesized_expression "(*outlen < uVar4 + 3)" ( (binary_expression "*outlen < uVar4 + 3" (pointer_expression "*outlen" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n            return 6;\n          }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "out[uVar4] = (uchar)(uVar7 >> 0x10);" (assignment_expression "out[uVar4] = (uchar)(uVar7 >> 0x10)" (subscript_expression "out[uVar4]" identifier [ identifier ]) = (call_expression "(uchar)(uVar7 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "out[uVar4 + 1] = (uchar)(uVar7 >> 8);" (assignment_expression "out[uVar4 + 1] = (uchar)(uVar7 >> 8)" (subscript_expression "out[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (call_expression "(uchar)(uVar7 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "out[uVar4 + 2] = (uchar)(uVar7 | bVar1);" (assignment_expression "out[uVar4 + 2] = (uchar)(uVar7 | bVar1)" (subscript_expression "out[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (call_expression "(uchar)(uVar7 | bVar1)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 | bVar1)" ( (binary_expression "uVar7 | bVar1" identifier | identifier) )))) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" identifier = identifier) ;) })) }))) }))) (for_statement "for (in = in + 1; pbVar5 != in; in = in + 4) {\nLAB_001652f8:\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }" for ( (assignment_expression "in = in + 1" identifier = (binary_expression "in + 1" identifier + number_literal)) ; (binary_expression "pbVar5 != in" identifier != identifier) ; (assignment_expression "in = in + 4" identifier = (binary_expression "in + 4" identifier + number_literal)) ) (compound_statement "{\nLAB_001652f8:\n      bVar1 = map[*in];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = map[in[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }" { (labeled_statement "LAB_001652f8:\n      bVar1 = map[*in];" statement_identifier : (expression_statement "bVar1 = map[*in];" (assignment_expression "bVar1 = map[*in]" identifier = (subscript_expression "map[*in]" identifier [ (pointer_expression "*in" * identifier) ])) ;)) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" else (compound_statement "{\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" { (if_statement "if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((is_strict != 0) && (0 < iVar2))" ( (binary_expression "(is_strict != 0) && (0 < iVar2)" (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (is_strict != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (is_strict != 0) {\n            return 7;\n          }" if (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" { (if_statement "if (*outlen < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*outlen < uVar4 + 3)" ( (binary_expression "*outlen < uVar4 + 3" (pointer_expression "*outlen" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "out[uVar4] = (uchar)(uVar7 >> 0x10);" (assignment_expression "out[uVar4] = (uchar)(uVar7 >> 0x10)" (subscript_expression "out[uVar4]" identifier [ identifier ]) = (call_expression "(uchar)(uVar7 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "out[uVar4 + 1] = (uchar)(uVar7 >> 8);" (assignment_expression "out[uVar4 + 1] = (uchar)(uVar7 >> 8)" (subscript_expression "out[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (call_expression "(uchar)(uVar7 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "out[uVar4 + 2] = (uchar)uVar6;" (assignment_expression "out[uVar4 + 2] = (uchar)uVar6" (subscript_expression "out[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(uchar)uVar6" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) })) }))) }))) (expression_statement "bVar1 = map[in[1]];" (assignment_expression "bVar1 = map[in[1]]" identifier = (subscript_expression "map[in[1]]" identifier [ (subscript_expression "in[1]" identifier [ number_literal ]) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" else (compound_statement "{\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" { (if_statement "if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((is_strict != 0) && (0 < iVar2))" ( (binary_expression "(is_strict != 0) && (0 < iVar2)" (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (is_strict != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (is_strict != 0) {\n            return 7;\n          }" if (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" { (if_statement "if (*outlen < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*outlen < uVar4 + 3)" ( (binary_expression "*outlen < uVar4 + 3" (pointer_expression "*outlen" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "out[uVar4] = (uchar)(uVar7 >> 0x10);" (assignment_expression "out[uVar4] = (uchar)(uVar7 >> 0x10)" (subscript_expression "out[uVar4]" identifier [ identifier ]) = (call_expression "(uchar)(uVar7 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "out[uVar4 + 1] = (uchar)(uVar7 >> 8);" (assignment_expression "out[uVar4 + 1] = (uchar)(uVar7 >> 8)" (subscript_expression "out[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (call_expression "(uchar)(uVar7 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "out[uVar4 + 2] = (uchar)uVar6;" (assignment_expression "out[uVar4 + 2] = (uchar)uVar6" (subscript_expression "out[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(uchar)uVar6" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) })) }))) }))) (expression_statement "bVar1 = map[in[2]];" (assignment_expression "bVar1 = map[in[2]]" identifier = (subscript_expression "map[in[2]]" identifier [ (subscript_expression "in[2]" identifier [ number_literal ]) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" else (compound_statement "{\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" { (if_statement "if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((is_strict != 0) && (0 < iVar2))" ( (binary_expression "(is_strict != 0) && (0 < iVar2)" (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (is_strict != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (is_strict != 0) {\n            return 7;\n          }" if (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" { (if_statement "if (*outlen < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*outlen < uVar4 + 3)" ( (binary_expression "*outlen < uVar4 + 3" (pointer_expression "*outlen" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "out[uVar4] = (uchar)(uVar7 >> 0x10);" (assignment_expression "out[uVar4] = (uchar)(uVar7 >> 0x10)" (subscript_expression "out[uVar4]" identifier [ identifier ]) = (call_expression "(uchar)(uVar7 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "out[uVar4 + 1] = (uchar)(uVar7 >> 8);" (assignment_expression "out[uVar4 + 1] = (uchar)(uVar7 >> 8)" (subscript_expression "out[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (call_expression "(uchar)(uVar7 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "out[uVar4 + 2] = (uchar)uVar6;" (assignment_expression "out[uVar4 + 2] = (uchar)uVar6" (subscript_expression "out[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(uchar)uVar6" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) })) }))) }))) (expression_statement "bVar1 = map[in[3]];" (assignment_expression "bVar1 = map[in[3]]" identifier = (subscript_expression "map[in[3]]" identifier [ (subscript_expression "in[3]" identifier [ number_literal ]) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" else (compound_statement "{\n        if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" { (if_statement "if ((is_strict != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((is_strict != 0) && (0 < iVar2))" ( (binary_expression "(is_strict != 0) && (0 < iVar2)" (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (is_strict != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (is_strict != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (is_strict != 0) {\n            return 7;\n          }" if (parenthesized_expression "(is_strict != 0)" ( (binary_expression "is_strict != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (if_statement "if (lVar9 == 4) {\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*outlen < uVar4 + 3) {\n              return 6;\n            }\n            out[uVar4] = (uchar)(uVar7 >> 0x10);\n            out[uVar4 + 1] = (uchar)(uVar7 >> 8);\n            out[uVar4 + 2] = (uchar)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }" { (if_statement "if (*outlen < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*outlen < uVar4 + 3)" ( (binary_expression "*outlen < uVar4 + 3" (pointer_expression "*outlen" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "out[uVar4] = (uchar)(uVar7 >> 0x10);" (assignment_expression "out[uVar4] = (uchar)(uVar7 >> 0x10)" (subscript_expression "out[uVar4]" identifier [ identifier ]) = (call_expression "(uchar)(uVar7 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "out[uVar4 + 1] = (uchar)(uVar7 >> 8);" (assignment_expression "out[uVar4 + 1] = (uchar)(uVar7 >> 8)" (subscript_expression "out[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (call_expression "(uchar)(uVar7 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "out[uVar4 + 2] = (uchar)(uVar7 | bVar1);" (assignment_expression "out[uVar4 + 2] = (uchar)(uVar7 | bVar1)" (subscript_expression "out[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (call_expression "(uchar)(uVar7 | bVar1)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar7 | bVar1)" ( (binary_expression "uVar7 | bVar1" identifier | identifier) )))) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" identifier = identifier) ;) })) }))) }))) })) (expression_statement "inlen = uVar4;" (assignment_expression "inlen = uVar4" identifier = identifier) ;) (if_statement "if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((is_strict != 0 && map != map_base64url) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*outlen < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      inlen = uVar4 + 1;\n      out[uVar4] = (uchar)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        out[inlen] = (uchar)((ulong)lVar8 >> 8);\n        inlen = uVar4 + 2;\n      }\n    }" if (parenthesized_expression "(lVar9 != 0)" ( (binary_expression "lVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((is_strict != 0 && map != map_base64url) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*outlen < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      inlen = uVar4 + 1;\n      out[uVar4] = (uchar)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        out[inlen] = (uchar)((ulong)lVar8 >> 8);\n        inlen = uVar4 + 2;\n      }\n    }" { (if_statement "if (lVar9 == 1) {\n        return 7;\n      }" if (parenthesized_expression "(lVar9 == 1)" ( (binary_expression "lVar9 == 1" identifier == number_literal) )) (compound_statement "{\n        return 7;\n      }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if ((is_strict != 0 && map != map_base64url) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }" if (parenthesized_expression "((is_strict != 0 && map != map_base64url) && (iVar2 + lVar9 != 4))" ( (binary_expression "(is_strict != 0 && map != map_base64url) && (iVar2 + lVar9 != 4)" (parenthesized_expression "(is_strict != 0 && map != map_base64url)" ( (binary_expression "is_strict != 0 && map != map_base64url" (binary_expression "is_strict != 0" identifier != number_literal) && (binary_expression "map != map_base64url" identifier != identifier)) )) && (parenthesized_expression "(iVar2 + lVar9 != 4)" ( (binary_expression "iVar2 + lVar9 != 4" (binary_expression "iVar2 + lVar9" identifier + identifier) != number_literal) ))) )) (compound_statement "{\n        return 7;\n      }" { (return_statement "return 7;" return number_literal ;) })) (expression_statement "lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);" (assignment_expression "lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f)" identifier = (binary_expression "uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f)" identifier << (parenthesized_expression "((char)lVar9 * -6 + 0x18U & 0x3f)" ( (binary_expression "(char)lVar9 * -6 + 0x18U & 0x3f" (binary_expression "(char)lVar9 * -6 + 0x18U" (binary_expression "(char)lVar9 * -6" (cast_expression "(char)lVar9" ( (type_descriptor "char" primitive_type) ) identifier) * number_literal) + number_literal) & number_literal) )))) ;) (if_statement "if (*outlen < lVar9 + -1 + uVar4) {\n        return 6;\n      }" if (parenthesized_expression "(*outlen < lVar9 + -1 + uVar4)" ( (binary_expression "*outlen < lVar9 + -1 + uVar4" (pointer_expression "*outlen" * identifier) < (binary_expression "lVar9 + -1 + uVar4" (binary_expression "lVar9 + -1" identifier + number_literal) + identifier)) )) (compound_statement "{\n        return 6;\n      }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "inlen = uVar4 + 1;" (assignment_expression "inlen = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (expression_statement "out[uVar4] = (uchar)((ulong)lVar8 >> 0x10);" (assignment_expression "out[uVar4] = (uchar)((ulong)lVar8 >> 0x10)" (subscript_expression "out[uVar4]" identifier [ identifier ]) = (call_expression "(uchar)((ulong)lVar8 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((ulong)lVar8 >> 0x10)" ( (binary_expression "(ulong)lVar8 >> 0x10" (cast_expression "(ulong)lVar8" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (lVar9 == 3) {\n        out[inlen] = (uchar)((ulong)lVar8 >> 8);\n        inlen = uVar4 + 2;\n      }" if (parenthesized_expression "(lVar9 == 3)" ( (binary_expression "lVar9 == 3" identifier == number_literal) )) (compound_statement "{\n        out[inlen] = (uchar)((ulong)lVar8 >> 8);\n        inlen = uVar4 + 2;\n      }" { (expression_statement "out[inlen] = (uchar)((ulong)lVar8 >> 8);" (assignment_expression "out[inlen] = (uchar)((ulong)lVar8 >> 8)" (subscript_expression "out[inlen]" identifier [ identifier ]) = (call_expression "(uchar)((ulong)lVar8 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((ulong)lVar8 >> 8)" ( (binary_expression "(ulong)lVar8 >> 8" (cast_expression "(ulong)lVar8" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "inlen = uVar4 + 2;" (assignment_expression "inlen = uVar4 + 2" identifier = (binary_expression "uVar4 + 2" identifier + number_literal)) ;) })) })) })) (expression_statement "*outlen = inlen;" (assignment_expression "*outlen = inlen" (pointer_expression "*outlen" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8\nFUN_00164ecd(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,\n            int param_6)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  ulong uVar4;\n  byte *pbVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  ulong uVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }\n  if (param_3 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }\n  if (param_4 == (ulong *)0x0) {\n                    \n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }\n  if (param_2 != 0) {\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }\n  *param_4 = param_2;\n  return 0;\n}\n\n" (function_definition "undefined8\nFUN_00164ecd(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,\n            int param_6)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  ulong uVar4;\n  byte *pbVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  ulong uVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }\n  if (param_3 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }\n  if (param_4 == (ulong *)0x0) {\n                    \n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }\n  if (param_2 != 0) {\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }\n  *param_4 = param_2;\n  return 0;\n}" type_identifier (function_declarator "FUN_00164ecd(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,\n            int param_6)" identifier (parameter_list "(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,\n            int param_6)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "ulong *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  ulong uVar4;\n  byte *pbVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  ulong uVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }\n  if (param_3 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }\n  if (param_4 == (ulong *)0x0) {\n                    \n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }\n  if (param_2 != 0) {\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }\n  *param_4 = param_2;\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar10;" type_identifier identifier ;) (if_statement "if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\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("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }" { (expression_statement "crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);" (call_expression "crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56)" identifier (argument_list "("in != NULL","src/misc/base64/base64_decode.c",0x56)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/misc/base64/base64_decode.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_3 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }" if (parenthesized_expression "(param_3 == (undefined1 *)0x0)" ( (binary_expression "param_3 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }" { (expression_statement "crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);" (call_expression "crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57)" identifier (argument_list "("out != NULL","src/misc/base64/base64_decode.c",0x57)" ( (string_literal ""out != NULL"" " string_content ") , (string_literal ""src/misc/base64/base64_decode.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_4 == (ulong *)0x0) {\n                    \n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }" if (parenthesized_expression "(param_4 == (ulong *)0x0)" ( (binary_expression "param_4 == (ulong *)0x0" identifier == (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }" { (expression_statement "crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);" (call_expression "crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58)" identifier (argument_list "("outlen != NULL","src/misc/base64/base64_decode.c",0x58)" ( (string_literal ""outlen != NULL"" " string_content ") , (string_literal ""src/misc/base64/base64_decode.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 != 0) {\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }" { (expression_statement "pbVar5 = param_1 + param_2;" (assignment_expression "pbVar5 = param_1 + param_2" identifier = (binary_expression "param_1 + param_2" identifier + identifier)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (int)pbVar5 - (int)param_1 & 3;" (assignment_expression "uVar3 = (int)pbVar5 - (int)param_1 & 3" identifier = (binary_expression "(int)pbVar5 - (int)param_1 & 3" (binary_expression "(int)pbVar5 - (int)param_1" (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if (uVar3 == 0) goto LAB_001652f8;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001652f8;" goto statement_identifier ;)) (if_statement "if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }" if (parenthesized_expression "(uVar3 != 1)" ( (binary_expression "uVar3 != 1" identifier != number_literal) )) (compound_statement "{\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }" { (if_statement "if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }" if (parenthesized_expression "(uVar3 != 2)" ( (binary_expression "uVar3 != 2" identifier != number_literal) )) (compound_statement "{\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }" { (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" identifier = (subscript_expression "param_5[*param_1]" identifier [ (pointer_expression "*param_1" * identifier) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n          iVar2 = 1;\n        }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) }) (else_clause "else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" else (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" else (compound_statement "{\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" { (expression_statement "uVar6 = (ulong)bVar1;" (assignment_expression "uVar6 = (ulong)bVar1" identifier = (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "lVar9 = 1;" (assignment_expression "lVar9 = 1" identifier = number_literal) ;) }))))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" identifier = (subscript_expression "param_5[*param_1]" identifier [ (pointer_expression "*param_1" * identifier) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" else (compound_statement "{\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" { (if_statement "if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }" if (parenthesized_expression "((param_6 != 0) && (iVar2 != 0))" ( (binary_expression "(param_6 != 0) && (iVar2 != 0)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }" { (expression_statement "uVar4 = 3;" (assignment_expression "uVar4 = 3" identifier = number_literal) ;) (if_statement "if (*param_4 < 3) {\n              return 6;\n            }" if (parenthesized_expression "(*param_4 < 3)" ( (binary_expression "*param_4 < 3" (pointer_expression "*param_4" * identifier) < number_literal) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "param_3[1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[2] = (char)uVar6;" (assignment_expression "param_3[2] = (char)uVar6" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" identifier = identifier) ;) })) }))) }))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" identifier = (subscript_expression "param_5[*param_1]" identifier [ (pointer_expression "*param_1" * identifier) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" else (compound_statement "{\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" { (if_statement "if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }" if (parenthesized_expression "((param_6 != 0) && (iVar2 != 0))" ( (binary_expression "(param_6 != 0) && (iVar2 != 0)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n        return 7;\n      }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n        if (param_6 != 0) {\n          return 7;\n        }\n      }" { (if_statement "if (param_6 != 0) {\n          return 7;\n        }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" else (compound_statement "{\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (if_statement "if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }" { (if_statement "if (*param_4 < uVar4 + 3) {\n            return 6;\n          }" if (parenthesized_expression "(*param_4 < uVar4 + 3)" ( (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n            return 6;\n          }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)(uVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 2] = (char)(uVar7 | bVar1);" (assignment_expression "param_3[uVar4 + 2] = (char)(uVar7 | bVar1)" (subscript_expression "param_3[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 | bVar1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 | bVar1)" ( (binary_expression "uVar7 | bVar1" identifier | identifier) )))) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" identifier = identifier) ;) })) }))) }))) (for_statement "for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }" for ( (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ; (binary_expression "pbVar5 != param_1" identifier != identifier) ; (assignment_expression "param_1 = param_1 + 4" identifier = (binary_expression "param_1 + 4" identifier + number_literal)) ) (compound_statement "{\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }" { (labeled_statement "LAB_001652f8:\n      bVar1 = param_5[*param_1];" statement_identifier : (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" identifier = (subscript_expression "param_5[*param_1]" identifier [ (pointer_expression "*param_1" * identifier) ])) ;)) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" else (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" { (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" ( (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" { (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*param_4 < uVar4 + 3)" ( (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)(uVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 2] = (char)uVar6;" (assignment_expression "param_3[uVar4 + 2] = (char)uVar6" (subscript_expression "param_3[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) })) }))) }))) (expression_statement "bVar1 = param_5[param_1[1]];" (assignment_expression "bVar1 = param_5[param_1[1]]" identifier = (subscript_expression "param_5[param_1[1]]" identifier [ (subscript_expression "param_1[1]" identifier [ number_literal ]) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" else (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" { (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" ( (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" { (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*param_4 < uVar4 + 3)" ( (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)(uVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 2] = (char)uVar6;" (assignment_expression "param_3[uVar4 + 2] = (char)uVar6" (subscript_expression "param_3[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) })) }))) }))) (expression_statement "bVar1 = param_5[param_1[2]];" (assignment_expression "bVar1 = param_5[param_1[2]]" identifier = (subscript_expression "param_5[param_1[2]]" identifier [ (subscript_expression "param_1[2]" identifier [ number_literal ]) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" else (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" { (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" ( (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" { (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*param_4 < uVar4 + 3)" ( (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)(uVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 2] = (char)uVar6;" (assignment_expression "param_3[uVar4 + 2] = (char)uVar6" (subscript_expression "param_3[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) })) }))) }))) (expression_statement "bVar1 = param_5[param_1[3]];" (assignment_expression "bVar1 = param_5[param_1[3]]" identifier = (subscript_expression "param_5[param_1[3]]" identifier [ (subscript_expression "param_1[3]" identifier [ number_literal ]) ])) ;) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 == 0xfe)" ( (binary_expression "bVar1 == 0xfe" identifier == number_literal) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" else (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" { (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" if (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" ( (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )) (compound_statement "{\n          return 7;\n        }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" if (parenthesized_expression "(bVar1 == 0xff)" ( (binary_expression "bVar1 == 0xff" identifier == number_literal) )) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" { (if_statement "if (param_6 != 0) {\n            return 7;\n          }" if (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) (compound_statement "{\n            return 7;\n          }" { (return_statement "return 7;" return number_literal ;) })) }) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" else (compound_statement "{\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" { (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" identifier = (binary_expression "uVar6 << 6" identifier << number_literal)) ;) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" identifier = (binary_expression "uVar7 | bVar1" identifier | identifier)) ;) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }" if (parenthesized_expression "(lVar9 == 4)" ( (binary_expression "lVar9 == 4" identifier == number_literal) )) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }" { (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" if (parenthesized_expression "(*param_4 < uVar4 + 3)" ( (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar4 + 3" identifier + number_literal)) )) (compound_statement "{\n              return 6;\n            }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)(uVar7 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 0x10)" ( (binary_expression "uVar7 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" identifier [ (binary_expression "uVar4 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 >> 8)" ( (binary_expression "uVar7 >> 8" identifier >> number_literal) )))) ;) (expression_statement "param_3[uVar4 + 2] = (char)(uVar7 | bVar1);" (assignment_expression "param_3[uVar4 + 2] = (char)(uVar7 | bVar1)" (subscript_expression "param_3[uVar4 + 2]" identifier [ (binary_expression "uVar4 + 2" identifier + number_literal) ]) = (cast_expression "(char)(uVar7 | bVar1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar7 | bVar1)" ( (binary_expression "uVar7 | bVar1" identifier | identifier) )))) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" identifier = (binary_expression "uVar4 + 3" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" identifier = identifier) ;) })) }))) }))) })) (expression_statement "param_2 = uVar4;" (assignment_expression "param_2 = uVar4" identifier = identifier) ;) (if_statement "if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }" if (parenthesized_expression "(lVar9 != 0)" ( (binary_expression "lVar9 != 0" identifier != number_literal) )) (compound_statement "{\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }" { (if_statement "if (lVar9 == 1) {\n        return 7;\n      }" if (parenthesized_expression "(lVar9 == 1)" ( (binary_expression "lVar9 == 1" identifier == number_literal) )) (compound_statement "{\n        return 7;\n      }" { (return_statement "return 7;" return number_literal ;) })) (if_statement "if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }" if (parenthesized_expression "((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4))" ( (binary_expression "(param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)" (parenthesized_expression "(param_6 != 0 && param_5 != &DAT_001c0bc0)" ( (binary_expression "param_6 != 0 && param_5 != &DAT_001c0bc0" (binary_expression "param_6 != 0" identifier != number_literal) && (binary_expression "param_5 != &DAT_001c0bc0" identifier != (pointer_expression "&DAT_001c0bc0" & identifier))) )) && (parenthesized_expression "(iVar2 + lVar9 != 4)" ( (binary_expression "iVar2 + lVar9 != 4" (binary_expression "iVar2 + lVar9" identifier + identifier) != number_literal) ))) )) (compound_statement "{\n        return 7;\n      }" { (return_statement "return 7;" return number_literal ;) })) (expression_statement "lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);" (assignment_expression "lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f)" identifier = (binary_expression "uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f)" identifier << (parenthesized_expression "((char)lVar9 * -6 + 0x18U & 0x3f)" ( (binary_expression "(char)lVar9 * -6 + 0x18U & 0x3f" (binary_expression "(char)lVar9 * -6 + 0x18U" (binary_expression "(char)lVar9 * -6" (cast_expression "(char)lVar9" ( (type_descriptor "char" primitive_type) ) identifier) * number_literal) + number_literal) & number_literal) )))) ;) (if_statement "if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }" if (parenthesized_expression "(*param_4 < lVar9 + -1 + uVar4)" ( (binary_expression "*param_4 < lVar9 + -1 + uVar4" (pointer_expression "*param_4" * identifier) < (binary_expression "lVar9 + -1 + uVar4" (binary_expression "lVar9 + -1" identifier + number_literal) + identifier)) )) (compound_statement "{\n        return 6;\n      }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_2 = uVar4 + 1;" (assignment_expression "param_2 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (expression_statement "param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)((ulong)lVar8 >> 0x10)" (subscript_expression "param_3[uVar4]" identifier [ identifier ]) = (cast_expression "(char)((ulong)lVar8 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((ulong)lVar8 >> 0x10)" ( (binary_expression "(ulong)lVar8 >> 0x10" (cast_expression "(ulong)lVar8" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }" if (parenthesized_expression "(lVar9 == 3)" ( (binary_expression "lVar9 == 3" identifier == number_literal) )) (compound_statement "{\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }" { (expression_statement "param_3[param_2] = (char)((ulong)lVar8 >> 8);" (assignment_expression "param_3[param_2] = (char)((ulong)lVar8 >> 8)" (subscript_expression "param_3[param_2]" identifier [ identifier ]) = (cast_expression "(char)((ulong)lVar8 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((ulong)lVar8 >> 8)" ( (binary_expression "(ulong)lVar8 >> 8" (cast_expression "(ulong)lVar8" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "param_2 = uVar4 + 2;" (assignment_expression "param_2 = uVar4 + 2" identifier = (binary_expression "uVar4 + 2" identifier + number_literal)) ;) })) })) })) (expression_statement "*param_4 = param_2;" (assignment_expression "*param_4 = param_2" (pointer_expression "*param_4" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE 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 { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (pointer_expression * IDENT) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (pointer_expression * IDENT) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }))) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (pointer_expression * IDENT) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return 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 = (binary_expression IDENT | IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT | IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }))) }))) (for_statement for ( (assignment_expression IDENT = (binary_expression IDENT + LIT)) ; (binary_expression IDENT != IDENT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (pointer_expression * IDENT) ])) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (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 [ (subscript_expression IDENT [ LIT ]) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (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 [ (subscript_expression IDENT [ LIT ]) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (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 [ (subscript_expression IDENT [ LIT ]) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return 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 = (binary_expression IDENT | IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT | IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }))) }))) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) && (binary_expression IDENT != (pointer_expression & IDENT))) )) && (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != LIT) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) + LIT) & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (binary_expression (binary_expression IDENT + LIT) + IDENT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })))
(function_definition "undefined8\nFUN_00164ecd(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,\n            int param_6)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  ulong uVar4;\n  byte *pbVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  ulong uVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }\n  if (param_3 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }\n  if (param_4 == (ulong *)0x0) {\n                    \n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }\n  if (param_2 != 0) {\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }\n  *param_4 = param_2;\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_00164ecd(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,\n            int param_6)" (identifier "FUN_00164ecd") (parameter_list "(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,\n            int param_6)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) (, ",") (parameter_declaration "undefined1 *param_3" (type_identifier "undefined1") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "ulong *param_4" (type_identifier "ulong") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined *param_5" (type_identifier "undefined") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  ulong uVar4;\n  byte *pbVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  ulong uVar10;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }\n  if (param_3 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }\n  if (param_4 == (ulong *)0x0) {\n                    \n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }\n  if (param_2 != 0) {\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }\n  *param_4 = param_2;\n  return 0;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "ulong uVar6;" (type_identifier "ulong") (identifier "uVar6") (; ";")) (declaration "ulong uVar7;" (type_identifier "ulong") (identifier "uVar7") (; ";")) (declaration "long lVar8;" (sized_type_specifier "long" (long "long")) (identifier "lVar8") (; ";")) (declaration "long lVar9;" (sized_type_specifier "long" (long "long")) (identifier "lVar9") (; ";")) (declaration "ulong uVar10;" (type_identifier "ulong") (identifier "uVar10") (; ";")) (if_statement "if (param_1 == (byte *)0x0) {\n                    \n    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);\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("in != NULL","src/misc/base64/base64_decode.c",0x56);\n  }" ({ "{") (expression_statement "crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);" (call_expression "crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56)" (identifier "crypt_argchk") (argument_list "("in != NULL","src/misc/base64/base64_decode.c",0x56)" (( "(") (string_literal ""in != NULL"" (" """) (string_content "in != NULL") (" """)) (, ",") (string_literal ""src/misc/base64/base64_decode.c"" (" """) (string_content "src/misc/base64/base64_decode.c") (" """)) (, ",") (number_literal "0x56") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_3 == (undefined1 *)0x0) {\n                    \n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }" (if "if") (parenthesized_expression "(param_3 == (undefined1 *)0x0)" (( "(") (binary_expression "param_3 == (undefined1 *)0x0" (identifier "param_3") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);\n  }" ({ "{") (expression_statement "crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);" (call_expression "crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57)" (identifier "crypt_argchk") (argument_list "("out != NULL","src/misc/base64/base64_decode.c",0x57)" (( "(") (string_literal ""out != NULL"" (" """) (string_content "out != NULL") (" """)) (, ",") (string_literal ""src/misc/base64/base64_decode.c"" (" """) (string_content "src/misc/base64/base64_decode.c") (" """)) (, ",") (number_literal "0x57") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_4 == (ulong *)0x0) {\n                    \n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }" (if "if") (parenthesized_expression "(param_4 == (ulong *)0x0)" (( "(") (binary_expression "param_4 == (ulong *)0x0" (identifier "param_4") (== "==") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);\n  }" ({ "{") (expression_statement "crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);" (call_expression "crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58)" (identifier "crypt_argchk") (argument_list "("outlen != NULL","src/misc/base64/base64_decode.c",0x58)" (( "(") (string_literal ""outlen != NULL"" (" """) (string_content "outlen != NULL") (" """)) (, ",") (string_literal ""src/misc/base64/base64_decode.c"" (" """) (string_content "src/misc/base64/base64_decode.c") (" """)) (, ",") (number_literal "0x58") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 != 0) {\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pbVar5 = param_1 + param_2;\n    iVar2 = 0;\n    uVar4 = 0;\n    lVar9 = 0;\n    uVar6 = 0;\n    uVar10 = 0;\n    uVar3 = (int)pbVar5 - (int)param_1 & 3;\n    if (uVar3 == 0) goto LAB_001652f8;\n    if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }\n    bVar1 = param_5[*param_1];\n    if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }\n    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }\n    param_2 = uVar4;\n    if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }\n  }" ({ "{") (expression_statement "pbVar5 = param_1 + param_2;" (assignment_expression "pbVar5 = param_1 + param_2" (identifier "pbVar5") (= "=") (binary_expression "param_1 + param_2" (identifier "param_1") (+ "+") (identifier "param_2"))) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = (int)pbVar5 - (int)param_1 & 3;" (assignment_expression "uVar3 = (int)pbVar5 - (int)param_1 & 3" (identifier "uVar3") (= "=") (binary_expression "(int)pbVar5 - (int)param_1 & 3" (binary_expression "(int)pbVar5 - (int)param_1" (cast_expression "(int)pbVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar5")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (& "&") (number_literal "3"))) (; ";")) (if_statement "if (uVar3 == 0) goto LAB_001652f8;" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001652f8;" (goto "goto") (statement_identifier "LAB_001652f8") (; ";"))) (if_statement "if (uVar3 != 1) {\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }" (if "if") (parenthesized_expression "(uVar3 != 1)" (( "(") (binary_expression "uVar3 != 1" (identifier "uVar3") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }\n      param_1 = param_1 + 1;\n    }" ({ "{") (if_statement "if (uVar3 != 2) {\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }" (if "if") (parenthesized_expression "(uVar3 != 2)" (( "(") (binary_expression "uVar3 != 2" (identifier "uVar3") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n        bVar1 = param_5[*param_1];\n        if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }\n        param_1 = param_1 + 1;\n      }" ({ "{") (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" (identifier "bVar1") (= "=") (subscript_expression "param_5[*param_1]" (identifier "param_5") ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]"))) (; ";")) (if_statement "if (bVar1 == 0xfe) {\n          iVar2 = 1;\n        }\n        else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" (if "if") (parenthesized_expression "(bVar1 == 0xfe)" (( "(") (binary_expression "bVar1 == 0xfe" (identifier "bVar1") (== "==") (number_literal "0xfe")) () ")")) (compound_statement "{\n          iVar2 = 1;\n        }" ({ "{") (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" (else "else") (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" (if "if") (parenthesized_expression "(bVar1 == 0xff)" (( "(") (binary_expression "bVar1 == 0xff" (identifier "bVar1") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" ({ "{") (if_statement "if (param_6 != 0) {\n            return 7;\n          }" (if "if") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            return 7;\n          }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" (else "else") (compound_statement "{\n          uVar6 = (ulong)bVar1;\n          lVar9 = 1;\n        }" ({ "{") (expression_statement "uVar6 = (ulong)bVar1;" (assignment_expression "uVar6 = (ulong)bVar1" (identifier "uVar6") (= "=") (cast_expression "(ulong)bVar1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar1"))) (; ";")) (expression_statement "lVar9 = 1;" (assignment_expression "lVar9 = 1" (identifier "lVar9") (= "=") (number_literal "1")) (; ";")) (} "}")))))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" (identifier "bVar1") (= "=") (subscript_expression "param_5[*param_1]" (identifier "param_5") ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]"))) (; ";")) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(bVar1 == 0xfe)" (( "(") (binary_expression "bVar1 == 0xfe" (identifier "bVar1") (== "==") (number_literal "0xfe")) () ")")) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" ({ "{") (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" (else "else") (compound_statement "{\n        if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }\n      }" ({ "{") (if_statement "if ((param_6 != 0) && (iVar2 != 0)) {\n          return 7;\n        }" (if "if") (parenthesized_expression "((param_6 != 0) && (iVar2 != 0))" (( "(") (binary_expression "(param_6 != 0) && (iVar2 != 0)" (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          return 7;\n        }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" (if "if") (parenthesized_expression "(bVar1 == 0xff)" (( "(") (binary_expression "bVar1 == 0xff" (identifier "bVar1") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" ({ "{") (if_statement "if (param_6 != 0) {\n            return 7;\n          }" (if "if") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            return 7;\n          }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" (else "else") (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }\n        }" ({ "{") (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" (identifier "uVar7") (= "=") (binary_expression "uVar6 << 6" (identifier "uVar6") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" (identifier "uVar6") (= "=") (binary_expression "uVar7 | bVar1" (identifier "uVar7") (| "|") (identifier "bVar1"))) (; ";")) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" (identifier "lVar9") (= "=") (binary_expression "lVar9 + 1" (identifier "lVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (lVar9 == 4) {\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }" (if "if") (parenthesized_expression "(lVar9 == 4)" (( "(") (binary_expression "lVar9 == 4" (identifier "lVar9") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n            uVar4 = 3;\n            if (*param_4 < 3) {\n              return 6;\n            }\n            *param_3 = 0;\n            param_3[1] = (char)(uVar7 >> 8);\n            param_3[2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = uVar10;\n          }" ({ "{") (expression_statement "uVar4 = 3;" (assignment_expression "uVar4 = 3" (identifier "uVar4") (= "=") (number_literal "3")) (; ";")) (if_statement "if (*param_4 < 3) {\n              return 6;\n            }" (if "if") (parenthesized_expression "(*param_4 < 3)" (( "(") (binary_expression "*param_4 < 3" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (number_literal "3")) () ")")) (compound_statement "{\n              return 6;\n            }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)(uVar7 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 >> 8)" (( "(") (binary_expression "uVar7 >> 8" (identifier "uVar7") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_3[2] = (char)uVar6;" (assignment_expression "param_3[2] = (char)uVar6" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(char)uVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" (identifier "uVar6") (= "=") (identifier "uVar10")) (; ";")) (} "}"))) (} "}")))) (} "}")))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" (identifier "bVar1") (= "=") (subscript_expression "param_5[*param_1]" (identifier "param_5") ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]"))) (; ";")) (if_statement "if (bVar1 == 0xfe) {\n      iVar2 = iVar2 + 1;\n    }\n    else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(bVar1 == 0xfe)" (( "(") (binary_expression "bVar1 == 0xfe" (identifier "bVar1") (== "==") (number_literal "0xfe")) () ")")) (compound_statement "{\n      iVar2 = iVar2 + 1;\n    }" ({ "{") (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" (else "else") (compound_statement "{\n      if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }\n      if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }\n    }" ({ "{") (if_statement "if ((param_6 != 0) && (iVar2 != 0)) {\n        return 7;\n      }" (if "if") (parenthesized_expression "((param_6 != 0) && (iVar2 != 0))" (( "(") (binary_expression "(param_6 != 0) && (iVar2 != 0)" (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        return 7;\n      }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (if_statement "if (bVar1 == 0xff) {\n        if (param_6 != 0) {\n          return 7;\n        }\n      }\n      else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" (if "if") (parenthesized_expression "(bVar1 == 0xff)" (( "(") (binary_expression "bVar1 == 0xff" (identifier "bVar1") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n        if (param_6 != 0) {\n          return 7;\n        }\n      }" ({ "{") (if_statement "if (param_6 != 0) {\n          return 7;\n        }" (if "if") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          return 7;\n        }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" (else "else") (compound_statement "{\n        uVar7 = uVar6 << 6;\n        lVar9 = lVar9 + 1;\n        uVar6 = uVar7 | bVar1;\n        if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }\n      }" ({ "{") (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" (identifier "uVar7") (= "=") (binary_expression "uVar6 << 6" (identifier "uVar6") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" (identifier "lVar9") (= "=") (binary_expression "lVar9 + 1" (identifier "lVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" (identifier "uVar6") (= "=") (binary_expression "uVar7 | bVar1" (identifier "uVar7") (| "|") (identifier "bVar1"))) (; ";")) (if_statement "if (lVar9 == 4) {\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }" (if "if") (parenthesized_expression "(lVar9 == 4)" (( "(") (binary_expression "lVar9 == 4" (identifier "lVar9") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n          if (*param_4 < uVar4 + 3) {\n            return 6;\n          }\n          param_3[uVar4] = (char)(uVar7 >> 0x10);\n          param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n          lVar9 = 0;\n          uVar4 = uVar4 + 3;\n          uVar6 = uVar10;\n        }" ({ "{") (if_statement "if (*param_4 < uVar4 + 3) {\n            return 6;\n          }" (if "if") (parenthesized_expression "(*param_4 < uVar4 + 3)" (( "(") (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (binary_expression "uVar4 + 3" (identifier "uVar4") (+ "+") (number_literal "3"))) () ")")) (compound_statement "{\n            return 6;\n          }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" (identifier "param_3") ([ "[") (identifier "uVar4") (] "]")) (= "=") (cast_expression "(char)(uVar7 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 >> 0x10)" (( "(") (binary_expression "uVar7 >> 0x10" (identifier "uVar7") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" (identifier "param_3") ([ "[") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) (] "]")) (= "=") (cast_expression "(char)(uVar7 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 >> 8)" (( "(") (binary_expression "uVar7 >> 8" (identifier "uVar7") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_3[uVar4 + 2] = (char)(uVar7 | bVar1);" (assignment_expression "param_3[uVar4 + 2] = (char)(uVar7 | bVar1)" (subscript_expression "param_3[uVar4 + 2]" (identifier "param_3") ([ "[") (binary_expression "uVar4 + 2" (identifier "uVar4") (+ "+") (number_literal "2")) (] "]")) (= "=") (cast_expression "(char)(uVar7 | bVar1)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 | bVar1)" (( "(") (binary_expression "uVar7 | bVar1" (identifier "uVar7") (| "|") (identifier "bVar1")) () ")")))) (; ";")) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" (identifier "uVar4") (= "=") (binary_expression "uVar4 + 3" (identifier "uVar4") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" (identifier "uVar6") (= "=") (identifier "uVar10")) (; ";")) (} "}"))) (} "}")))) (} "}")))) (for_statement "for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }" (for "for") (( "(") (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";") (binary_expression "pbVar5 != param_1" (identifier "pbVar5") (!= "!=") (identifier "param_1")) (; ";") (assignment_expression "param_1 = param_1 + 4" (identifier "param_1") (= "=") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4"))) () ")") (compound_statement "{\nLAB_001652f8:\n      bVar1 = param_5[*param_1];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[1]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[2]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }\n      bVar1 = param_5[param_1[3]];\n      if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }\n    }" ({ "{") (labeled_statement "LAB_001652f8:\n      bVar1 = param_5[*param_1];" (statement_identifier "LAB_001652f8") (: ":") (expression_statement "bVar1 = param_5[*param_1];" (assignment_expression "bVar1 = param_5[*param_1]" (identifier "bVar1") (= "=") (subscript_expression "param_5[*param_1]" (identifier "param_5") ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]"))) (; ";"))) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(bVar1 == 0xfe)" (( "(") (binary_expression "bVar1 == 0xfe" (identifier "bVar1") (== "==") (number_literal "0xfe")) () ")")) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" ({ "{") (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" (else "else") (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" ({ "{") (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" (if "if") (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" (( "(") (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")"))) () ")")) (compound_statement "{\n          return 7;\n        }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" (if "if") (parenthesized_expression "(bVar1 == 0xff)" (( "(") (binary_expression "bVar1 == 0xff" (identifier "bVar1") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" ({ "{") (if_statement "if (param_6 != 0) {\n            return 7;\n          }" (if "if") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            return 7;\n          }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" (else "else") (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" ({ "{") (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" (identifier "uVar7") (= "=") (binary_expression "uVar6 << 6" (identifier "uVar6") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" (identifier "uVar6") (= "=") (binary_expression "uVar7 | bVar1" (identifier "uVar7") (| "|") (identifier "bVar1"))) (; ";")) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" (identifier "lVar9") (= "=") (binary_expression "lVar9 + 1" (identifier "lVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" (if "if") (parenthesized_expression "(lVar9 == 4)" (( "(") (binary_expression "lVar9 == 4" (identifier "lVar9") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" ({ "{") (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" (if "if") (parenthesized_expression "(*param_4 < uVar4 + 3)" (( "(") (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (binary_expression "uVar4 + 3" (identifier "uVar4") (+ "+") (number_literal "3"))) () ")")) (compound_statement "{\n              return 6;\n            }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" (identifier "param_3") ([ "[") (identifier "uVar4") (] "]")) (= "=") (cast_expression "(char)(uVar7 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 >> 0x10)" (( "(") (binary_expression "uVar7 >> 0x10" (identifier "uVar7") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" (identifier "param_3") ([ "[") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) (] "]")) (= "=") (cast_expression "(char)(uVar7 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 >> 8)" (( "(") (binary_expression "uVar7 >> 8" (identifier "uVar7") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_3[uVar4 + 2] = (char)uVar6;" (assignment_expression "param_3[uVar4 + 2] = (char)uVar6" (subscript_expression "param_3[uVar4 + 2]" (identifier "param_3") ([ "[") (binary_expression "uVar4 + 2" (identifier "uVar4") (+ "+") (number_literal "2")) (] "]")) (= "=") (cast_expression "(char)uVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" (identifier "uVar4") (= "=") (binary_expression "uVar4 + 3" (identifier "uVar4") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (} "}")))) (} "}")))) (expression_statement "bVar1 = param_5[param_1[1]];" (assignment_expression "bVar1 = param_5[param_1[1]]" (identifier "bVar1") (= "=") (subscript_expression "param_5[param_1[1]]" (identifier "param_5") ([ "[") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (] "]"))) (; ";")) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(bVar1 == 0xfe)" (( "(") (binary_expression "bVar1 == 0xfe" (identifier "bVar1") (== "==") (number_literal "0xfe")) () ")")) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" ({ "{") (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" (else "else") (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" ({ "{") (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" (if "if") (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" (( "(") (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")"))) () ")")) (compound_statement "{\n          return 7;\n        }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" (if "if") (parenthesized_expression "(bVar1 == 0xff)" (( "(") (binary_expression "bVar1 == 0xff" (identifier "bVar1") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" ({ "{") (if_statement "if (param_6 != 0) {\n            return 7;\n          }" (if "if") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            return 7;\n          }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" (else "else") (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" ({ "{") (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" (identifier "uVar7") (= "=") (binary_expression "uVar6 << 6" (identifier "uVar6") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" (identifier "uVar6") (= "=") (binary_expression "uVar7 | bVar1" (identifier "uVar7") (| "|") (identifier "bVar1"))) (; ";")) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" (identifier "lVar9") (= "=") (binary_expression "lVar9 + 1" (identifier "lVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" (if "if") (parenthesized_expression "(lVar9 == 4)" (( "(") (binary_expression "lVar9 == 4" (identifier "lVar9") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" ({ "{") (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" (if "if") (parenthesized_expression "(*param_4 < uVar4 + 3)" (( "(") (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (binary_expression "uVar4 + 3" (identifier "uVar4") (+ "+") (number_literal "3"))) () ")")) (compound_statement "{\n              return 6;\n            }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" (identifier "param_3") ([ "[") (identifier "uVar4") (] "]")) (= "=") (cast_expression "(char)(uVar7 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 >> 0x10)" (( "(") (binary_expression "uVar7 >> 0x10" (identifier "uVar7") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" (identifier "param_3") ([ "[") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) (] "]")) (= "=") (cast_expression "(char)(uVar7 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 >> 8)" (( "(") (binary_expression "uVar7 >> 8" (identifier "uVar7") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_3[uVar4 + 2] = (char)uVar6;" (assignment_expression "param_3[uVar4 + 2] = (char)uVar6" (subscript_expression "param_3[uVar4 + 2]" (identifier "param_3") ([ "[") (binary_expression "uVar4 + 2" (identifier "uVar4") (+ "+") (number_literal "2")) (] "]")) (= "=") (cast_expression "(char)uVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" (identifier "uVar4") (= "=") (binary_expression "uVar4 + 3" (identifier "uVar4") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (} "}")))) (} "}")))) (expression_statement "bVar1 = param_5[param_1[2]];" (assignment_expression "bVar1 = param_5[param_1[2]]" (identifier "bVar1") (= "=") (subscript_expression "param_5[param_1[2]]" (identifier "param_5") ([ "[") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (] "]"))) (; ";")) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(bVar1 == 0xfe)" (( "(") (binary_expression "bVar1 == 0xfe" (identifier "bVar1") (== "==") (number_literal "0xfe")) () ")")) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" ({ "{") (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" (else "else") (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }\n      }" ({ "{") (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" (if "if") (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" (( "(") (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")"))) () ")")) (compound_statement "{\n          return 7;\n        }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" (if "if") (parenthesized_expression "(bVar1 == 0xff)" (( "(") (binary_expression "bVar1 == 0xff" (identifier "bVar1") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" ({ "{") (if_statement "if (param_6 != 0) {\n            return 7;\n          }" (if "if") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            return 7;\n          }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" (else "else") (compound_statement "{\n          uVar7 = uVar6 << 6;\n          uVar6 = uVar7 | bVar1;\n          lVar9 = lVar9 + 1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }\n        }" ({ "{") (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" (identifier "uVar7") (= "=") (binary_expression "uVar6 << 6" (identifier "uVar6") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" (identifier "uVar6") (= "=") (binary_expression "uVar7 | bVar1" (identifier "uVar7") (| "|") (identifier "bVar1"))) (; ";")) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" (identifier "lVar9") (= "=") (binary_expression "lVar9 + 1" (identifier "lVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" (if "if") (parenthesized_expression "(lVar9 == 4)" (( "(") (binary_expression "lVar9 == 4" (identifier "lVar9") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)uVar6;\n            lVar9 = 0;\n            uVar6 = 0;\n            uVar4 = uVar4 + 3;\n          }" ({ "{") (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" (if "if") (parenthesized_expression "(*param_4 < uVar4 + 3)" (( "(") (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (binary_expression "uVar4 + 3" (identifier "uVar4") (+ "+") (number_literal "3"))) () ")")) (compound_statement "{\n              return 6;\n            }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" (identifier "param_3") ([ "[") (identifier "uVar4") (] "]")) (= "=") (cast_expression "(char)(uVar7 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 >> 0x10)" (( "(") (binary_expression "uVar7 >> 0x10" (identifier "uVar7") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" (identifier "param_3") ([ "[") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) (] "]")) (= "=") (cast_expression "(char)(uVar7 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 >> 8)" (( "(") (binary_expression "uVar7 >> 8" (identifier "uVar7") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_3[uVar4 + 2] = (char)uVar6;" (assignment_expression "param_3[uVar4 + 2] = (char)uVar6" (subscript_expression "param_3[uVar4 + 2]" (identifier "param_3") ([ "[") (binary_expression "uVar4 + 2" (identifier "uVar4") (+ "+") (number_literal "2")) (] "]")) (= "=") (cast_expression "(char)uVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" (identifier "uVar4") (= "=") (binary_expression "uVar4 + 3" (identifier "uVar4") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (} "}")))) (} "}")))) (expression_statement "bVar1 = param_5[param_1[3]];" (assignment_expression "bVar1 = param_5[param_1[3]]" (identifier "bVar1") (= "=") (subscript_expression "param_5[param_1[3]]" (identifier "param_5") ([ "[") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (] "]"))) (; ";")) (if_statement "if (bVar1 == 0xfe) {\n        iVar2 = iVar2 + 1;\n      }\n      else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(bVar1 == 0xfe)" (( "(") (binary_expression "bVar1 == 0xfe" (identifier "bVar1") (== "==") (number_literal "0xfe")) () ")")) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" ({ "{") (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" (else "else") (compound_statement "{\n        if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }\n        if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }\n      }" ({ "{") (if_statement "if ((param_6 != 0) && (0 < iVar2)) {\n          return 7;\n        }" (if "if") (parenthesized_expression "((param_6 != 0) && (0 < iVar2))" (( "(") (binary_expression "(param_6 != 0) && (0 < iVar2)" (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")"))) () ")")) (compound_statement "{\n          return 7;\n        }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (if_statement "if (bVar1 == 0xff) {\n          if (param_6 != 0) {\n            return 7;\n          }\n        }\n        else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" (if "if") (parenthesized_expression "(bVar1 == 0xff)" (( "(") (binary_expression "bVar1 == 0xff" (identifier "bVar1") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n          if (param_6 != 0) {\n            return 7;\n          }\n        }" ({ "{") (if_statement "if (param_6 != 0) {\n            return 7;\n          }" (if "if") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            return 7;\n          }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" (else "else") (compound_statement "{\n          uVar7 = uVar6 << 6;\n          lVar9 = lVar9 + 1;\n          uVar6 = uVar7 | bVar1;\n          if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }\n        }" ({ "{") (expression_statement "uVar7 = uVar6 << 6;" (assignment_expression "uVar7 = uVar6 << 6" (identifier "uVar7") (= "=") (binary_expression "uVar6 << 6" (identifier "uVar6") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" (identifier "lVar9") (= "=") (binary_expression "lVar9 + 1" (identifier "lVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = uVar7 | bVar1;" (assignment_expression "uVar6 = uVar7 | bVar1" (identifier "uVar6") (= "=") (binary_expression "uVar7 | bVar1" (identifier "uVar7") (| "|") (identifier "bVar1"))) (; ";")) (if_statement "if (lVar9 == 4) {\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }" (if "if") (parenthesized_expression "(lVar9 == 4)" (( "(") (binary_expression "lVar9 == 4" (identifier "lVar9") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n            if (*param_4 < uVar4 + 3) {\n              return 6;\n            }\n            param_3[uVar4] = (char)(uVar7 >> 0x10);\n            param_3[uVar4 + 1] = (char)(uVar7 >> 8);\n            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);\n            lVar9 = 0;\n            uVar4 = uVar4 + 3;\n            uVar6 = uVar10;\n          }" ({ "{") (if_statement "if (*param_4 < uVar4 + 3) {\n              return 6;\n            }" (if "if") (parenthesized_expression "(*param_4 < uVar4 + 3)" (( "(") (binary_expression "*param_4 < uVar4 + 3" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (binary_expression "uVar4 + 3" (identifier "uVar4") (+ "+") (number_literal "3"))) () ")")) (compound_statement "{\n              return 6;\n            }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "param_3[uVar4] = (char)(uVar7 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)(uVar7 >> 0x10)" (subscript_expression "param_3[uVar4]" (identifier "param_3") ([ "[") (identifier "uVar4") (] "]")) (= "=") (cast_expression "(char)(uVar7 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 >> 0x10)" (( "(") (binary_expression "uVar7 >> 0x10" (identifier "uVar7") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "param_3[uVar4 + 1] = (char)(uVar7 >> 8);" (assignment_expression "param_3[uVar4 + 1] = (char)(uVar7 >> 8)" (subscript_expression "param_3[uVar4 + 1]" (identifier "param_3") ([ "[") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) (] "]")) (= "=") (cast_expression "(char)(uVar7 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 >> 8)" (( "(") (binary_expression "uVar7 >> 8" (identifier "uVar7") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_3[uVar4 + 2] = (char)(uVar7 | bVar1);" (assignment_expression "param_3[uVar4 + 2] = (char)(uVar7 | bVar1)" (subscript_expression "param_3[uVar4 + 2]" (identifier "param_3") ([ "[") (binary_expression "uVar4 + 2" (identifier "uVar4") (+ "+") (number_literal "2")) (] "]")) (= "=") (cast_expression "(char)(uVar7 | bVar1)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar7 | bVar1)" (( "(") (binary_expression "uVar7 | bVar1" (identifier "uVar7") (| "|") (identifier "bVar1")) () ")")))) (; ";")) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = uVar4 + 3;" (assignment_expression "uVar4 = uVar4 + 3" (identifier "uVar4") (= "=") (binary_expression "uVar4 + 3" (identifier "uVar4") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "uVar6 = uVar10;" (assignment_expression "uVar6 = uVar10" (identifier "uVar6") (= "=") (identifier "uVar10")) (; ";")) (} "}"))) (} "}")))) (} "}")))) (} "}"))) (expression_statement "param_2 = uVar4;" (assignment_expression "param_2 = uVar4" (identifier "param_2") (= "=") (identifier "uVar4")) (; ";")) (if_statement "if (lVar9 != 0) {\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }" (if "if") (parenthesized_expression "(lVar9 != 0)" (( "(") (binary_expression "lVar9 != 0" (identifier "lVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (lVar9 == 1) {\n        return 7;\n      }\n      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }\n      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);\n      if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }\n      param_2 = uVar4 + 1;\n      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);\n      if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }\n    }" ({ "{") (if_statement "if (lVar9 == 1) {\n        return 7;\n      }" (if "if") (parenthesized_expression "(lVar9 == 1)" (( "(") (binary_expression "lVar9 == 1" (identifier "lVar9") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        return 7;\n      }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (if_statement "if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {\n        return 7;\n      }" (if "if") (parenthesized_expression "((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4))" (( "(") (binary_expression "(param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)" (parenthesized_expression "(param_6 != 0 && param_5 != &DAT_001c0bc0)" (( "(") (binary_expression "param_6 != 0 && param_5 != &DAT_001c0bc0" (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) (&& "&&") (binary_expression "param_5 != &DAT_001c0bc0" (identifier "param_5") (!= "!=") (pointer_expression "&DAT_001c0bc0" (& "&") (identifier "DAT_001c0bc0")))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 + lVar9 != 4)" (( "(") (binary_expression "iVar2 + lVar9 != 4" (binary_expression "iVar2 + lVar9" (identifier "iVar2") (+ "+") (identifier "lVar9")) (!= "!=") (number_literal "4")) () ")"))) () ")")) (compound_statement "{\n        return 7;\n      }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (expression_statement "lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);" (assignment_expression "lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f)" (identifier "lVar8") (= "=") (binary_expression "uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f)" (identifier "uVar6") (<< "<<") (parenthesized_expression "((char)lVar9 * -6 + 0x18U & 0x3f)" (( "(") (binary_expression "(char)lVar9 * -6 + 0x18U & 0x3f" (binary_expression "(char)lVar9 * -6 + 0x18U" (binary_expression "(char)lVar9 * -6" (cast_expression "(char)lVar9" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "lVar9")) (* "*") (number_literal "-6")) (+ "+") (number_literal "0x18U")) (& "&") (number_literal "0x3f")) () ")")))) (; ";")) (if_statement "if (*param_4 < lVar9 + -1 + uVar4) {\n        return 6;\n      }" (if "if") (parenthesized_expression "(*param_4 < lVar9 + -1 + uVar4)" (( "(") (binary_expression "*param_4 < lVar9 + -1 + uVar4" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (binary_expression "lVar9 + -1 + uVar4" (binary_expression "lVar9 + -1" (identifier "lVar9") (+ "+") (number_literal "-1")) (+ "+") (identifier "uVar4"))) () ")")) (compound_statement "{\n        return 6;\n      }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "param_2 = uVar4 + 1;" (assignment_expression "param_2 = uVar4 + 1" (identifier "param_2") (= "=") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);" (assignment_expression "param_3[uVar4] = (char)((ulong)lVar8 >> 0x10)" (subscript_expression "param_3[uVar4]" (identifier "param_3") ([ "[") (identifier "uVar4") (] "]")) (= "=") (cast_expression "(char)((ulong)lVar8 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((ulong)lVar8 >> 0x10)" (( "(") (binary_expression "(ulong)lVar8 >> 0x10" (cast_expression "(ulong)lVar8" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "lVar8")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (if_statement "if (lVar9 == 3) {\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }" (if "if") (parenthesized_expression "(lVar9 == 3)" (( "(") (binary_expression "lVar9 == 3" (identifier "lVar9") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n        param_3[param_2] = (char)((ulong)lVar8 >> 8);\n        param_2 = uVar4 + 2;\n      }" ({ "{") (expression_statement "param_3[param_2] = (char)((ulong)lVar8 >> 8);" (assignment_expression "param_3[param_2] = (char)((ulong)lVar8 >> 8)" (subscript_expression "param_3[param_2]" (identifier "param_3") ([ "[") (identifier "param_2") (] "]")) (= "=") (cast_expression "(char)((ulong)lVar8 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((ulong)lVar8 >> 8)" (( "(") (binary_expression "(ulong)lVar8 >> 8" (cast_expression "(ulong)lVar8" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "lVar8")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_2 = uVar4 + 2;" (assignment_expression "param_2 = uVar4 + 2" (identifier "param_2") (= "=") (binary_expression "uVar4 + 2" (identifier "uVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "*param_4 = param_2;" (assignment_expression "*param_4 = param_2" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Removing unreachable block (ram,0x00165157) */
/* WARNING: Removing unreachable block (ram,0x00165161) */

int function_1(type_1 *var_1,type_2 var_5,type_1 *var_3,type_2 *var_4,type_1 *var_15,int var_8)

{
  type_3 var_7;
  int var_9;
  type_4 var_6;
  type_2 var_13;
  type_3 *var_14;
  type_2 var_10;
  type_2 var_11;
  long lVar8;
  long var_12;
  type_2 uVar10;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("in != NULL","src/misc/base64/base64_decode.c",0x56);
  }
  if (var_3 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("out != NULL","src/misc/base64/base64_decode.c",0x57);
  }
  if (var_4 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("outlen != NULL","src/misc/base64/base64_decode.c",0x58);
  }
  if (var_5 != 0) {
    var_14 = var_1 + var_5;
    var_9 = 0;
    var_13 = 0;
    var_12 = 0;
    var_10 = 0;
    uVar10 = 0;
    var_6 = (int)var_14 - (int)var_1 & 3;
    if (var_6 == 0) goto LAB_001652f8;
    if (var_6 != 1) {
      if (var_6 != 2) {
        var_7 = var_15[*var_1];
        if (var_7 == 0xfe) {
          var_9 = 1;
        }
        else if (var_7 == 0xff) {
          if (var_8 != 0) {
            return 7;
          }
        }
        else {
          var_10 = (type_2)var_7;
          var_12 = 1;
        }
        var_1 = var_1 + 1;
      }
      var_7 = var_15[*var_1];
      if (var_7 == 0xfe) {
        var_9 = var_9 + 1;
      }
      else {
        if ((var_8 != 0) && (var_9 != 0)) {
          return 7;
        }
        if (var_7 == 0xff) {
          if (var_8 != 0) {
            return 7;
          }
        }
        else {
          var_11 = var_10 << 6;
          var_10 = var_11 | var_7;
          var_12 = var_12 + 1;
          if (var_12 == 4) {
            var_13 = 3;
            if (*var_4 < 3) {
              return 6;
            }
            *var_3 = '\0';
            var_3[1] = (type_1)(var_11 >> 8);
            var_3[2] = (type_1)var_10;
            var_12 = 0;
            var_10 = uVar10;
          }
        }
      }
      var_1 = var_1 + 1;
    }
    var_7 = var_15[*var_1];
    if (var_7 == 0xfe) {
      var_9 = var_9 + 1;
    }
    else {
      if ((var_8 != 0) && (var_9 != 0)) {
        return 7;
      }
      if (var_7 == 0xff) {
        if (var_8 != 0) {
          return 7;
        }
      }
      else {
        var_11 = var_10 << 6;
        var_12 = var_12 + 1;
        var_10 = var_11 | var_7;
        if (var_12 == 4) {
          if (*var_4 < var_13 + 3) {
            return 6;
          }
          var_3[var_13] = (type_1)(var_11 >> 0x10);
          var_3[var_13 + 1] = (type_1)(var_11 >> 8);
          var_3[var_13 + 2] = (type_1)(var_11 | var_7);
          var_12 = 0;
          var_13 = var_13 + 3;
          var_10 = uVar10;
        }
      }
    }
    for (var_1 = var_1 + 1; var_14 != var_1; var_1 = var_1 + 4) {
LAB_001652f8:
      var_7 = var_15[*var_1];
      if (var_7 == 0xfe) {
        var_9 = var_9 + 1;
      }
      else {
        if ((var_8 != 0) && (0 < var_9)) {
          return 7;
        }
        if (var_7 == 0xff) {
          if (var_8 != 0) {
            return 7;
          }
        }
        else {
          var_11 = var_10 << 6;
          var_10 = var_11 | var_7;
          var_12 = var_12 + 1;
          if (var_12 == 4) {
            if (*var_4 < var_13 + 3) {
              return 6;
            }
            var_3[var_13] = (type_1)(var_11 >> 0x10);
            var_3[var_13 + 1] = (type_1)(var_11 >> 8);
            var_3[var_13 + 2] = (type_1)var_10;
            var_12 = 0;
            var_10 = 0;
            var_13 = var_13 + 3;
          }
        }
      }
      var_7 = var_15[var_1[1]];
      if (var_7 == 0xfe) {
        var_9 = var_9 + 1;
      }
      else {
        if ((var_8 != 0) && (0 < var_9)) {
          return 7;
        }
        if (var_7 == 0xff) {
          if (var_8 != 0) {
            return 7;
          }
        }
        else {
          var_11 = var_10 << 6;
          var_10 = var_11 | var_7;
          var_12 = var_12 + 1;
          if (var_12 == 4) {
            if (*var_4 < var_13 + 3) {
              return 6;
            }
            var_3[var_13] = (type_1)(var_11 >> 0x10);
            var_3[var_13 + 1] = (type_1)(var_11 >> 8);
            var_3[var_13 + 2] = (type_1)var_10;
            var_12 = 0;
            var_10 = 0;
            var_13 = var_13 + 3;
          }
        }
      }
      var_7 = var_15[var_1[2]];
      if (var_7 == 0xfe) {
        var_9 = var_9 + 1;
      }
      else {
        if ((var_8 != 0) && (0 < var_9)) {
          return 7;
        }
        if (var_7 == 0xff) {
          if (var_8 != 0) {
            return 7;
          }
        }
        else {
          var_11 = var_10 << 6;
          var_10 = var_11 | var_7;
          var_12 = var_12 + 1;
          if (var_12 == 4) {
            if (*var_4 < var_13 + 3) {
              return 6;
            }
            var_3[var_13] = (type_1)(var_11 >> 0x10);
            var_3[var_13 + 1] = (type_1)(var_11 >> 8);
            var_3[var_13 + 2] = (type_1)var_10;
            var_12 = 0;
            var_10 = 0;
            var_13 = var_13 + 3;
          }
        }
      }
      var_7 = var_15[var_1[3]];
      if (var_7 == 0xfe) {
        var_9 = var_9 + 1;
      }
      else {
        if ((var_8 != 0) && (0 < var_9)) {
          return 7;
        }
        if (var_7 == 0xff) {
          if (var_8 != 0) {
            return 7;
          }
        }
        else {
          var_11 = var_10 << 6;
          var_12 = var_12 + 1;
          var_10 = var_11 | var_7;
          if (var_12 == 4) {
            if (*var_4 < var_13 + 3) {
              return 6;
            }
            var_3[var_13] = (type_1)(var_11 >> 0x10);
            var_3[var_13 + 1] = (type_1)(var_11 >> 8);
            var_3[var_13 + 2] = (type_1)(var_11 | var_7);
            var_12 = 0;
            var_13 = var_13 + 3;
            var_10 = uVar10;
          }
        }
      }
    }
    var_5 = var_13;
    if (var_12 != 0) {
      if (var_12 == 1) {
        return 7;
      }
      if ((var_8 != 0 && var_15 != var_16) && (var_9 + var_12 != 4)) {
        return 7;
      }
      lVar8 = var_10 << ((char)var_12 * -6 + 0x18U & 0x3f);
      if (*var_4 < var_12 + -1 + var_13) {
        return 6;
      }
      var_5 = var_13 + 1;
      var_3[var_13] = (type_1)((type_2)lVar8 >> 0x10);
      if (var_12 == 3) {
        var_3[var_5] = (type_1)((type_2)lVar8 >> 8);
        var_5 = var_13 + 2;
      }
    }
  }
  *var_4 = var_5;
  return 0;
}


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

/* WARNING: Removing unreachable block (ram,0x00165157) */
/* WARNING: Removing unreachable block (ram,0x00165161) */

undefined8
MASKED(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4,undefined *param_5,
            int param_6)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  ulong uVar4;
  byte *pbVar5;
  ulong uVar6;
  ulong uVar7;
  long lVar8;
  long lVar9;
  ulong uVar10;
  
  if (param_1 == (byte *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/misc/base64/base64_decode.c",0x56);
  }
  if (param_3 == (undefined1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("out != NULL","src/misc/base64/base64_decode.c",0x57);
  }
  if (param_4 == (ulong *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("outlen != NULL","src/misc/base64/base64_decode.c",0x58);
  }
  if (param_2 != 0) {
    pbVar5 = param_1 + param_2;
    iVar2 = 0;
    uVar4 = 0;
    lVar9 = 0;
    uVar6 = 0;
    uVar10 = 0;
    uVar3 = (int)pbVar5 - (int)param_1 & 3;
    if (uVar3 == 0) goto LAB_001652f8;
    if (uVar3 != 1) {
      if (uVar3 != 2) {
        bVar1 = param_5[*param_1];
        if (bVar1 == 0xfe) {
          iVar2 = 1;
        }
        else if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar6 = (ulong)bVar1;
          lVar9 = 1;
        }
        param_1 = param_1 + 1;
      }
      bVar1 = param_5[*param_1];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((param_6 != 0) && (iVar2 != 0)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            uVar4 = 3;
            if (*param_4 < 3) {
              return 6;
            }
            *param_3 = 0;
            param_3[1] = (char)(uVar7 >> 8);
            param_3[2] = (char)uVar6;
            lVar9 = 0;
            uVar6 = uVar10;
          }
        }
      }
      param_1 = param_1 + 1;
    }
    bVar1 = param_5[*param_1];
    if (bVar1 == 0xfe) {
      iVar2 = iVar2 + 1;
    }
    else {
      if ((param_6 != 0) && (iVar2 != 0)) {
        return 7;
      }
      if (bVar1 == 0xff) {
        if (param_6 != 0) {
          return 7;
        }
      }
      else {
        uVar7 = uVar6 << 6;
        lVar9 = lVar9 + 1;
        uVar6 = uVar7 | bVar1;
        if (lVar9 == 4) {
          if (*param_4 < uVar4 + 3) {
            return 6;
          }
          param_3[uVar4] = (char)(uVar7 >> 0x10);
          param_3[uVar4 + 1] = (char)(uVar7 >> 8);
          param_3[uVar4 + 2] = (char)(uVar7 | bVar1);
          lVar9 = 0;
          uVar4 = uVar4 + 3;
          uVar6 = uVar10;
        }
      }
    }
    for (param_1 = param_1 + 1; pbVar5 != param_1; param_1 = param_1 + 4) {
LAB_001652f8:
      bVar1 = param_5[*param_1];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((param_6 != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            if (*param_4 < uVar4 + 3) {
              return 6;
            }
            param_3[uVar4] = (char)(uVar7 >> 0x10);
            param_3[uVar4 + 1] = (char)(uVar7 >> 8);
            param_3[uVar4 + 2] = (char)uVar6;
            lVar9 = 0;
            uVar6 = 0;
            uVar4 = uVar4 + 3;
          }
        }
      }
      bVar1 = param_5[param_1[1]];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((param_6 != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            if (*param_4 < uVar4 + 3) {
              return 6;
            }
            param_3[uVar4] = (char)(uVar7 >> 0x10);
            param_3[uVar4 + 1] = (char)(uVar7 >> 8);
            param_3[uVar4 + 2] = (char)uVar6;
            lVar9 = 0;
            uVar6 = 0;
            uVar4 = uVar4 + 3;
          }
        }
      }
      bVar1 = param_5[param_1[2]];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((param_6 != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          uVar6 = uVar7 | bVar1;
          lVar9 = lVar9 + 1;
          if (lVar9 == 4) {
            if (*param_4 < uVar4 + 3) {
              return 6;
            }
            param_3[uVar4] = (char)(uVar7 >> 0x10);
            param_3[uVar4 + 1] = (char)(uVar7 >> 8);
            param_3[uVar4 + 2] = (char)uVar6;
            lVar9 = 0;
            uVar6 = 0;
            uVar4 = uVar4 + 3;
          }
        }
      }
      bVar1 = param_5[param_1[3]];
      if (bVar1 == 0xfe) {
        iVar2 = iVar2 + 1;
      }
      else {
        if ((param_6 != 0) && (0 < iVar2)) {
          return 7;
        }
        if (bVar1 == 0xff) {
          if (param_6 != 0) {
            return 7;
          }
        }
        else {
          uVar7 = uVar6 << 6;
          lVar9 = lVar9 + 1;
          uVar6 = uVar7 | bVar1;
          if (lVar9 == 4) {
            if (*param_4 < uVar4 + 3) {
              return 6;
            }
            param_3[uVar4] = (char)(uVar7 >> 0x10);
            param_3[uVar4 + 1] = (char)(uVar7 >> 8);
            param_3[uVar4 + 2] = (char)(uVar7 | bVar1);
            lVar9 = 0;
            uVar4 = uVar4 + 3;
            uVar6 = uVar10;
          }
        }
      }
    }
    param_2 = uVar4;
    if (lVar9 != 0) {
      if (lVar9 == 1) {
        return 7;
      }
      if ((param_6 != 0 && param_5 != &DAT_001c0bc0) && (iVar2 + lVar9 != 4)) {
        return 7;
      }
      lVar8 = uVar6 << ((char)lVar9 * -6 + 0x18U & 0x3f);
      if (*param_4 < lVar9 + -1 + uVar4) {
        return 6;
      }
      param_2 = uVar4 + 1;
      param_3[uVar4] = (char)((ulong)lVar8 >> 0x10);
      if (lVar9 == 3) {
        param_3[param_2] = (char)((ulong)lVar8 >> 8);
        param_2 = uVar4 + 2;
      }
    }
  }
  *param_4 = param_2;
  return 0;
}

