
int base64url_decode(uchar *in,ulong inlen,uchar *out,ulong *outlen)

{
  byte *pbVar1;
  bool bVar2;
  ulong uVar3;
  ulong uVar4;
  long lVar5;
  ulong uVar6;
  ulong uVar7;
  ulong uVar8;
  uint uVar9;
  
  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) goto LAB_0016db8e;
  pbVar1 = in + inlen;
  uVar7 = 0;
  uVar8 = 0;
  uVar4 = 0;
  uVar9 = (int)pbVar1 - (int)in & 3;
  if (uVar9 == 0) goto LAB_0016dc59;
  if (uVar9 != 1) {
    if (uVar9 != 2) {
      bVar2 = 1 < (byte)(map_base64url[*in] + 2);
      if (bVar2) {
        uVar4 = (ulong)map_base64url[*in];
      }
      uVar8 = (ulong)bVar2;
      in = in + 1;
    }
    if (1 < (byte)(map_base64url[*in] + 2)) {
      uVar3 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar3 | map_base64url[*in];
      if (uVar8 == 4) {
        uVar7 = 3;
        if (*outlen < 3) {
          return 6;
        }
        out[2] = (uchar)uVar4;
        uVar4 = 0;
        *out = '\0';
        uVar8 = 0;
        out[1] = (uchar)(uVar3 >> 8);
      }
    }
    in = in + 1;
  }
  if ((byte)(map_base64url[*in] + 2) < 2) {
LAB_0016db2a:
    in = in + 1;
  }
  else {
    uVar3 = uVar4 << 6;
    uVar8 = uVar8 + 1;
    uVar4 = uVar3 | map_base64url[*in];
    if (uVar8 != 4) goto LAB_0016db2a;
    if (*outlen < uVar7 + 3) {
      return 6;
    }
    in = in + 1;
    out[uVar7 + 2] = (uchar)uVar4;
    uVar4 = 0;
    out[uVar7] = (uchar)(uVar3 >> 0x10);
    uVar8 = 0;
    out[uVar7 + 1] = (uchar)(uVar3 >> 8);
    uVar7 = uVar7 + 3;
  }
  for (; pbVar1 != in; in = in + 4) {
LAB_0016dc59:
    uVar3 = uVar7;
    if (1 < (byte)(map_base64url[*in] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | map_base64url[*in];
      if (uVar8 == 4) {
        uVar3 = uVar7 + 3;
        if (*outlen < uVar3) {
          return 6;
        }
        out[uVar7 + 2] = (uchar)uVar4;
        uVar4 = 0;
        out[uVar7] = (uchar)(uVar6 >> 0x10);
        uVar8 = 0;
        out[uVar7 + 1] = (uchar)(uVar6 >> 8);
      }
    }
    uVar7 = uVar3;
    if (1 < (byte)(map_base64url[in[1]] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | map_base64url[in[1]];
      if (uVar8 == 4) {
        uVar7 = uVar3 + 3;
        if (*outlen < uVar7) {
          return 6;
        }
        out[uVar3 + 2] = (uchar)uVar4;
        uVar4 = 0;
        out[uVar3] = (uchar)(uVar6 >> 0x10);
        uVar8 = 0;
        out[uVar3 + 1] = (uchar)(uVar6 >> 8);
      }
    }
    uVar3 = uVar7;
    if (1 < (byte)(map_base64url[in[2]] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | map_base64url[in[2]];
      if (uVar8 == 4) {
        uVar3 = uVar7 + 3;
        if (*outlen < uVar3) {
          return 6;
        }
        out[uVar7 + 2] = (uchar)uVar4;
        uVar4 = 0;
        out[uVar7] = (uchar)(uVar6 >> 0x10);
        uVar8 = 0;
        out[uVar7 + 1] = (uchar)(uVar6 >> 8);
      }
    }
    uVar7 = uVar3;
    if (1 < (byte)(map_base64url[in[3]] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | map_base64url[in[3]];
      if (uVar8 == 4) {
        uVar7 = uVar3 + 3;
        if (*outlen < uVar7) {
          return 6;
        }
        out[uVar3 + 2] = (uchar)uVar4;
        uVar4 = 0;
        out[uVar3] = (uchar)(uVar6 >> 0x10);
        uVar8 = 0;
        out[uVar3 + 1] = (uchar)(uVar6 >> 8);
      }
    }
  }
  inlen = uVar7;
  if (uVar8 != 0) {
    if (uVar8 == 1) {
      return 7;
    }
    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);
    if (*outlen < (uVar8 - 1) + uVar7) {
      return 6;
    }
    inlen = uVar7 + 1;
    out[uVar7] = (uchar)((ulong)lVar5 >> 0x10);
    if (uVar8 == 3) {
      out[inlen] = (uchar)((ulong)lVar5 >> 8);
      inlen = uVar7 + 2;
    }
  }
LAB_0016db8e:
  *outlen = inlen;
  return 0;
}



undefined8 base64url_decode(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)

{
  byte *pbVar1;
  bool bVar2;
  ulong uVar3;
  ulong uVar4;
  long lVar5;
  ulong uVar6;
  ulong uVar7;
  ulong uVar8;
  uint uVar9;
  
  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) goto LAB_0016db8e;
  pbVar1 = param_1 + param_2;
  uVar7 = 0;
  uVar8 = 0;
  uVar4 = 0;
  uVar9 = (int)pbVar1 - (int)param_1 & 3;
  if (uVar9 == 0) goto LAB_0016dc59;
  if (uVar9 != 1) {
    if (uVar9 != 2) {
      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);
      if (bVar2) {
        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];
      }
      uVar8 = (ulong)bVar2;
      param_1 = param_1 + 1;
    }
    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {
      uVar3 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];
      if (uVar8 == 4) {
        uVar7 = 3;
        if (*param_4 < 3) {
          return 6;
        }
        param_3[2] = (char)uVar4;
        uVar4 = 0;
        *param_3 = 0;
        uVar8 = 0;
        param_3[1] = (char)(uVar3 >> 8);
      }
    }
    param_1 = param_1 + 1;
  }
  if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {
LAB_0016db2a:
    param_1 = param_1 + 1;
  }
  else {
    uVar3 = uVar4 << 6;
    uVar8 = uVar8 + 1;
    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];
    if (uVar8 != 4) goto LAB_0016db2a;
    if (*param_4 < uVar7 + 3) {
      return 6;
    }
    param_1 = param_1 + 1;
    param_3[uVar7 + 2] = (char)uVar4;
    uVar4 = 0;
    param_3[uVar7] = (char)(uVar3 >> 0x10);
    uVar8 = 0;
    param_3[uVar7 + 1] = (char)(uVar3 >> 8);
    uVar7 = uVar7 + 3;
  }
  for (; pbVar1 != param_1; param_1 = param_1 + 4) {
LAB_0016dc59:
    uVar3 = uVar7;
    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];
      if (uVar8 == 4) {
        uVar3 = uVar7 + 3;
        if (*param_4 < uVar3) {
          return 6;
        }
        param_3[uVar7 + 2] = (char)uVar4;
        uVar4 = 0;
        param_3[uVar7] = (char)(uVar6 >> 0x10);
        uVar8 = 0;
        param_3[uVar7 + 1] = (char)(uVar6 >> 8);
      }
    }
    uVar7 = uVar3;
    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];
      if (uVar8 == 4) {
        uVar7 = uVar3 + 3;
        if (*param_4 < uVar7) {
          return 6;
        }
        param_3[uVar3 + 2] = (char)uVar4;
        uVar4 = 0;
        param_3[uVar3] = (char)(uVar6 >> 0x10);
        uVar8 = 0;
        param_3[uVar3 + 1] = (char)(uVar6 >> 8);
      }
    }
    uVar3 = uVar7;
    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];
      if (uVar8 == 4) {
        uVar3 = uVar7 + 3;
        if (*param_4 < uVar3) {
          return 6;
        }
        param_3[uVar7 + 2] = (char)uVar4;
        uVar4 = 0;
        param_3[uVar7] = (char)(uVar6 >> 0x10);
        uVar8 = 0;
        param_3[uVar7 + 1] = (char)(uVar6 >> 8);
      }
    }
    uVar7 = uVar3;
    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];
      if (uVar8 == 4) {
        uVar7 = uVar3 + 3;
        if (*param_4 < uVar7) {
          return 6;
        }
        param_3[uVar3 + 2] = (char)uVar4;
        uVar4 = 0;
        param_3[uVar3] = (char)(uVar6 >> 0x10);
        uVar8 = 0;
        param_3[uVar3 + 1] = (char)(uVar6 >> 8);
      }
    }
  }
  param_2 = uVar7;
  if (uVar8 != 0) {
    if (uVar8 == 1) {
      return 7;
    }
    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);
    if (*param_4 < (uVar8 - 1) + uVar7) {
      return 6;
    }
    param_2 = uVar7 + 1;
    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);
    if (uVar8 == 3) {
      param_3[param_2] = (char)((ulong)lVar5 >> 8);
      param_2 = uVar7 + 2;
    }
  }
LAB_0016db8e:
  *param_4 = param_2;
  return 0;
}


PUSH RBX
TEST RDI,RDI
JZ 0x0016de0f
TEST RDX,RDX
JZ 0x0016ddf7
MOV R10,RCX
TEST RCX,RCX
JZ 0x0016dddf
TEST RSI,RSI
JZ 0x0016db8e
LEA RBX,[RDI + RSI*0x1]
MOV RCX,RDI
XOR ESI,ESI
XOR R8D,R8D
MOV R11,RBX
XOR EAX,EAX
LEA R9,[0x1cd2e0]
SUB R11,RDI
AND R11D,0x3
JZ 0x0016dc59
CMP R11,0x1
JZ 0x0016db03
CMP R11,0x2
JZ 0x0016dad8
MOVZX ECX,byte ptr [RDI]
MOVZX ECX,byte ptr [R9 + RCX*0x1]
LEA R11D,[RCX + 0x2]
CMP R11B,0x1
JBE 0x0016dad4
MOVZX EAX,CL
MOV R8D,0x1
LEA RCX,[RDI + 0x1]
MOVZX EDI,byte ptr [RCX]
MOVZX EDI,byte ptr [R9 + RDI*0x1]
LEA R11D,[RDI + 0x2]
CMP R11B,0x1
JBE 0x0016daff
SHL RAX,0x6
ADD R8,0x1
OR RAX,RDI
CMP R8,0x4
JZ 0x0016dd80
ADD RCX,0x1
MOVZX EDI,byte ptr [RCX]
MOVZX EDI,byte ptr [R9 + RDI*0x1]
LEA R11D,[RDI + 0x2]
CMP R11B,0x1
JBE 0x0016db2a
SHL RAX,0x6
ADD R8,0x1
OR RAX,RDI
CMP R8,0x4
JZ 0x0016dd38
ADD RCX,0x1
CMP RBX,RCX
JNZ 0x0016dc59
NOP word ptr [RAX + RAX*0x1]
TEST R8,R8
JZ 0x0016db8e
CMP R8,0x1
JZ 0x0016ddd8
LEA R9D,[R8*0x4]
MOV ECX,R8D
LEA RDI,[R8 + RSI*0x1 + -0x1]
SUB ECX,R9D
LEA ECX,[RCX + RCX*0x1 + 0x18]
SHL RAX,CL
CMP RDI,qword ptr [R10]
JA 0x0016ddb8
MOV R9,RAX
LEA R11,[RSI + 0x1]
SHR R9,0x10
MOV byte ptr [RDX + RSI*0x1],R9B
CMP R8,0x3
JZ 0x0016ddc0
MOV RSI,R11
MOV qword ptr [R10],RSI
XOR EAX,EAX
POP RBX
RET
LEA RDI,[RSI + 0x3]
CMP RDI,qword ptr [R10]
JA 0x0016ddb8
MOV R8,RAX
MOV R11,RAX
MOV byte ptr [RDX + RSI*0x1 + 0x2],AL
XOR EAX,EAX
SHR R8,0x10
SHR R11,0x8
MOV byte ptr [RDX + RSI*0x1],R8B
XOR R8D,R8D
MOV byte ptr [RDX + RSI*0x1 + 0x1],R11B
MOV RSI,RDI
NOP dword ptr [RAX + RAX*0x1]
LEA RDI,[RCX + 0x1]
MOVZX ECX,byte ptr [RCX + 0x1]
MOVZX ECX,byte ptr [R9 + RCX*0x1]
LEA R11D,[RCX + 0x2]
CMP R11B,0x1
JBE 0x0016dbfc
SHL RAX,0x6
ADD R8,0x1
OR RAX,RCX
CMP R8,0x4
JZ 0x0016dc90
MOVZX ECX,byte ptr [RDI + 0x1]
MOVZX ECX,byte ptr [R9 + RCX*0x1]
LEA R11D,[RCX + 0x2]
CMP R11B,0x1
JBE 0x0016dc24
SHL RAX,0x6
ADD R8,0x1
OR RAX,RCX
CMP R8,0x4
JZ 0x0016dcc8
MOVZX ECX,byte ptr [RDI + 0x2]
MOVZX ECX,byte ptr [R9 + RCX*0x1]
LEA R11D,[RCX + 0x2]
CMP R11B,0x1
JBE 0x0016dc4c
SHL RAX,0x6
ADD R8,0x1
OR RAX,RCX
CMP R8,0x4
JZ 0x0016dd00
LEA RCX,[RDI + 0x3]
CMP RBX,RCX
JZ 0x0016db40
MOVZX EDI,byte ptr [RCX]
MOVZX EDI,byte ptr [R9 + RDI*0x1]
LEA R11D,[RDI + 0x2]
CMP R11B,0x1
JBE 0x0016dbd0
SHL RAX,0x6
ADD R8,0x1
OR RAX,RDI
CMP R8,0x4
JNZ 0x0016dbd0
JMP 0x0016db98
LEA RCX,[RSI + 0x3]
CMP RCX,qword ptr [R10]
JA 0x0016ddb8
MOV R8,RAX
MOV R11,RAX
MOV byte ptr [RDX + RSI*0x1 + 0x2],AL
XOR EAX,EAX
SHR R8,0x10
SHR R11,0x8
MOV byte ptr [RDX + RSI*0x1],R8B
XOR R8D,R8D
MOV byte ptr [RDX + RSI*0x1 + 0x1],R11B
MOV RSI,RCX
JMP 0x0016dbfc
LEA RCX,[RSI + 0x3]
CMP RCX,qword ptr [R10]
JA 0x0016ddb8
MOV R8,RAX
MOV R11,RAX
MOV byte ptr [RDX + RSI*0x1 + 0x2],AL
XOR EAX,EAX
SHR R8,0x10
SHR R11,0x8
MOV byte ptr [RDX + RSI*0x1],R8B
XOR R8D,R8D
MOV byte ptr [RDX + RSI*0x1 + 0x1],R11B
MOV RSI,RCX
JMP 0x0016dc24
LEA RCX,[RSI + 0x3]
CMP RCX,qword ptr [R10]
JA 0x0016ddb8
MOV R8,RAX
MOV R11,RAX
MOV byte ptr [RDX + RSI*0x1 + 0x2],AL
XOR EAX,EAX
SHR R8,0x10
SHR R11,0x8
MOV byte ptr [RDX + RSI*0x1],R8B
XOR R8D,R8D
MOV byte ptr [RDX + RSI*0x1 + 0x1],R11B
MOV RSI,RCX
JMP 0x0016dc4c
LEA RDI,[RSI + 0x3]
CMP RDI,qword ptr [R10]
JA 0x0016ddb8
MOV R8,RAX
MOV R11,RAX
ADD RCX,0x1
MOV byte ptr [RDX + RSI*0x1 + 0x2],AL
SHR R8,0x10
SHR R11,0x8
XOR EAX,EAX
MOV byte ptr [RDX + RSI*0x1],R8B
XOR R8D,R8D
MOV byte ptr [RDX + RSI*0x1 + 0x1],R11B
MOV RSI,RDI
CMP RBX,RCX
JNZ 0x0016dc59
JMP 0x0016db40
LEA RDI,[RSI + 0x3]
CMP RDI,qword ptr [R10]
JA 0x0016ddb8
MOV R8,RAX
MOV R11,RAX
MOV byte ptr [RDX + RSI*0x1 + 0x2],AL
XOR EAX,EAX
SHR R8,0x10
SHR R11,0x8
MOV byte ptr [RDX + RSI*0x1],R8B
XOR R8D,R8D
MOV byte ptr [RDX + RSI*0x1 + 0x1],R11B
MOV RSI,RDI
JMP 0x0016daff
MOV EAX,0x6
POP RBX
RET
SHR RAX,0x8
ADD RSI,0x2
MOV byte ptr [RDX + R11*0x1],AL
JMP 0x0016db8e
MOV EAX,0x7
POP RBX
RET
MOV EDX,0x58
LEA RSI,[0x1cd2b8]
LEA RDI,[0x1bd93a]
CALL 0x00114270
MOV EDX,0x57
LEA RSI,[0x1cd2b8]
LEA RDI,[0x1b77e1]
CALL 0x00114270
MOV EDX,0x56
LEA RSI,[0x1cd2b8]
LEA RDI,[0x1b77d0]
CALL 0x00114270
(translation_unit "undefined8 base64url_decode(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)\n\n{\n  byte *pbVar1;\n  bool bVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long lVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  uint uVar9;\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) goto LAB_0016db8e;\n  pbVar1 = param_1 + param_2;\n  uVar7 = 0;\n  uVar8 = 0;\n  uVar4 = 0;\n  uVar9 = (int)pbVar1 - (int)param_1 & 3;\n  if (uVar9 == 0) goto LAB_0016dc59;\n  if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }\n  if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }\n  for (; pbVar1 != param_1; param_1 = param_1 + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }\n  param_2 = uVar7;\n  if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }\nLAB_0016db8e:\n  *param_4 = param_2;\n  return 0;\n}\n\n" (function_definition "undefined8 base64url_decode(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)\n\n{\n  byte *pbVar1;\n  bool bVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long lVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  uint uVar9;\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) goto LAB_0016db8e;\n  pbVar1 = param_1 + param_2;\n  uVar7 = 0;\n  uVar8 = 0;\n  uVar4 = 0;\n  uVar9 = (int)pbVar1 - (int)param_1 & 3;\n  if (uVar9 == 0) goto LAB_0016dc59;\n  if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }\n  if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }\n  for (; pbVar1 != param_1; param_1 = param_1 + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }\n  param_2 = uVar7;\n  if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }\nLAB_0016db8e:\n  *param_4 = param_2;\n  return 0;\n}" type_identifier (function_declarator "base64url_decode(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)" identifier (parameter_list "(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)" ( (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)) ))) (compound_statement "{\n  byte *pbVar1;\n  bool bVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long lVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  uint uVar9;\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) goto LAB_0016db8e;\n  pbVar1 = param_1 + param_2;\n  uVar7 = 0;\n  uVar8 = 0;\n  uVar4 = 0;\n  uVar9 = (int)pbVar1 - (int)param_1 & 3;\n  if (uVar9 == 0) goto LAB_0016dc59;\n  if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }\n  if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }\n  for (; pbVar1 != param_1; param_1 = param_1 + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }\n  param_2 = uVar7;\n  if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }\nLAB_0016db8e:\n  *param_4 = param_2;\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "ulong uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" 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) goto LAB_0016db8e;" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0016db8e;" goto statement_identifier ;)) (expression_statement "pbVar1 = param_1 + param_2;" (assignment_expression "pbVar1 = param_1 + param_2" identifier = (binary_expression "param_1 + param_2" identifier + identifier)) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = (int)pbVar1 - (int)param_1 & 3;" (assignment_expression "uVar9 = (int)pbVar1 - (int)param_1 & 3" identifier = (binary_expression "(int)pbVar1 - (int)param_1 & 3" (binary_expression "(int)pbVar1 - (int)param_1" (cast_expression "(int)pbVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if (uVar9 == 0) goto LAB_0016dc59;" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0016dc59;" goto statement_identifier ;)) (if_statement "if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }" if (parenthesized_expression "(uVar9 != 1)" ( (binary_expression "uVar9 != 1" identifier != number_literal) )) (compound_statement "{\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }" { (if_statement "if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }" if (parenthesized_expression "(uVar9 != 2)" ( (binary_expression "uVar9 != 2" identifier != number_literal) )) (compound_statement "{\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }" { (expression_statement "bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);" (assignment_expression "bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" identifier = (binary_expression "1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" ( (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]) + number_literal) ))))) ;) (if_statement "if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }" { (expression_statement "uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1]" identifier = (subscript_expression "(ulong)(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(ulong)(byte)(&DAT_001cd2e0)" (call_expression "(ulong)(byte)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (pointer_expression "*param_1" * identifier) ])) ;) })) (expression_statement "uVar8 = (ulong)bVar2;" (assignment_expression "uVar8 = (ulong)bVar2" identifier = (cast_expression "(ulong)bVar2" ( (type_descriptor "ulong" type_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)) ;) })) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[*param_1] + 2))" ( (binary_expression "1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" ( (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]) + number_literal) )))) )) (compound_statement "{\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }" { (expression_statement "uVar3 = uVar4 << 6;" (assignment_expression "uVar3 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" identifier = (binary_expression "uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (pointer_expression "*param_1" * identifier) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }" { (expression_statement "uVar7 = 3;" (assignment_expression "uVar7 = 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[2] = (char)uVar4;" (assignment_expression "param_3[2] = (char)uVar4" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[1] = (char)(uVar3 >> 8);" (assignment_expression "param_3[1] = (char)(uVar3 >> 8)" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (cast_expression "(char)(uVar3 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 8)" ( (binary_expression "uVar3 >> 8" 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)) ;) })) (if_statement "if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" if (parenthesized_expression "((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2)" ( (binary_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2) < 2" (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" ( (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]) + number_literal) ))) < number_literal) )) (compound_statement "{\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }" { (labeled_statement "LAB_0016db2a:\n    param_1 = param_1 + 1;" statement_identifier : (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;)) }) (else_clause "else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" else (compound_statement "{\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" { (expression_statement "uVar3 = uVar4 << 6;" (assignment_expression "uVar3 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" identifier = (binary_expression "uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (pointer_expression "*param_1" * identifier) ]))) ;) (if_statement "if (uVar8 != 4) goto LAB_0016db2a;" if (parenthesized_expression "(uVar8 != 4)" ( (binary_expression "uVar8 != 4" identifier != number_literal) )) (goto_statement "goto LAB_0016db2a;" goto statement_identifier ;)) (if_statement "if (*param_4 < uVar7 + 3) {\n      return 6;\n    }" if (parenthesized_expression "(*param_4 < uVar7 + 3)" ( (binary_expression "*param_4 < uVar7 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar7 + 3" identifier + number_literal)) )) (compound_statement "{\n      return 6;\n    }" { (return_statement "return 6;" return 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 "param_3[uVar7 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar7 + 2] = (char)uVar4" (subscript_expression "param_3[uVar7 + 2]" identifier [ (binary_expression "uVar7 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7] = (char)(uVar3 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)(uVar3 >> 0x10)" (subscript_expression "param_3[uVar7]" identifier [ identifier ]) = (cast_expression "(char)(uVar3 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 0x10)" ( (binary_expression "uVar3 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7 + 1] = (char)(uVar3 >> 8);" (assignment_expression "param_3[uVar7 + 1] = (char)(uVar3 >> 8)" (subscript_expression "param_3[uVar7 + 1]" identifier [ (binary_expression "uVar7 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar3 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 8)" ( (binary_expression "uVar3 >> 8" identifier >> number_literal) )))) ;) (expression_statement "uVar7 = uVar7 + 3;" (assignment_expression "uVar7 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) }))) (for_statement "for (; pbVar1 != param_1; param_1 = param_1 + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }" for ( ; (binary_expression "pbVar1 != param_1" identifier != identifier) ; (assignment_expression "param_1 = param_1 + 4" identifier = (binary_expression "param_1 + 4" identifier + number_literal)) ) (compound_statement "{\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }" { (labeled_statement "LAB_0016dc59:\n    uVar3 = uVar7;" statement_identifier : (expression_statement "uVar3 = uVar7;" (assignment_expression "uVar3 = uVar7" identifier = identifier) ;)) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[*param_1] + 2))" ( (binary_expression "1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" ( (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1]" identifier = (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[*param_1]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (pointer_expression "*param_1" * identifier) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" { (expression_statement "uVar3 = uVar7 + 3;" (assignment_expression "uVar3 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) (if_statement "if (*param_4 < uVar3) {\n          return 6;\n        }" if (parenthesized_expression "(*param_4 < uVar3)" ( (binary_expression "*param_4 < uVar3" (pointer_expression "*param_4" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar7 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar7 + 2] = (char)uVar4" (subscript_expression "param_3[uVar7 + 2]" identifier [ (binary_expression "uVar7 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar7]" identifier [ identifier ]) = (cast_expression "(char)(uVar6 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar7 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar7 + 1]" identifier [ (binary_expression "uVar7 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar6 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" identifier = identifier) ;) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2))" ( (binary_expression "1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[param_1[1]] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[param_1[1]] + 2)" ( (binary_expression "(&DAT_001cd2e0)[param_1[1]] + 2" (subscript_expression "(&DAT_001cd2e0)[param_1[1]]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (subscript_expression "param_1[1]" identifier [ number_literal ]) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]]" identifier = (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[param_1[1]]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (subscript_expression "param_1[1]" identifier [ number_literal ]) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" { (expression_statement "uVar7 = uVar3 + 3;" (assignment_expression "uVar7 = uVar3 + 3" identifier = (binary_expression "uVar3 + 3" identifier + number_literal)) ;) (if_statement "if (*param_4 < uVar7) {\n          return 6;\n        }" if (parenthesized_expression "(*param_4 < uVar7)" ( (binary_expression "*param_4 < uVar7" (pointer_expression "*param_4" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar3 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar3 + 2] = (char)uVar4" (subscript_expression "param_3[uVar3 + 2]" identifier [ (binary_expression "uVar3 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar3] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar3] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar3]" identifier [ identifier ]) = (cast_expression "(char)(uVar6 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar3 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar3 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar3 + 1]" identifier [ (binary_expression "uVar3 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar6 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) (expression_statement "uVar3 = uVar7;" (assignment_expression "uVar3 = uVar7" identifier = identifier) ;) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2))" ( (binary_expression "1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[param_1[2]] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[param_1[2]] + 2)" ( (binary_expression "(&DAT_001cd2e0)[param_1[2]] + 2" (subscript_expression "(&DAT_001cd2e0)[param_1[2]]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (subscript_expression "param_1[2]" identifier [ number_literal ]) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]]" identifier = (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[param_1[2]]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (subscript_expression "param_1[2]" identifier [ number_literal ]) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" { (expression_statement "uVar3 = uVar7 + 3;" (assignment_expression "uVar3 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) (if_statement "if (*param_4 < uVar3) {\n          return 6;\n        }" if (parenthesized_expression "(*param_4 < uVar3)" ( (binary_expression "*param_4 < uVar3" (pointer_expression "*param_4" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar7 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar7 + 2] = (char)uVar4" (subscript_expression "param_3[uVar7 + 2]" identifier [ (binary_expression "uVar7 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar7]" identifier [ identifier ]) = (cast_expression "(char)(uVar6 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar7 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar7 + 1]" identifier [ (binary_expression "uVar7 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar6 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" identifier = identifier) ;) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2))" ( (binary_expression "1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[param_1[3]] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[param_1[3]] + 2)" ( (binary_expression "(&DAT_001cd2e0)[param_1[3]] + 2" (subscript_expression "(&DAT_001cd2e0)[param_1[3]]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (subscript_expression "param_1[3]" identifier [ number_literal ]) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]]" identifier = (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[param_1[3]]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (subscript_expression "param_1[3]" identifier [ number_literal ]) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" { (expression_statement "uVar7 = uVar3 + 3;" (assignment_expression "uVar7 = uVar3 + 3" identifier = (binary_expression "uVar3 + 3" identifier + number_literal)) ;) (if_statement "if (*param_4 < uVar7) {\n          return 6;\n        }" if (parenthesized_expression "(*param_4 < uVar7)" ( (binary_expression "*param_4 < uVar7" (pointer_expression "*param_4" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar3 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar3 + 2] = (char)uVar4" (subscript_expression "param_3[uVar3 + 2]" identifier [ (binary_expression "uVar3 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar3] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar3] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar3]" identifier [ identifier ]) = (cast_expression "(char)(uVar6 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar3 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar3 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar3 + 1]" identifier [ (binary_expression "uVar3 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar6 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) })) (expression_statement "param_2 = uVar7;" (assignment_expression "param_2 = uVar7" identifier = identifier) ;) (if_statement "if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }" { (if_statement "if (uVar8 == 1) {\n      return 7;\n    }" if (parenthesized_expression "(uVar8 == 1)" ( (binary_expression "uVar8 == 1" identifier == number_literal) )) (compound_statement "{\n      return 7;\n    }" { (return_statement "return 7;" return number_literal ;) })) (expression_statement "lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);" (assignment_expression "lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f)" identifier = (binary_expression "uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f)" identifier << (parenthesized_expression "((char)uVar8 * -6 + 0x18U & 0x3f)" ( (binary_expression "(char)uVar8 * -6 + 0x18U & 0x3f" (binary_expression "(char)uVar8 * -6 + 0x18U" (binary_expression "(char)uVar8 * -6" (cast_expression "(char)uVar8" ( (type_descriptor "char" primitive_type) ) identifier) * number_literal) + number_literal) & number_literal) )))) ;) (if_statement "if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }" if (parenthesized_expression "(*param_4 < (uVar8 - 1) + uVar7)" ( (binary_expression "*param_4 < (uVar8 - 1) + uVar7" (pointer_expression "*param_4" * identifier) < (binary_expression "(uVar8 - 1) + uVar7" (parenthesized_expression "(uVar8 - 1)" ( (binary_expression "uVar8 - 1" identifier - number_literal) )) + identifier)) )) (compound_statement "{\n      return 6;\n    }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_2 = uVar7 + 1;" (assignment_expression "param_2 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)((ulong)lVar5 >> 0x10)" (subscript_expression "param_3[uVar7]" identifier [ identifier ]) = (cast_expression "(char)((ulong)lVar5 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((ulong)lVar5 >> 0x10)" ( (binary_expression "(ulong)lVar5 >> 0x10" (cast_expression "(ulong)lVar5" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }" if (parenthesized_expression "(uVar8 == 3)" ( (binary_expression "uVar8 == 3" identifier == number_literal) )) (compound_statement "{\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }" { (expression_statement "param_3[param_2] = (char)((ulong)lVar5 >> 8);" (assignment_expression "param_3[param_2] = (char)((ulong)lVar5 >> 8)" (subscript_expression "param_3[param_2]" identifier [ identifier ]) = (cast_expression "(char)((ulong)lVar5 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((ulong)lVar5 >> 8)" ( (binary_expression "(ulong)lVar5 >> 8" (cast_expression "(ulong)lVar5" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "param_2 = uVar7 + 2;" (assignment_expression "param_2 = uVar7 + 2" identifier = (binary_expression "uVar7 + 2" identifier + number_literal)) ;) })) })) (labeled_statement "LAB_0016db8e:\n  *param_4 = param_2;" statement_identifier : (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 "int base64url_decode(uchar *in,ulong inlen,uchar *out,ulong *outlen)\n\n{\n  byte *pbVar1;\n  bool bVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long lVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  uint uVar9;\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) goto LAB_0016db8e;\n  pbVar1 = in + inlen;\n  uVar7 = 0;\n  uVar8 = 0;\n  uVar4 = 0;\n  uVar9 = (int)pbVar1 - (int)in & 3;\n  if (uVar9 == 0) goto LAB_0016dc59;\n  if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)(map_base64url[*in] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)map_base64url[*in];\n      }\n      uVar8 = (ulong)bVar2;\n      in = in + 1;\n    }\n    if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*outlen < 3) {\n          return 6;\n        }\n        out[2] = (uchar)uVar4;\n        uVar4 = 0;\n        *out = '\0';\n        uVar8 = 0;\n        out[1] = (uchar)(uVar3 >> 8);\n      }\n    }\n    in = in + 1;\n  }\n  if ((byte)(map_base64url[*in] + 2) < 2) {\nLAB_0016db2a:\n    in = in + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | map_base64url[*in];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*outlen < uVar7 + 3) {\n      return 6;\n    }\n    in = in + 1;\n    out[uVar7 + 2] = (uchar)uVar4;\n    uVar4 = 0;\n    out[uVar7] = (uchar)(uVar3 >> 0x10);\n    uVar8 = 0;\n    out[uVar7 + 1] = (uchar)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }\n  for (; pbVar1 != in; in = in + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)(map_base64url[in[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)(map_base64url[in[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)(map_base64url[in[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n  }\n  inlen = uVar7;\n  if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*outlen < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    inlen = uVar7 + 1;\n    out[uVar7] = (uchar)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      out[inlen] = (uchar)((ulong)lVar5 >> 8);\n      inlen = uVar7 + 2;\n    }\n  }\nLAB_0016db8e:\n  *outlen = inlen;\n  return 0;\n}\n\n" (function_definition "int base64url_decode(uchar *in,ulong inlen,uchar *out,ulong *outlen)\n\n{\n  byte *pbVar1;\n  bool bVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long lVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  uint uVar9;\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) goto LAB_0016db8e;\n  pbVar1 = in + inlen;\n  uVar7 = 0;\n  uVar8 = 0;\n  uVar4 = 0;\n  uVar9 = (int)pbVar1 - (int)in & 3;\n  if (uVar9 == 0) goto LAB_0016dc59;\n  if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)(map_base64url[*in] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)map_base64url[*in];\n      }\n      uVar8 = (ulong)bVar2;\n      in = in + 1;\n    }\n    if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*outlen < 3) {\n          return 6;\n        }\n        out[2] = (uchar)uVar4;\n        uVar4 = 0;\n        *out = '\0';\n        uVar8 = 0;\n        out[1] = (uchar)(uVar3 >> 8);\n      }\n    }\n    in = in + 1;\n  }\n  if ((byte)(map_base64url[*in] + 2) < 2) {\nLAB_0016db2a:\n    in = in + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | map_base64url[*in];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*outlen < uVar7 + 3) {\n      return 6;\n    }\n    in = in + 1;\n    out[uVar7 + 2] = (uchar)uVar4;\n    uVar4 = 0;\n    out[uVar7] = (uchar)(uVar3 >> 0x10);\n    uVar8 = 0;\n    out[uVar7 + 1] = (uchar)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }\n  for (; pbVar1 != in; in = in + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)(map_base64url[in[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)(map_base64url[in[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)(map_base64url[in[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n  }\n  inlen = uVar7;\n  if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*outlen < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    inlen = uVar7 + 1;\n    out[uVar7] = (uchar)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      out[inlen] = (uchar)((ulong)lVar5 >> 8);\n      inlen = uVar7 + 2;\n    }\n  }\nLAB_0016db8e:\n  *outlen = inlen;\n  return 0;\n}" primitive_type (function_declarator "base64url_decode(uchar *in,ulong inlen,uchar *out,ulong *outlen)" identifier (parameter_list "(uchar *in,ulong inlen,uchar *out,ulong *outlen)" ( (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)) ))) (compound_statement "{\n  byte *pbVar1;\n  bool bVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long lVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  uint uVar9;\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) goto LAB_0016db8e;\n  pbVar1 = in + inlen;\n  uVar7 = 0;\n  uVar8 = 0;\n  uVar4 = 0;\n  uVar9 = (int)pbVar1 - (int)in & 3;\n  if (uVar9 == 0) goto LAB_0016dc59;\n  if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)(map_base64url[*in] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)map_base64url[*in];\n      }\n      uVar8 = (ulong)bVar2;\n      in = in + 1;\n    }\n    if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*outlen < 3) {\n          return 6;\n        }\n        out[2] = (uchar)uVar4;\n        uVar4 = 0;\n        *out = '\0';\n        uVar8 = 0;\n        out[1] = (uchar)(uVar3 >> 8);\n      }\n    }\n    in = in + 1;\n  }\n  if ((byte)(map_base64url[*in] + 2) < 2) {\nLAB_0016db2a:\n    in = in + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | map_base64url[*in];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*outlen < uVar7 + 3) {\n      return 6;\n    }\n    in = in + 1;\n    out[uVar7 + 2] = (uchar)uVar4;\n    uVar4 = 0;\n    out[uVar7] = (uchar)(uVar3 >> 0x10);\n    uVar8 = 0;\n    out[uVar7 + 1] = (uchar)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }\n  for (; pbVar1 != in; in = in + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)(map_base64url[in[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)(map_base64url[in[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)(map_base64url[in[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n  }\n  inlen = uVar7;\n  if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*outlen < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    inlen = uVar7 + 1;\n    out[uVar7] = (uchar)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      out[inlen] = (uchar)((ulong)lVar5 >> 8);\n      inlen = uVar7 + 2;\n    }\n  }\nLAB_0016db8e:\n  *outlen = inlen;\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "ulong uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" 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) goto LAB_0016db8e;" if (parenthesized_expression "(inlen == 0)" ( (binary_expression "inlen == 0" identifier == number_literal) )) (goto_statement "goto LAB_0016db8e;" goto statement_identifier ;)) (expression_statement "pbVar1 = in + inlen;" (assignment_expression "pbVar1 = in + inlen" identifier = (binary_expression "in + inlen" identifier + identifier)) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = (int)pbVar1 - (int)in & 3;" (assignment_expression "uVar9 = (int)pbVar1 - (int)in & 3" identifier = (binary_expression "(int)pbVar1 - (int)in & 3" (binary_expression "(int)pbVar1 - (int)in" (cast_expression "(int)pbVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)in" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if (uVar9 == 0) goto LAB_0016dc59;" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0016dc59;" goto statement_identifier ;)) (if_statement "if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)(map_base64url[*in] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)map_base64url[*in];\n      }\n      uVar8 = (ulong)bVar2;\n      in = in + 1;\n    }\n    if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*outlen < 3) {\n          return 6;\n        }\n        out[2] = (uchar)uVar4;\n        uVar4 = 0;\n        *out = '\0';\n        uVar8 = 0;\n        out[1] = (uchar)(uVar3 >> 8);\n      }\n    }\n    in = in + 1;\n  }" if (parenthesized_expression "(uVar9 != 1)" ( (binary_expression "uVar9 != 1" identifier != number_literal) )) (compound_statement "{\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)(map_base64url[*in] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)map_base64url[*in];\n      }\n      uVar8 = (ulong)bVar2;\n      in = in + 1;\n    }\n    if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*outlen < 3) {\n          return 6;\n        }\n        out[2] = (uchar)uVar4;\n        uVar4 = 0;\n        *out = '\0';\n        uVar8 = 0;\n        out[1] = (uchar)(uVar3 >> 8);\n      }\n    }\n    in = in + 1;\n  }" { (if_statement "if (uVar9 != 2) {\n      bVar2 = 1 < (byte)(map_base64url[*in] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)map_base64url[*in];\n      }\n      uVar8 = (ulong)bVar2;\n      in = in + 1;\n    }" if (parenthesized_expression "(uVar9 != 2)" ( (binary_expression "uVar9 != 2" identifier != number_literal) )) (compound_statement "{\n      bVar2 = 1 < (byte)(map_base64url[*in] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)map_base64url[*in];\n      }\n      uVar8 = (ulong)bVar2;\n      in = in + 1;\n    }" { (expression_statement "bVar2 = 1 < (byte)(map_base64url[*in] + 2);" (assignment_expression "bVar2 = 1 < (byte)(map_base64url[*in] + 2)" identifier = (binary_expression "1 < (byte)(map_base64url[*in] + 2)" number_literal < (call_expression "(byte)(map_base64url[*in] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(map_base64url[*in] + 2)" ( (binary_expression "map_base64url[*in] + 2" (subscript_expression "map_base64url[*in]" identifier [ (pointer_expression "*in" * identifier) ]) + number_literal) ))))) ;) (if_statement "if (bVar2) {\n        uVar4 = (ulong)map_base64url[*in];\n      }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n        uVar4 = (ulong)map_base64url[*in];\n      }" { (expression_statement "uVar4 = (ulong)map_base64url[*in];" (assignment_expression "uVar4 = (ulong)map_base64url[*in]" identifier = (cast_expression "(ulong)map_base64url[*in]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "map_base64url[*in]" identifier [ (pointer_expression "*in" * identifier) ]))) ;) })) (expression_statement "uVar8 = (ulong)bVar2;" (assignment_expression "uVar8 = (ulong)bVar2" identifier = (cast_expression "(ulong)bVar2" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "in = in + 1;" (assignment_expression "in = in + 1" identifier = (binary_expression "in + 1" identifier + number_literal)) ;) })) (if_statement "if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*outlen < 3) {\n          return 6;\n        }\n        out[2] = (uchar)uVar4;\n        uVar4 = 0;\n        *out = '\0';\n        uVar8 = 0;\n        out[1] = (uchar)(uVar3 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)(map_base64url[*in] + 2))" ( (binary_expression "1 < (byte)(map_base64url[*in] + 2)" number_literal < (call_expression "(byte)(map_base64url[*in] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(map_base64url[*in] + 2)" ( (binary_expression "map_base64url[*in] + 2" (subscript_expression "map_base64url[*in]" identifier [ (pointer_expression "*in" * identifier) ]) + number_literal) )))) )) (compound_statement "{\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*outlen < 3) {\n          return 6;\n        }\n        out[2] = (uchar)uVar4;\n        uVar4 = 0;\n        *out = '\0';\n        uVar8 = 0;\n        out[1] = (uchar)(uVar3 >> 8);\n      }\n    }" { (expression_statement "uVar3 = uVar4 << 6;" (assignment_expression "uVar3 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar3 | map_base64url[*in];" (assignment_expression "uVar4 = uVar3 | map_base64url[*in]" identifier = (binary_expression "uVar3 | map_base64url[*in]" identifier | (subscript_expression "map_base64url[*in]" identifier [ (pointer_expression "*in" * identifier) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*outlen < 3) {\n          return 6;\n        }\n        out[2] = (uchar)uVar4;\n        uVar4 = 0;\n        *out = '\0';\n        uVar8 = 0;\n        out[1] = (uchar)(uVar3 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar7 = 3;\n        if (*outlen < 3) {\n          return 6;\n        }\n        out[2] = (uchar)uVar4;\n        uVar4 = 0;\n        *out = '\0';\n        uVar8 = 0;\n        out[1] = (uchar)(uVar3 >> 8);\n      }" { (expression_statement "uVar7 = 3;" (assignment_expression "uVar7 = 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[2] = (uchar)uVar4;" (assignment_expression "out[2] = (uchar)uVar4" (subscript_expression "out[2]" identifier [ number_literal ]) = (cast_expression "(uchar)uVar4" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "*out = '\0';" (assignment_expression "*out = '\0'" (pointer_expression "*out" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "out[1] = (uchar)(uVar3 >> 8);" (assignment_expression "out[1] = (uchar)(uVar3 >> 8)" (subscript_expression "out[1]" identifier [ number_literal ]) = (call_expression "(uchar)(uVar3 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar3 >> 8)" ( (binary_expression "uVar3 >> 8" identifier >> number_literal) )))) ;) })) })) (expression_statement "in = in + 1;" (assignment_expression "in = in + 1" identifier = (binary_expression "in + 1" identifier + number_literal)) ;) })) (if_statement "if ((byte)(map_base64url[*in] + 2) < 2) {\nLAB_0016db2a:\n    in = in + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | map_base64url[*in];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*outlen < uVar7 + 3) {\n      return 6;\n    }\n    in = in + 1;\n    out[uVar7 + 2] = (uchar)uVar4;\n    uVar4 = 0;\n    out[uVar7] = (uchar)(uVar3 >> 0x10);\n    uVar8 = 0;\n    out[uVar7 + 1] = (uchar)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" if (parenthesized_expression "((byte)(map_base64url[*in] + 2) < 2)" ( (binary_expression "(byte)(map_base64url[*in] + 2) < 2" (call_expression "(byte)(map_base64url[*in] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(map_base64url[*in] + 2)" ( (binary_expression "map_base64url[*in] + 2" (subscript_expression "map_base64url[*in]" identifier [ (pointer_expression "*in" * identifier) ]) + number_literal) ))) < number_literal) )) (compound_statement "{\nLAB_0016db2a:\n    in = in + 1;\n  }" { (labeled_statement "LAB_0016db2a:\n    in = in + 1;" statement_identifier : (expression_statement "in = in + 1;" (assignment_expression "in = in + 1" identifier = (binary_expression "in + 1" identifier + number_literal)) ;)) }) (else_clause "else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | map_base64url[*in];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*outlen < uVar7 + 3) {\n      return 6;\n    }\n    in = in + 1;\n    out[uVar7 + 2] = (uchar)uVar4;\n    uVar4 = 0;\n    out[uVar7] = (uchar)(uVar3 >> 0x10);\n    uVar8 = 0;\n    out[uVar7 + 1] = (uchar)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" else (compound_statement "{\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | map_base64url[*in];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*outlen < uVar7 + 3) {\n      return 6;\n    }\n    in = in + 1;\n    out[uVar7 + 2] = (uchar)uVar4;\n    uVar4 = 0;\n    out[uVar7] = (uchar)(uVar3 >> 0x10);\n    uVar8 = 0;\n    out[uVar7 + 1] = (uchar)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" { (expression_statement "uVar3 = uVar4 << 6;" (assignment_expression "uVar3 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar3 | map_base64url[*in];" (assignment_expression "uVar4 = uVar3 | map_base64url[*in]" identifier = (binary_expression "uVar3 | map_base64url[*in]" identifier | (subscript_expression "map_base64url[*in]" identifier [ (pointer_expression "*in" * identifier) ]))) ;) (if_statement "if (uVar8 != 4) goto LAB_0016db2a;" if (parenthesized_expression "(uVar8 != 4)" ( (binary_expression "uVar8 != 4" identifier != number_literal) )) (goto_statement "goto LAB_0016db2a;" goto statement_identifier ;)) (if_statement "if (*outlen < uVar7 + 3) {\n      return 6;\n    }" if (parenthesized_expression "(*outlen < uVar7 + 3)" ( (binary_expression "*outlen < uVar7 + 3" (pointer_expression "*outlen" * identifier) < (binary_expression "uVar7 + 3" identifier + number_literal)) )) (compound_statement "{\n      return 6;\n    }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "in = in + 1;" (assignment_expression "in = in + 1" identifier = (binary_expression "in + 1" identifier + number_literal)) ;) (expression_statement "out[uVar7 + 2] = (uchar)uVar4;" (assignment_expression "out[uVar7 + 2] = (uchar)uVar4" (subscript_expression "out[uVar7 + 2]" identifier [ (binary_expression "uVar7 + 2" identifier + number_literal) ]) = (cast_expression "(uchar)uVar4" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "out[uVar7] = (uchar)(uVar3 >> 0x10);" (assignment_expression "out[uVar7] = (uchar)(uVar3 >> 0x10)" (subscript_expression "out[uVar7]" identifier [ identifier ]) = (call_expression "(uchar)(uVar3 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar3 >> 0x10)" ( (binary_expression "uVar3 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "out[uVar7 + 1] = (uchar)(uVar3 >> 8);" (assignment_expression "out[uVar7 + 1] = (uchar)(uVar3 >> 8)" (subscript_expression "out[uVar7 + 1]" identifier [ (binary_expression "uVar7 + 1" identifier + number_literal) ]) = (call_expression "(uchar)(uVar3 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar3 >> 8)" ( (binary_expression "uVar3 >> 8" identifier >> number_literal) )))) ;) (expression_statement "uVar7 = uVar7 + 3;" (assignment_expression "uVar7 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) }))) (for_statement "for (; pbVar1 != in; in = in + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)(map_base64url[in[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)(map_base64url[in[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)(map_base64url[in[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n  }" for ( ; (binary_expression "pbVar1 != in" identifier != identifier) ; (assignment_expression "in = in + 4" identifier = (binary_expression "in + 4" identifier + number_literal)) ) (compound_statement "{\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)(map_base64url[in[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)(map_base64url[in[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)(map_base64url[in[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }\n  }" { (labeled_statement "LAB_0016dc59:\n    uVar3 = uVar7;" statement_identifier : (expression_statement "uVar3 = uVar7;" (assignment_expression "uVar3 = uVar7" identifier = identifier) ;)) (if_statement "if (1 < (byte)(map_base64url[*in] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)(map_base64url[*in] + 2))" ( (binary_expression "1 < (byte)(map_base64url[*in] + 2)" number_literal < (call_expression "(byte)(map_base64url[*in] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(map_base64url[*in] + 2)" ( (binary_expression "map_base64url[*in] + 2" (subscript_expression "map_base64url[*in]" identifier [ (pointer_expression "*in" * identifier) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[*in];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | map_base64url[*in];" (assignment_expression "uVar4 = uVar6 | map_base64url[*in]" identifier = (binary_expression "uVar6 | map_base64url[*in]" identifier | (subscript_expression "map_base64url[*in]" identifier [ (pointer_expression "*in" * identifier) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }" { (expression_statement "uVar3 = uVar7 + 3;" (assignment_expression "uVar3 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) (if_statement "if (*outlen < uVar3) {\n          return 6;\n        }" if (parenthesized_expression "(*outlen < uVar3)" ( (binary_expression "*outlen < uVar3" (pointer_expression "*outlen" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "out[uVar7 + 2] = (uchar)uVar4;" (assignment_expression "out[uVar7 + 2] = (uchar)uVar4" (subscript_expression "out[uVar7 + 2]" identifier [ (binary_expression "uVar7 + 2" identifier + number_literal) ]) = (cast_expression "(uchar)uVar4" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "out[uVar7] = (uchar)(uVar6 >> 0x10);" (assignment_expression "out[uVar7] = (uchar)(uVar6 >> 0x10)" (subscript_expression "out[uVar7]" identifier [ identifier ]) = (call_expression "(uchar)(uVar6 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "out[uVar7 + 1] = (uchar)(uVar6 >> 8);" (assignment_expression "out[uVar7 + 1] = (uchar)(uVar6 >> 8)" (subscript_expression "out[uVar7 + 1]" identifier [ (binary_expression "uVar7 + 1" identifier + number_literal) ]) = (call_expression "(uchar)(uVar6 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" identifier = identifier) ;) (if_statement "if (1 < (byte)(map_base64url[in[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)(map_base64url[in[1]] + 2))" ( (binary_expression "1 < (byte)(map_base64url[in[1]] + 2)" number_literal < (call_expression "(byte)(map_base64url[in[1]] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(map_base64url[in[1]] + 2)" ( (binary_expression "map_base64url[in[1]] + 2" (subscript_expression "map_base64url[in[1]]" identifier [ (subscript_expression "in[1]" identifier [ number_literal ]) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | map_base64url[in[1]];" (assignment_expression "uVar4 = uVar6 | map_base64url[in[1]]" identifier = (binary_expression "uVar6 | map_base64url[in[1]]" identifier | (subscript_expression "map_base64url[in[1]]" identifier [ (subscript_expression "in[1]" identifier [ number_literal ]) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }" { (expression_statement "uVar7 = uVar3 + 3;" (assignment_expression "uVar7 = uVar3 + 3" identifier = (binary_expression "uVar3 + 3" identifier + number_literal)) ;) (if_statement "if (*outlen < uVar7) {\n          return 6;\n        }" if (parenthesized_expression "(*outlen < uVar7)" ( (binary_expression "*outlen < uVar7" (pointer_expression "*outlen" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "out[uVar3 + 2] = (uchar)uVar4;" (assignment_expression "out[uVar3 + 2] = (uchar)uVar4" (subscript_expression "out[uVar3 + 2]" identifier [ (binary_expression "uVar3 + 2" identifier + number_literal) ]) = (cast_expression "(uchar)uVar4" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "out[uVar3] = (uchar)(uVar6 >> 0x10);" (assignment_expression "out[uVar3] = (uchar)(uVar6 >> 0x10)" (subscript_expression "out[uVar3]" identifier [ identifier ]) = (call_expression "(uchar)(uVar6 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "out[uVar3 + 1] = (uchar)(uVar6 >> 8);" (assignment_expression "out[uVar3 + 1] = (uchar)(uVar6 >> 8)" (subscript_expression "out[uVar3 + 1]" identifier [ (binary_expression "uVar3 + 1" identifier + number_literal) ]) = (call_expression "(uchar)(uVar6 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) (expression_statement "uVar3 = uVar7;" (assignment_expression "uVar3 = uVar7" identifier = identifier) ;) (if_statement "if (1 < (byte)(map_base64url[in[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)(map_base64url[in[2]] + 2))" ( (binary_expression "1 < (byte)(map_base64url[in[2]] + 2)" number_literal < (call_expression "(byte)(map_base64url[in[2]] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(map_base64url[in[2]] + 2)" ( (binary_expression "map_base64url[in[2]] + 2" (subscript_expression "map_base64url[in[2]]" identifier [ (subscript_expression "in[2]" identifier [ number_literal ]) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | map_base64url[in[2]];" (assignment_expression "uVar4 = uVar6 | map_base64url[in[2]]" identifier = (binary_expression "uVar6 | map_base64url[in[2]]" identifier | (subscript_expression "map_base64url[in[2]]" identifier [ (subscript_expression "in[2]" identifier [ number_literal ]) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar3 = uVar7 + 3;\n        if (*outlen < uVar3) {\n          return 6;\n        }\n        out[uVar7 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar7] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar7 + 1] = (uchar)(uVar6 >> 8);\n      }" { (expression_statement "uVar3 = uVar7 + 3;" (assignment_expression "uVar3 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) (if_statement "if (*outlen < uVar3) {\n          return 6;\n        }" if (parenthesized_expression "(*outlen < uVar3)" ( (binary_expression "*outlen < uVar3" (pointer_expression "*outlen" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "out[uVar7 + 2] = (uchar)uVar4;" (assignment_expression "out[uVar7 + 2] = (uchar)uVar4" (subscript_expression "out[uVar7 + 2]" identifier [ (binary_expression "uVar7 + 2" identifier + number_literal) ]) = (cast_expression "(uchar)uVar4" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "out[uVar7] = (uchar)(uVar6 >> 0x10);" (assignment_expression "out[uVar7] = (uchar)(uVar6 >> 0x10)" (subscript_expression "out[uVar7]" identifier [ identifier ]) = (call_expression "(uchar)(uVar6 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "out[uVar7 + 1] = (uchar)(uVar6 >> 8);" (assignment_expression "out[uVar7 + 1] = (uchar)(uVar6 >> 8)" (subscript_expression "out[uVar7 + 1]" identifier [ (binary_expression "uVar7 + 1" identifier + number_literal) ]) = (call_expression "(uchar)(uVar6 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" identifier = identifier) ;) (if_statement "if (1 < (byte)(map_base64url[in[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)(map_base64url[in[3]] + 2))" ( (binary_expression "1 < (byte)(map_base64url[in[3]] + 2)" number_literal < (call_expression "(byte)(map_base64url[in[3]] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(map_base64url[in[3]] + 2)" ( (binary_expression "map_base64url[in[3]] + 2" (subscript_expression "map_base64url[in[3]]" identifier [ (subscript_expression "in[3]" identifier [ number_literal ]) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | map_base64url[in[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | map_base64url[in[3]];" (assignment_expression "uVar4 = uVar6 | map_base64url[in[3]]" identifier = (binary_expression "uVar6 | map_base64url[in[3]]" identifier | (subscript_expression "map_base64url[in[3]]" identifier [ (subscript_expression "in[3]" identifier [ number_literal ]) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar7 = uVar3 + 3;\n        if (*outlen < uVar7) {\n          return 6;\n        }\n        out[uVar3 + 2] = (uchar)uVar4;\n        uVar4 = 0;\n        out[uVar3] = (uchar)(uVar6 >> 0x10);\n        uVar8 = 0;\n        out[uVar3 + 1] = (uchar)(uVar6 >> 8);\n      }" { (expression_statement "uVar7 = uVar3 + 3;" (assignment_expression "uVar7 = uVar3 + 3" identifier = (binary_expression "uVar3 + 3" identifier + number_literal)) ;) (if_statement "if (*outlen < uVar7) {\n          return 6;\n        }" if (parenthesized_expression "(*outlen < uVar7)" ( (binary_expression "*outlen < uVar7" (pointer_expression "*outlen" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "out[uVar3 + 2] = (uchar)uVar4;" (assignment_expression "out[uVar3 + 2] = (uchar)uVar4" (subscript_expression "out[uVar3 + 2]" identifier [ (binary_expression "uVar3 + 2" identifier + number_literal) ]) = (cast_expression "(uchar)uVar4" ( (type_descriptor "uchar" type_identifier) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "out[uVar3] = (uchar)(uVar6 >> 0x10);" (assignment_expression "out[uVar3] = (uchar)(uVar6 >> 0x10)" (subscript_expression "out[uVar3]" identifier [ identifier ]) = (call_expression "(uchar)(uVar6 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "out[uVar3 + 1] = (uchar)(uVar6 >> 8);" (assignment_expression "out[uVar3 + 1] = (uchar)(uVar6 >> 8)" (subscript_expression "out[uVar3 + 1]" identifier [ (binary_expression "uVar3 + 1" identifier + number_literal) ]) = (call_expression "(uchar)(uVar6 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) })) (expression_statement "inlen = uVar7;" (assignment_expression "inlen = uVar7" identifier = identifier) ;) (if_statement "if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*outlen < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    inlen = uVar7 + 1;\n    out[uVar7] = (uchar)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      out[inlen] = (uchar)((ulong)lVar5 >> 8);\n      inlen = uVar7 + 2;\n    }\n  }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*outlen < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    inlen = uVar7 + 1;\n    out[uVar7] = (uchar)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      out[inlen] = (uchar)((ulong)lVar5 >> 8);\n      inlen = uVar7 + 2;\n    }\n  }" { (if_statement "if (uVar8 == 1) {\n      return 7;\n    }" if (parenthesized_expression "(uVar8 == 1)" ( (binary_expression "uVar8 == 1" identifier == number_literal) )) (compound_statement "{\n      return 7;\n    }" { (return_statement "return 7;" return number_literal ;) })) (expression_statement "lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);" (assignment_expression "lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f)" identifier = (binary_expression "uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f)" identifier << (parenthesized_expression "((char)uVar8 * -6 + 0x18U & 0x3f)" ( (binary_expression "(char)uVar8 * -6 + 0x18U & 0x3f" (binary_expression "(char)uVar8 * -6 + 0x18U" (binary_expression "(char)uVar8 * -6" (cast_expression "(char)uVar8" ( (type_descriptor "char" primitive_type) ) identifier) * number_literal) + number_literal) & number_literal) )))) ;) (if_statement "if (*outlen < (uVar8 - 1) + uVar7) {\n      return 6;\n    }" if (parenthesized_expression "(*outlen < (uVar8 - 1) + uVar7)" ( (binary_expression "*outlen < (uVar8 - 1) + uVar7" (pointer_expression "*outlen" * identifier) < (binary_expression "(uVar8 - 1) + uVar7" (parenthesized_expression "(uVar8 - 1)" ( (binary_expression "uVar8 - 1" identifier - number_literal) )) + identifier)) )) (compound_statement "{\n      return 6;\n    }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "inlen = uVar7 + 1;" (assignment_expression "inlen = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "out[uVar7] = (uchar)((ulong)lVar5 >> 0x10);" (assignment_expression "out[uVar7] = (uchar)((ulong)lVar5 >> 0x10)" (subscript_expression "out[uVar7]" identifier [ identifier ]) = (call_expression "(uchar)((ulong)lVar5 >> 0x10)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((ulong)lVar5 >> 0x10)" ( (binary_expression "(ulong)lVar5 >> 0x10" (cast_expression "(ulong)lVar5" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar8 == 3) {\n      out[inlen] = (uchar)((ulong)lVar5 >> 8);\n      inlen = uVar7 + 2;\n    }" if (parenthesized_expression "(uVar8 == 3)" ( (binary_expression "uVar8 == 3" identifier == number_literal) )) (compound_statement "{\n      out[inlen] = (uchar)((ulong)lVar5 >> 8);\n      inlen = uVar7 + 2;\n    }" { (expression_statement "out[inlen] = (uchar)((ulong)lVar5 >> 8);" (assignment_expression "out[inlen] = (uchar)((ulong)lVar5 >> 8)" (subscript_expression "out[inlen]" identifier [ identifier ]) = (call_expression "(uchar)((ulong)lVar5 >> 8)" (parenthesized_expression "(uchar)" ( identifier )) (argument_list "((ulong)lVar5 >> 8)" ( (binary_expression "(ulong)lVar5 >> 8" (cast_expression "(ulong)lVar5" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "inlen = uVar7 + 2;" (assignment_expression "inlen = uVar7 + 2" identifier = (binary_expression "uVar7 + 2" identifier + number_literal)) ;) })) })) (labeled_statement "LAB_0016db8e:\n  *outlen = inlen;" statement_identifier : (expression_statement "*outlen = inlen;" (assignment_expression "*outlen = inlen" (pointer_expression "*outlen" * identifier) = identifier) ;)) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 base64url_decode(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)\n\n{\n  byte *pbVar1;\n  bool bVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long lVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  uint uVar9;\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) goto LAB_0016db8e;\n  pbVar1 = param_1 + param_2;\n  uVar7 = 0;\n  uVar8 = 0;\n  uVar4 = 0;\n  uVar9 = (int)pbVar1 - (int)param_1 & 3;\n  if (uVar9 == 0) goto LAB_0016dc59;\n  if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }\n  if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }\n  for (; pbVar1 != param_1; param_1 = param_1 + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }\n  param_2 = uVar7;\n  if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }\nLAB_0016db8e:\n  *param_4 = param_2;\n  return 0;\n}\n\n" (function_definition "undefined8 base64url_decode(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)\n\n{\n  byte *pbVar1;\n  bool bVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long lVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  uint uVar9;\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) goto LAB_0016db8e;\n  pbVar1 = param_1 + param_2;\n  uVar7 = 0;\n  uVar8 = 0;\n  uVar4 = 0;\n  uVar9 = (int)pbVar1 - (int)param_1 & 3;\n  if (uVar9 == 0) goto LAB_0016dc59;\n  if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }\n  if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }\n  for (; pbVar1 != param_1; param_1 = param_1 + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }\n  param_2 = uVar7;\n  if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }\nLAB_0016db8e:\n  *param_4 = param_2;\n  return 0;\n}" type_identifier (function_declarator "base64url_decode(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)" identifier (parameter_list "(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)" ( (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)) ))) (compound_statement "{\n  byte *pbVar1;\n  bool bVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long lVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  uint uVar9;\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) goto LAB_0016db8e;\n  pbVar1 = param_1 + param_2;\n  uVar7 = 0;\n  uVar8 = 0;\n  uVar4 = 0;\n  uVar9 = (int)pbVar1 - (int)param_1 & 3;\n  if (uVar9 == 0) goto LAB_0016dc59;\n  if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }\n  if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }\n  for (; pbVar1 != param_1; param_1 = param_1 + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }\n  param_2 = uVar7;\n  if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }\nLAB_0016db8e:\n  *param_4 = param_2;\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "ulong uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" 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) goto LAB_0016db8e;" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0016db8e;" goto statement_identifier ;)) (expression_statement "pbVar1 = param_1 + param_2;" (assignment_expression "pbVar1 = param_1 + param_2" identifier = (binary_expression "param_1 + param_2" identifier + identifier)) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = (int)pbVar1 - (int)param_1 & 3;" (assignment_expression "uVar9 = (int)pbVar1 - (int)param_1 & 3" identifier = (binary_expression "(int)pbVar1 - (int)param_1 & 3" (binary_expression "(int)pbVar1 - (int)param_1" (cast_expression "(int)pbVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (if_statement "if (uVar9 == 0) goto LAB_0016dc59;" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0016dc59;" goto statement_identifier ;)) (if_statement "if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }" if (parenthesized_expression "(uVar9 != 1)" ( (binary_expression "uVar9 != 1" identifier != number_literal) )) (compound_statement "{\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }" { (if_statement "if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }" if (parenthesized_expression "(uVar9 != 2)" ( (binary_expression "uVar9 != 2" identifier != number_literal) )) (compound_statement "{\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }" { (expression_statement "bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);" (assignment_expression "bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" identifier = (binary_expression "1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" ( (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]) + number_literal) ))))) ;) (if_statement "if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }" { (expression_statement "uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1]" identifier = (subscript_expression "(ulong)(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(ulong)(byte)(&DAT_001cd2e0)" (call_expression "(ulong)(byte)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (pointer_expression "*param_1" * identifier) ])) ;) })) (expression_statement "uVar8 = (ulong)bVar2;" (assignment_expression "uVar8 = (ulong)bVar2" identifier = (cast_expression "(ulong)bVar2" ( (type_descriptor "ulong" type_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)) ;) })) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[*param_1] + 2))" ( (binary_expression "1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" ( (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]) + number_literal) )))) )) (compound_statement "{\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }" { (expression_statement "uVar3 = uVar4 << 6;" (assignment_expression "uVar3 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" identifier = (binary_expression "uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (pointer_expression "*param_1" * identifier) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }" { (expression_statement "uVar7 = 3;" (assignment_expression "uVar7 = 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[2] = (char)uVar4;" (assignment_expression "param_3[2] = (char)uVar4" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[1] = (char)(uVar3 >> 8);" (assignment_expression "param_3[1] = (char)(uVar3 >> 8)" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (cast_expression "(char)(uVar3 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 8)" ( (binary_expression "uVar3 >> 8" 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)) ;) })) (if_statement "if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" if (parenthesized_expression "((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2)" ( (binary_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2) < 2" (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" ( (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]) + number_literal) ))) < number_literal) )) (compound_statement "{\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }" { (labeled_statement "LAB_0016db2a:\n    param_1 = param_1 + 1;" statement_identifier : (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;)) }) (else_clause "else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" else (compound_statement "{\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" { (expression_statement "uVar3 = uVar4 << 6;" (assignment_expression "uVar3 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" identifier = (binary_expression "uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (pointer_expression "*param_1" * identifier) ]))) ;) (if_statement "if (uVar8 != 4) goto LAB_0016db2a;" if (parenthesized_expression "(uVar8 != 4)" ( (binary_expression "uVar8 != 4" identifier != number_literal) )) (goto_statement "goto LAB_0016db2a;" goto statement_identifier ;)) (if_statement "if (*param_4 < uVar7 + 3) {\n      return 6;\n    }" if (parenthesized_expression "(*param_4 < uVar7 + 3)" ( (binary_expression "*param_4 < uVar7 + 3" (pointer_expression "*param_4" * identifier) < (binary_expression "uVar7 + 3" identifier + number_literal)) )) (compound_statement "{\n      return 6;\n    }" { (return_statement "return 6;" return 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 "param_3[uVar7 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar7 + 2] = (char)uVar4" (subscript_expression "param_3[uVar7 + 2]" identifier [ (binary_expression "uVar7 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7] = (char)(uVar3 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)(uVar3 >> 0x10)" (subscript_expression "param_3[uVar7]" identifier [ identifier ]) = (cast_expression "(char)(uVar3 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 0x10)" ( (binary_expression "uVar3 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7 + 1] = (char)(uVar3 >> 8);" (assignment_expression "param_3[uVar7 + 1] = (char)(uVar3 >> 8)" (subscript_expression "param_3[uVar7 + 1]" identifier [ (binary_expression "uVar7 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar3 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar3 >> 8)" ( (binary_expression "uVar3 >> 8" identifier >> number_literal) )))) ;) (expression_statement "uVar7 = uVar7 + 3;" (assignment_expression "uVar7 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) }))) (for_statement "for (; pbVar1 != param_1; param_1 = param_1 + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }" for ( ; (binary_expression "pbVar1 != param_1" identifier != identifier) ; (assignment_expression "param_1 = param_1 + 4" identifier = (binary_expression "param_1 + 4" identifier + number_literal)) ) (compound_statement "{\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }" { (labeled_statement "LAB_0016dc59:\n    uVar3 = uVar7;" statement_identifier : (expression_statement "uVar3 = uVar7;" (assignment_expression "uVar3 = uVar7" identifier = identifier) ;)) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[*param_1] + 2))" ( (binary_expression "1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" ( (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1]" identifier = (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[*param_1]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (pointer_expression "*param_1" * identifier) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" { (expression_statement "uVar3 = uVar7 + 3;" (assignment_expression "uVar3 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) (if_statement "if (*param_4 < uVar3) {\n          return 6;\n        }" if (parenthesized_expression "(*param_4 < uVar3)" ( (binary_expression "*param_4 < uVar3" (pointer_expression "*param_4" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar7 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar7 + 2] = (char)uVar4" (subscript_expression "param_3[uVar7 + 2]" identifier [ (binary_expression "uVar7 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar7]" identifier [ identifier ]) = (cast_expression "(char)(uVar6 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar7 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar7 + 1]" identifier [ (binary_expression "uVar7 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar6 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" identifier = identifier) ;) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2))" ( (binary_expression "1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[param_1[1]] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[param_1[1]] + 2)" ( (binary_expression "(&DAT_001cd2e0)[param_1[1]] + 2" (subscript_expression "(&DAT_001cd2e0)[param_1[1]]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (subscript_expression "param_1[1]" identifier [ number_literal ]) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]]" identifier = (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[param_1[1]]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (subscript_expression "param_1[1]" identifier [ number_literal ]) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" { (expression_statement "uVar7 = uVar3 + 3;" (assignment_expression "uVar7 = uVar3 + 3" identifier = (binary_expression "uVar3 + 3" identifier + number_literal)) ;) (if_statement "if (*param_4 < uVar7) {\n          return 6;\n        }" if (parenthesized_expression "(*param_4 < uVar7)" ( (binary_expression "*param_4 < uVar7" (pointer_expression "*param_4" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar3 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar3 + 2] = (char)uVar4" (subscript_expression "param_3[uVar3 + 2]" identifier [ (binary_expression "uVar3 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar3] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar3] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar3]" identifier [ identifier ]) = (cast_expression "(char)(uVar6 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar3 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar3 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar3 + 1]" identifier [ (binary_expression "uVar3 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar6 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) (expression_statement "uVar3 = uVar7;" (assignment_expression "uVar3 = uVar7" identifier = identifier) ;) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2))" ( (binary_expression "1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[param_1[2]] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[param_1[2]] + 2)" ( (binary_expression "(&DAT_001cd2e0)[param_1[2]] + 2" (subscript_expression "(&DAT_001cd2e0)[param_1[2]]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (subscript_expression "param_1[2]" identifier [ number_literal ]) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]]" identifier = (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[param_1[2]]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (subscript_expression "param_1[2]" identifier [ number_literal ]) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" { (expression_statement "uVar3 = uVar7 + 3;" (assignment_expression "uVar3 = uVar7 + 3" identifier = (binary_expression "uVar7 + 3" identifier + number_literal)) ;) (if_statement "if (*param_4 < uVar3) {\n          return 6;\n        }" if (parenthesized_expression "(*param_4 < uVar3)" ( (binary_expression "*param_4 < uVar3" (pointer_expression "*param_4" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar7 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar7 + 2] = (char)uVar4" (subscript_expression "param_3[uVar7 + 2]" identifier [ (binary_expression "uVar7 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar7]" identifier [ identifier ]) = (cast_expression "(char)(uVar6 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar7 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar7 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar7 + 1]" identifier [ (binary_expression "uVar7 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar6 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" identifier = identifier) ;) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" if (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2))" ( (binary_expression "1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)" number_literal < (call_expression "(byte)((&DAT_001cd2e0)[param_1[3]] + 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((&DAT_001cd2e0)[param_1[3]] + 2)" ( (binary_expression "(&DAT_001cd2e0)[param_1[3]] + 2" (subscript_expression "(&DAT_001cd2e0)[param_1[3]]" (parenthesized_expression "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) )) [ (subscript_expression "param_1[3]" identifier [ number_literal ]) ]) + number_literal) )))) )) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" { (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" identifier = (binary_expression "uVar4 << 6" identifier << number_literal)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]]" identifier = (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]]" identifier | (subscript_expression "(byte)(&DAT_001cd2e0)[param_1[3]]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(&DAT_001cd2e0)" ( (pointer_expression "&DAT_001cd2e0" & identifier) ))) [ (subscript_expression "param_1[3]" identifier [ number_literal ]) ]))) ;) (if_statement "if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" if (parenthesized_expression "(uVar8 == 4)" ( (binary_expression "uVar8 == 4" identifier == number_literal) )) (compound_statement "{\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" { (expression_statement "uVar7 = uVar3 + 3;" (assignment_expression "uVar7 = uVar3 + 3" identifier = (binary_expression "uVar3 + 3" identifier + number_literal)) ;) (if_statement "if (*param_4 < uVar7) {\n          return 6;\n        }" if (parenthesized_expression "(*param_4 < uVar7)" ( (binary_expression "*param_4 < uVar7" (pointer_expression "*param_4" * identifier) < identifier) )) (compound_statement "{\n          return 6;\n        }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_3[uVar3 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar3 + 2] = (char)uVar4" (subscript_expression "param_3[uVar3 + 2]" identifier [ (binary_expression "uVar3 + 2" identifier + number_literal) ]) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar3] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar3] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar3]" identifier [ identifier ]) = (cast_expression "(char)(uVar6 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 0x10)" ( (binary_expression "uVar6 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "param_3[uVar3 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar3 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar3 + 1]" identifier [ (binary_expression "uVar3 + 1" identifier + number_literal) ]) = (cast_expression "(char)(uVar6 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 >> 8)" ( (binary_expression "uVar6 >> 8" identifier >> number_literal) )))) ;) })) })) })) (expression_statement "param_2 = uVar7;" (assignment_expression "param_2 = uVar7" identifier = identifier) ;) (if_statement "if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }" { (if_statement "if (uVar8 == 1) {\n      return 7;\n    }" if (parenthesized_expression "(uVar8 == 1)" ( (binary_expression "uVar8 == 1" identifier == number_literal) )) (compound_statement "{\n      return 7;\n    }" { (return_statement "return 7;" return number_literal ;) })) (expression_statement "lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);" (assignment_expression "lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f)" identifier = (binary_expression "uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f)" identifier << (parenthesized_expression "((char)uVar8 * -6 + 0x18U & 0x3f)" ( (binary_expression "(char)uVar8 * -6 + 0x18U & 0x3f" (binary_expression "(char)uVar8 * -6 + 0x18U" (binary_expression "(char)uVar8 * -6" (cast_expression "(char)uVar8" ( (type_descriptor "char" primitive_type) ) identifier) * number_literal) + number_literal) & number_literal) )))) ;) (if_statement "if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }" if (parenthesized_expression "(*param_4 < (uVar8 - 1) + uVar7)" ( (binary_expression "*param_4 < (uVar8 - 1) + uVar7" (pointer_expression "*param_4" * identifier) < (binary_expression "(uVar8 - 1) + uVar7" (parenthesized_expression "(uVar8 - 1)" ( (binary_expression "uVar8 - 1" identifier - number_literal) )) + identifier)) )) (compound_statement "{\n      return 6;\n    }" { (return_statement "return 6;" return number_literal ;) })) (expression_statement "param_2 = uVar7 + 1;" (assignment_expression "param_2 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)((ulong)lVar5 >> 0x10)" (subscript_expression "param_3[uVar7]" identifier [ identifier ]) = (cast_expression "(char)((ulong)lVar5 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((ulong)lVar5 >> 0x10)" ( (binary_expression "(ulong)lVar5 >> 0x10" (cast_expression "(ulong)lVar5" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }" if (parenthesized_expression "(uVar8 == 3)" ( (binary_expression "uVar8 == 3" identifier == number_literal) )) (compound_statement "{\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }" { (expression_statement "param_3[param_2] = (char)((ulong)lVar5 >> 8);" (assignment_expression "param_3[param_2] = (char)((ulong)lVar5 >> 8)" (subscript_expression "param_3[param_2]" identifier [ identifier ]) = (cast_expression "(char)((ulong)lVar5 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((ulong)lVar5 >> 8)" ( (binary_expression "(ulong)lVar5 >> 8" (cast_expression "(ulong)lVar5" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "param_2 = uVar7 + 2;" (assignment_expression "param_2 = uVar7 + 2" identifier = (binary_expression "uVar7 + 2" identifier + number_literal)) ;) })) })) (labeled_statement "LAB_0016db8e:\n  *param_4 = param_2;" statement_identifier : (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)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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) )) (goto_statement goto statement_identifier ;)) (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 = (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 = (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (pointer_expression & IDENT) ))) [ (pointer_expression * IDENT) ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]) + LIT) )))) )) (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 | (subscript_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (pointer_expression & IDENT) ))) [ (pointer_expression * IDENT) ]))) ;) (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 (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_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 IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]) + LIT) ))) < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (subscript_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (pointer_expression & IDENT) ))) [ (pointer_expression * IDENT) ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (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 (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_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 IDENT = (binary_expression IDENT + LIT)) ;) }))) (for_statement for ( ; (binary_expression IDENT != IDENT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]) + LIT) )))) )) (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 | (subscript_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (pointer_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)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) (compound_statement { (return_statement return 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 (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_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 IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (subscript_expression IDENT [ LIT ]) ]) + LIT) )))) )) (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 | (subscript_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (pointer_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)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) (compound_statement { (return_statement return 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 (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_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 IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (subscript_expression IDENT [ LIT ]) ]) + LIT) )))) )) (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 | (subscript_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (pointer_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)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) (compound_statement { (return_statement return 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 (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_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 IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (subscript_expression IDENT [ LIT ]) ]) + LIT) )))) )) (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 | (subscript_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (pointer_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)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < IDENT) )) (compound_statement { (return_statement return 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 (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_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 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 ;) })) (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 (parenthesized_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)) ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (return_statement return LIT ;) })))
(function_definition "undefined8 base64url_decode(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)\n\n{\n  byte *pbVar1;\n  bool bVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long lVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  uint uVar9;\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) goto LAB_0016db8e;\n  pbVar1 = param_1 + param_2;\n  uVar7 = 0;\n  uVar8 = 0;\n  uVar4 = 0;\n  uVar9 = (int)pbVar1 - (int)param_1 & 3;\n  if (uVar9 == 0) goto LAB_0016dc59;\n  if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }\n  if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }\n  for (; pbVar1 != param_1; param_1 = param_1 + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }\n  param_2 = uVar7;\n  if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }\nLAB_0016db8e:\n  *param_4 = param_2;\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "base64url_decode(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)" (identifier "base64url_decode") (parameter_list "(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)" (( "(") (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"))) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  bool bVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long lVar5;\n  ulong uVar6;\n  ulong uVar7;\n  ulong uVar8;\n  uint uVar9;\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) goto LAB_0016db8e;\n  pbVar1 = param_1 + param_2;\n  uVar7 = 0;\n  uVar8 = 0;\n  uVar4 = 0;\n  uVar9 = (int)pbVar1 - (int)param_1 & 3;\n  if (uVar9 == 0) goto LAB_0016dc59;\n  if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }\n  if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }\n  for (; pbVar1 != param_1; param_1 = param_1 + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }\n  param_2 = uVar7;\n  if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }\nLAB_0016db8e:\n  *param_4 = param_2;\n  return 0;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "ulong uVar6;" (type_identifier "ulong") (identifier "uVar6") (; ";")) (declaration "ulong uVar7;" (type_identifier "ulong") (identifier "uVar7") (; ";")) (declaration "ulong uVar8;" (type_identifier "ulong") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (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) goto LAB_0016db8e;" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0016db8e;" (goto "goto") (statement_identifier "LAB_0016db8e") (; ";"))) (expression_statement "pbVar1 = param_1 + param_2;" (assignment_expression "pbVar1 = param_1 + param_2" (identifier "pbVar1") (= "=") (binary_expression "param_1 + param_2" (identifier "param_1") (+ "+") (identifier "param_2"))) (; ";")) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar9 = (int)pbVar1 - (int)param_1 & 3;" (assignment_expression "uVar9 = (int)pbVar1 - (int)param_1 & 3" (identifier "uVar9") (= "=") (binary_expression "(int)pbVar1 - (int)param_1 & 3" (binary_expression "(int)pbVar1 - (int)param_1" (cast_expression "(int)pbVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar1")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (& "&") (number_literal "3"))) (; ";")) (if_statement "if (uVar9 == 0) goto LAB_0016dc59;" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0016dc59;" (goto "goto") (statement_identifier "LAB_0016dc59") (; ";"))) (if_statement "if (uVar9 != 1) {\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }" (if "if") (parenthesized_expression "(uVar9 != 1)" (( "(") (binary_expression "uVar9 != 1" (identifier "uVar9") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }\n    param_1 = param_1 + 1;\n  }" ({ "{") (if_statement "if (uVar9 != 2) {\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }" (if "if") (parenthesized_expression "(uVar9 != 2)" (( "(") (binary_expression "uVar9 != 2" (identifier "uVar9") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);\n      if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }\n      uVar8 = (ulong)bVar2;\n      param_1 = param_1 + 1;\n    }" ({ "{") (expression_statement "bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);" (assignment_expression "bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" (identifier "bVar2") (= "=") (binary_expression "1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" (number_literal "1") (< "<") (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" (( "(") (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")")) ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]")) (+ "+") (number_literal "2")) () ")"))))) (; ";")) (if_statement "if (bVar2) {\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }" (if "if") (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")")) (compound_statement "{\n        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];\n      }" ({ "{") (expression_statement "uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1]" (identifier "uVar4") (= "=") (subscript_expression "(ulong)(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(ulong)(byte)(&DAT_001cd2e0)" (call_expression "(ulong)(byte)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(byte)" (( "(") (identifier "byte") () ")"))) (argument_list "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")"))) ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]"))) (; ";")) (} "}"))) (expression_statement "uVar8 = (ulong)bVar2;" (assignment_expression "uVar8 = (ulong)bVar2" (identifier "uVar8") (= "=") (cast_expression "(ulong)bVar2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar2"))) (; ";")) (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"))) (; ";")) (} "}"))) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }" (if "if") (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[*param_1] + 2))" (( "(") (binary_expression "1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" (number_literal "1") (< "<") (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" (( "(") (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")")) ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]")) (+ "+") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n      uVar3 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }\n    }" ({ "{") (expression_statement "uVar3 = uVar4 << 6;" (assignment_expression "uVar3 = uVar4 << 6" (identifier "uVar3") (= "=") (binary_expression "uVar4 << 6" (identifier "uVar4") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" (identifier "uVar4") (= "=") (binary_expression "uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" (identifier "uVar3") (| "|") (subscript_expression "(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")"))) ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]")))) (; ";")) (if_statement "if (uVar8 == 4) {\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }" (if "if") (parenthesized_expression "(uVar8 == 4)" (( "(") (binary_expression "uVar8 == 4" (identifier "uVar8") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n        uVar7 = 3;\n        if (*param_4 < 3) {\n          return 6;\n        }\n        param_3[2] = (char)uVar4;\n        uVar4 = 0;\n        *param_3 = 0;\n        uVar8 = 0;\n        param_3[1] = (char)(uVar3 >> 8);\n      }" ({ "{") (expression_statement "uVar7 = 3;" (assignment_expression "uVar7 = 3" (identifier "uVar7") (= "=") (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[2] = (char)uVar4;" (assignment_expression "param_3[2] = (char)uVar4" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[1] = (char)(uVar3 >> 8);" (assignment_expression "param_3[1] = (char)(uVar3 >> 8)" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)(uVar3 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar3 >> 8)" (( "(") (binary_expression "uVar3 >> 8" (identifier "uVar3") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (} "}"))) (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"))) (; ";")) (} "}"))) (if_statement "if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }\n  else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" (if "if") (parenthesized_expression "((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2)" (( "(") (binary_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2) < 2" (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" (( "(") (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")")) ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]")) (+ "+") (number_literal "2")) () ")"))) (< "<") (number_literal "2")) () ")")) (compound_statement "{\nLAB_0016db2a:\n    param_1 = param_1 + 1;\n  }" ({ "{") (labeled_statement "LAB_0016db2a:\n    param_1 = param_1 + 1;" (statement_identifier "LAB_0016db2a") (: ":") (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"))) (; ";"))) (} "}")) (else_clause "else {\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" (else "else") (compound_statement "{\n    uVar3 = uVar4 << 6;\n    uVar8 = uVar8 + 1;\n    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];\n    if (uVar8 != 4) goto LAB_0016db2a;\n    if (*param_4 < uVar7 + 3) {\n      return 6;\n    }\n    param_1 = param_1 + 1;\n    param_3[uVar7 + 2] = (char)uVar4;\n    uVar4 = 0;\n    param_3[uVar7] = (char)(uVar3 >> 0x10);\n    uVar8 = 0;\n    param_3[uVar7 + 1] = (char)(uVar3 >> 8);\n    uVar7 = uVar7 + 3;\n  }" ({ "{") (expression_statement "uVar3 = uVar4 << 6;" (assignment_expression "uVar3 = uVar4 << 6" (identifier "uVar3") (= "=") (binary_expression "uVar4 << 6" (identifier "uVar4") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" (identifier "uVar4") (= "=") (binary_expression "uVar3 | (byte)(&DAT_001cd2e0)[*param_1]" (identifier "uVar3") (| "|") (subscript_expression "(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")"))) ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]")))) (; ";")) (if_statement "if (uVar8 != 4) goto LAB_0016db2a;" (if "if") (parenthesized_expression "(uVar8 != 4)" (( "(") (binary_expression "uVar8 != 4" (identifier "uVar8") (!= "!=") (number_literal "4")) () ")")) (goto_statement "goto LAB_0016db2a;" (goto "goto") (statement_identifier "LAB_0016db2a") (; ";"))) (if_statement "if (*param_4 < uVar7 + 3) {\n      return 6;\n    }" (if "if") (parenthesized_expression "(*param_4 < uVar7 + 3)" (( "(") (binary_expression "*param_4 < uVar7 + 3" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (binary_expression "uVar7 + 3" (identifier "uVar7") (+ "+") (number_literal "3"))) () ")")) (compound_statement "{\n      return 6;\n    }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (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 "param_3[uVar7 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar7 + 2] = (char)uVar4" (subscript_expression "param_3[uVar7 + 2]" (identifier "param_3") ([ "[") (binary_expression "uVar7 + 2" (identifier "uVar7") (+ "+") (number_literal "2")) (] "]")) (= "=") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[uVar7] = (char)(uVar3 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)(uVar3 >> 0x10)" (subscript_expression "param_3[uVar7]" (identifier "param_3") ([ "[") (identifier "uVar7") (] "]")) (= "=") (cast_expression "(char)(uVar3 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar3 >> 0x10)" (( "(") (binary_expression "uVar3 >> 0x10" (identifier "uVar3") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[uVar7 + 1] = (char)(uVar3 >> 8);" (assignment_expression "param_3[uVar7 + 1] = (char)(uVar3 >> 8)" (subscript_expression "param_3[uVar7 + 1]" (identifier "param_3") ([ "[") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1")) (] "]")) (= "=") (cast_expression "(char)(uVar3 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar3 >> 8)" (( "(") (binary_expression "uVar3 >> 8" (identifier "uVar3") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "uVar7 = uVar7 + 3;" (assignment_expression "uVar7 = uVar7 + 3" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 3" (identifier "uVar7") (+ "+") (number_literal "3"))) (; ";")) (} "}")))) (for_statement "for (; pbVar1 != param_1; param_1 = param_1 + 4) {\nLAB_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }" (for "for") (( "(") (; ";") (binary_expression "pbVar1 != param_1" (identifier "pbVar1") (!= "!=") (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_0016dc59:\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar3 = uVar7;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n    uVar7 = uVar3;\n    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }\n  }" ({ "{") (labeled_statement "LAB_0016dc59:\n    uVar3 = uVar7;" (statement_identifier "LAB_0016dc59") (: ":") (expression_statement "uVar3 = uVar7;" (assignment_expression "uVar3 = uVar7" (identifier "uVar3") (= "=") (identifier "uVar7")) (; ";"))) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" (if "if") (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[*param_1] + 2))" (( "(") (binary_expression "1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)" (number_literal "1") (< "<") (call_expression "(byte)((&DAT_001cd2e0)[*param_1] + 2)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((&DAT_001cd2e0)[*param_1] + 2)" (( "(") (binary_expression "(&DAT_001cd2e0)[*param_1] + 2" (subscript_expression "(&DAT_001cd2e0)[*param_1]" (parenthesized_expression "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")")) ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]")) (+ "+") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" ({ "{") (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" (identifier "uVar6") (= "=") (binary_expression "uVar4 << 6" (identifier "uVar4") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1]" (identifier "uVar4") (= "=") (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[*param_1]" (identifier "uVar6") (| "|") (subscript_expression "(byte)(&DAT_001cd2e0)[*param_1]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")"))) ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]")))) (; ";")) (if_statement "if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" (if "if") (parenthesized_expression "(uVar8 == 4)" (( "(") (binary_expression "uVar8 == 4" (identifier "uVar8") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" ({ "{") (expression_statement "uVar3 = uVar7 + 3;" (assignment_expression "uVar3 = uVar7 + 3" (identifier "uVar3") (= "=") (binary_expression "uVar7 + 3" (identifier "uVar7") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (*param_4 < uVar3) {\n          return 6;\n        }" (if "if") (parenthesized_expression "(*param_4 < uVar3)" (( "(") (binary_expression "*param_4 < uVar3" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (identifier "uVar3")) () ")")) (compound_statement "{\n          return 6;\n        }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "param_3[uVar7 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar7 + 2] = (char)uVar4" (subscript_expression "param_3[uVar7 + 2]" (identifier "param_3") ([ "[") (binary_expression "uVar7 + 2" (identifier "uVar7") (+ "+") (number_literal "2")) (] "]")) (= "=") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[uVar7] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar7]" (identifier "param_3") ([ "[") (identifier "uVar7") (] "]")) (= "=") (cast_expression "(char)(uVar6 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar6 >> 0x10)" (( "(") (binary_expression "uVar6 >> 0x10" (identifier "uVar6") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[uVar7 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar7 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar7 + 1]" (identifier "param_3") ([ "[") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1")) (] "]")) (= "=") (cast_expression "(char)(uVar6 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar6 >> 8)" (( "(") (binary_expression "uVar6 >> 8" (identifier "uVar6") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" (identifier "uVar7") (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" (if "if") (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2))" (( "(") (binary_expression "1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)" (number_literal "1") (< "<") (call_expression "(byte)((&DAT_001cd2e0)[param_1[1]] + 2)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((&DAT_001cd2e0)[param_1[1]] + 2)" (( "(") (binary_expression "(&DAT_001cd2e0)[param_1[1]] + 2" (subscript_expression "(&DAT_001cd2e0)[param_1[1]]" (parenthesized_expression "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")")) ([ "[") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (] "]")) (+ "+") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" ({ "{") (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" (identifier "uVar6") (= "=") (binary_expression "uVar4 << 6" (identifier "uVar4") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]]" (identifier "uVar4") (= "=") (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]]" (identifier "uVar6") (| "|") (subscript_expression "(byte)(&DAT_001cd2e0)[param_1[1]]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")"))) ([ "[") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (] "]")))) (; ";")) (if_statement "if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" (if "if") (parenthesized_expression "(uVar8 == 4)" (( "(") (binary_expression "uVar8 == 4" (identifier "uVar8") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" ({ "{") (expression_statement "uVar7 = uVar3 + 3;" (assignment_expression "uVar7 = uVar3 + 3" (identifier "uVar7") (= "=") (binary_expression "uVar3 + 3" (identifier "uVar3") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (*param_4 < uVar7) {\n          return 6;\n        }" (if "if") (parenthesized_expression "(*param_4 < uVar7)" (( "(") (binary_expression "*param_4 < uVar7" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (identifier "uVar7")) () ")")) (compound_statement "{\n          return 6;\n        }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "param_3[uVar3 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar3 + 2] = (char)uVar4" (subscript_expression "param_3[uVar3 + 2]" (identifier "param_3") ([ "[") (binary_expression "uVar3 + 2" (identifier "uVar3") (+ "+") (number_literal "2")) (] "]")) (= "=") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[uVar3] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar3] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar3]" (identifier "param_3") ([ "[") (identifier "uVar3") (] "]")) (= "=") (cast_expression "(char)(uVar6 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar6 >> 0x10)" (( "(") (binary_expression "uVar6 >> 0x10" (identifier "uVar6") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[uVar3 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar3 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar3 + 1]" (identifier "param_3") ([ "[") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1")) (] "]")) (= "=") (cast_expression "(char)(uVar6 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar6 >> 8)" (( "(") (binary_expression "uVar6 >> 8" (identifier "uVar6") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar3 = uVar7;" (assignment_expression "uVar3 = uVar7" (identifier "uVar3") (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" (if "if") (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2))" (( "(") (binary_expression "1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)" (number_literal "1") (< "<") (call_expression "(byte)((&DAT_001cd2e0)[param_1[2]] + 2)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((&DAT_001cd2e0)[param_1[2]] + 2)" (( "(") (binary_expression "(&DAT_001cd2e0)[param_1[2]] + 2" (subscript_expression "(&DAT_001cd2e0)[param_1[2]]" (parenthesized_expression "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")")) ([ "[") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (] "]")) (+ "+") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];\n      if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }\n    }" ({ "{") (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" (identifier "uVar6") (= "=") (binary_expression "uVar4 << 6" (identifier "uVar4") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]]" (identifier "uVar4") (= "=") (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]]" (identifier "uVar6") (| "|") (subscript_expression "(byte)(&DAT_001cd2e0)[param_1[2]]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")"))) ([ "[") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (] "]")))) (; ";")) (if_statement "if (uVar8 == 4) {\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" (if "if") (parenthesized_expression "(uVar8 == 4)" (( "(") (binary_expression "uVar8 == 4" (identifier "uVar8") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n        uVar3 = uVar7 + 3;\n        if (*param_4 < uVar3) {\n          return 6;\n        }\n        param_3[uVar7 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar7] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar7 + 1] = (char)(uVar6 >> 8);\n      }" ({ "{") (expression_statement "uVar3 = uVar7 + 3;" (assignment_expression "uVar3 = uVar7 + 3" (identifier "uVar3") (= "=") (binary_expression "uVar7 + 3" (identifier "uVar7") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (*param_4 < uVar3) {\n          return 6;\n        }" (if "if") (parenthesized_expression "(*param_4 < uVar3)" (( "(") (binary_expression "*param_4 < uVar3" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (identifier "uVar3")) () ")")) (compound_statement "{\n          return 6;\n        }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "param_3[uVar7 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar7 + 2] = (char)uVar4" (subscript_expression "param_3[uVar7 + 2]" (identifier "param_3") ([ "[") (binary_expression "uVar7 + 2" (identifier "uVar7") (+ "+") (number_literal "2")) (] "]")) (= "=") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[uVar7] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar7]" (identifier "param_3") ([ "[") (identifier "uVar7") (] "]")) (= "=") (cast_expression "(char)(uVar6 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar6 >> 0x10)" (( "(") (binary_expression "uVar6 >> 0x10" (identifier "uVar6") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[uVar7 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar7 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar7 + 1]" (identifier "param_3") ([ "[") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1")) (] "]")) (= "=") (cast_expression "(char)(uVar6 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar6 >> 8)" (( "(") (binary_expression "uVar6 >> 8" (identifier "uVar6") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar7 = uVar3;" (assignment_expression "uVar7 = uVar3" (identifier "uVar7") (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" (if "if") (parenthesized_expression "(1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2))" (( "(") (binary_expression "1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)" (number_literal "1") (< "<") (call_expression "(byte)((&DAT_001cd2e0)[param_1[3]] + 2)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((&DAT_001cd2e0)[param_1[3]] + 2)" (( "(") (binary_expression "(&DAT_001cd2e0)[param_1[3]] + 2" (subscript_expression "(&DAT_001cd2e0)[param_1[3]]" (parenthesized_expression "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")")) ([ "[") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (] "]")) (+ "+") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n      uVar6 = uVar4 << 6;\n      uVar8 = uVar8 + 1;\n      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];\n      if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }\n    }" ({ "{") (expression_statement "uVar6 = uVar4 << 6;" (assignment_expression "uVar6 = uVar4 << 6" (identifier "uVar6") (= "=") (binary_expression "uVar4 << 6" (identifier "uVar4") (<< "<<") (number_literal "6"))) (; ";")) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];" (assignment_expression "uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]]" (identifier "uVar4") (= "=") (binary_expression "uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]]" (identifier "uVar6") (| "|") (subscript_expression "(byte)(&DAT_001cd2e0)[param_1[3]]" (call_expression "(byte)(&DAT_001cd2e0)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(&DAT_001cd2e0)" (( "(") (pointer_expression "&DAT_001cd2e0" (& "&") (identifier "DAT_001cd2e0")) () ")"))) ([ "[") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (] "]")))) (; ";")) (if_statement "if (uVar8 == 4) {\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" (if "if") (parenthesized_expression "(uVar8 == 4)" (( "(") (binary_expression "uVar8 == 4" (identifier "uVar8") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n        uVar7 = uVar3 + 3;\n        if (*param_4 < uVar7) {\n          return 6;\n        }\n        param_3[uVar3 + 2] = (char)uVar4;\n        uVar4 = 0;\n        param_3[uVar3] = (char)(uVar6 >> 0x10);\n        uVar8 = 0;\n        param_3[uVar3 + 1] = (char)(uVar6 >> 8);\n      }" ({ "{") (expression_statement "uVar7 = uVar3 + 3;" (assignment_expression "uVar7 = uVar3 + 3" (identifier "uVar7") (= "=") (binary_expression "uVar3 + 3" (identifier "uVar3") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (*param_4 < uVar7) {\n          return 6;\n        }" (if "if") (parenthesized_expression "(*param_4 < uVar7)" (( "(") (binary_expression "*param_4 < uVar7" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (identifier "uVar7")) () ")")) (compound_statement "{\n          return 6;\n        }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "param_3[uVar3 + 2] = (char)uVar4;" (assignment_expression "param_3[uVar3 + 2] = (char)uVar4" (subscript_expression "param_3[uVar3 + 2]" (identifier "param_3") ([ "[") (binary_expression "uVar3 + 2" (identifier "uVar3") (+ "+") (number_literal "2")) (] "]")) (= "=") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[uVar3] = (char)(uVar6 >> 0x10);" (assignment_expression "param_3[uVar3] = (char)(uVar6 >> 0x10)" (subscript_expression "param_3[uVar3]" (identifier "param_3") ([ "[") (identifier "uVar3") (] "]")) (= "=") (cast_expression "(char)(uVar6 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar6 >> 0x10)" (( "(") (binary_expression "uVar6 >> 0x10" (identifier "uVar6") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[uVar3 + 1] = (char)(uVar6 >> 8);" (assignment_expression "param_3[uVar3 + 1] = (char)(uVar6 >> 8)" (subscript_expression "param_3[uVar3 + 1]" (identifier "param_3") ([ "[") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1")) (] "]")) (= "=") (cast_expression "(char)(uVar6 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar6 >> 8)" (( "(") (binary_expression "uVar6 >> 8" (identifier "uVar6") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "param_2 = uVar7;" (assignment_expression "param_2 = uVar7" (identifier "param_2") (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (uVar8 != 0) {\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }" (if "if") (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (uVar8 == 1) {\n      return 7;\n    }\n    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);\n    if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }\n    param_2 = uVar7 + 1;\n    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);\n    if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }\n  }" ({ "{") (if_statement "if (uVar8 == 1) {\n      return 7;\n    }" (if "if") (parenthesized_expression "(uVar8 == 1)" (( "(") (binary_expression "uVar8 == 1" (identifier "uVar8") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      return 7;\n    }" ({ "{") (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}"))) (expression_statement "lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);" (assignment_expression "lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f)" (identifier "lVar5") (= "=") (binary_expression "uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f)" (identifier "uVar4") (<< "<<") (parenthesized_expression "((char)uVar8 * -6 + 0x18U & 0x3f)" (( "(") (binary_expression "(char)uVar8 * -6 + 0x18U & 0x3f" (binary_expression "(char)uVar8 * -6 + 0x18U" (binary_expression "(char)uVar8 * -6" (cast_expression "(char)uVar8" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar8")) (* "*") (number_literal "-6")) (+ "+") (number_literal "0x18U")) (& "&") (number_literal "0x3f")) () ")")))) (; ";")) (if_statement "if (*param_4 < (uVar8 - 1) + uVar7) {\n      return 6;\n    }" (if "if") (parenthesized_expression "(*param_4 < (uVar8 - 1) + uVar7)" (( "(") (binary_expression "*param_4 < (uVar8 - 1) + uVar7" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (< "<") (binary_expression "(uVar8 - 1) + uVar7" (parenthesized_expression "(uVar8 - 1)" (( "(") (binary_expression "uVar8 - 1" (identifier "uVar8") (- "-") (number_literal "1")) () ")")) (+ "+") (identifier "uVar7"))) () ")")) (compound_statement "{\n      return 6;\n    }" ({ "{") (return_statement "return 6;" (return "return") (number_literal "6") (; ";")) (} "}"))) (expression_statement "param_2 = uVar7 + 1;" (assignment_expression "param_2 = uVar7 + 1" (identifier "param_2") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);" (assignment_expression "param_3[uVar7] = (char)((ulong)lVar5 >> 0x10)" (subscript_expression "param_3[uVar7]" (identifier "param_3") ([ "[") (identifier "uVar7") (] "]")) (= "=") (cast_expression "(char)((ulong)lVar5 >> 0x10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((ulong)lVar5 >> 0x10)" (( "(") (binary_expression "(ulong)lVar5 >> 0x10" (cast_expression "(ulong)lVar5" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "lVar5")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (if_statement "if (uVar8 == 3) {\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }" (if "if") (parenthesized_expression "(uVar8 == 3)" (( "(") (binary_expression "uVar8 == 3" (identifier "uVar8") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n      param_3[param_2] = (char)((ulong)lVar5 >> 8);\n      param_2 = uVar7 + 2;\n    }" ({ "{") (expression_statement "param_3[param_2] = (char)((ulong)lVar5 >> 8);" (assignment_expression "param_3[param_2] = (char)((ulong)lVar5 >> 8)" (subscript_expression "param_3[param_2]" (identifier "param_3") ([ "[") (identifier "param_2") (] "]")) (= "=") (cast_expression "(char)((ulong)lVar5 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((ulong)lVar5 >> 8)" (( "(") (binary_expression "(ulong)lVar5 >> 8" (cast_expression "(ulong)lVar5" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "lVar5")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "param_2 = uVar7 + 2;" (assignment_expression "param_2 = uVar7 + 2" (identifier "param_2") (= "=") (binary_expression "uVar7 + 2" (identifier "uVar7") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_0016db8e:\n  *param_4 = param_2;" (statement_identifier "LAB_0016db8e") (: ":") (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") (; ";")) (} "}")))

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

{
  type_3 *var_11;
  bool bVar2;
  type_2 var_9;
  type_2 var_7;
  long lVar5;
  type_2 var_12;
  type_2 var_10;
  type_2 var_8;
  type_4 var_6;
  
  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) goto LAB_0016db8e;
  var_11 = var_1 + var_5;
  var_10 = 0;
  var_8 = 0;
  var_7 = 0;
  var_6 = (int)var_11 - (int)var_1 & 3;
  if (var_6 == 0) goto LAB_0016dc59;
  if (var_6 != 1) {
    if (var_6 != 2) {
      bVar2 = 1 < (type_3)(map_base64url[*var_1] + 2);
      if (bVar2) {
        var_7 = (type_2)map_base64url[*var_1];
      }
      var_8 = (type_2)bVar2;
      var_1 = var_1 + 1;
    }
    if (1 < (type_3)(map_base64url[*var_1] + 2)) {
      var_9 = var_7 << 6;
      var_8 = var_8 + 1;
      var_7 = var_9 | map_base64url[*var_1];
      if (var_8 == 4) {
        var_10 = 3;
        if (*var_4 < 3) {
          return 6;
        }
        var_3[2] = (type_1)var_7;
        var_7 = 0;
        *var_3 = '\0';
        var_8 = 0;
        var_3[1] = (type_1)(var_9 >> 8);
      }
    }
    var_1 = var_1 + 1;
  }
  if ((type_3)(map_base64url[*var_1] + 2) < 2) {
LAB_0016db2a:
    var_1 = var_1 + 1;
  }
  else {
    var_9 = var_7 << 6;
    var_8 = var_8 + 1;
    var_7 = var_9 | map_base64url[*var_1];
    if (var_8 != 4) goto LAB_0016db2a;
    if (*var_4 < var_10 + 3) {
      return 6;
    }
    var_1 = var_1 + 1;
    var_3[var_10 + 2] = (type_1)var_7;
    var_7 = 0;
    var_3[var_10] = (type_1)(var_9 >> 0x10);
    var_8 = 0;
    var_3[var_10 + 1] = (type_1)(var_9 >> 8);
    var_10 = var_10 + 3;
  }
  for (; var_11 != var_1; var_1 = var_1 + 4) {
LAB_0016dc59:
    var_9 = var_10;
    if (1 < (type_3)(map_base64url[*var_1] + 2)) {
      var_12 = var_7 << 6;
      var_8 = var_8 + 1;
      var_7 = var_12 | map_base64url[*var_1];
      if (var_8 == 4) {
        var_9 = var_10 + 3;
        if (*var_4 < var_9) {
          return 6;
        }
        var_3[var_10 + 2] = (type_1)var_7;
        var_7 = 0;
        var_3[var_10] = (type_1)(var_12 >> 0x10);
        var_8 = 0;
        var_3[var_10 + 1] = (type_1)(var_12 >> 8);
      }
    }
    var_10 = var_9;
    if (1 < (type_3)(map_base64url[var_1[1]] + 2)) {
      var_12 = var_7 << 6;
      var_8 = var_8 + 1;
      var_7 = var_12 | map_base64url[var_1[1]];
      if (var_8 == 4) {
        var_10 = var_9 + 3;
        if (*var_4 < var_10) {
          return 6;
        }
        var_3[var_9 + 2] = (type_1)var_7;
        var_7 = 0;
        var_3[var_9] = (type_1)(var_12 >> 0x10);
        var_8 = 0;
        var_3[var_9 + 1] = (type_1)(var_12 >> 8);
      }
    }
    var_9 = var_10;
    if (1 < (type_3)(map_base64url[var_1[2]] + 2)) {
      var_12 = var_7 << 6;
      var_8 = var_8 + 1;
      var_7 = var_12 | map_base64url[var_1[2]];
      if (var_8 == 4) {
        var_9 = var_10 + 3;
        if (*var_4 < var_9) {
          return 6;
        }
        var_3[var_10 + 2] = (type_1)var_7;
        var_7 = 0;
        var_3[var_10] = (type_1)(var_12 >> 0x10);
        var_8 = 0;
        var_3[var_10 + 1] = (type_1)(var_12 >> 8);
      }
    }
    var_10 = var_9;
    if (1 < (type_3)(map_base64url[var_1[3]] + 2)) {
      var_12 = var_7 << 6;
      var_8 = var_8 + 1;
      var_7 = var_12 | map_base64url[var_1[3]];
      if (var_8 == 4) {
        var_10 = var_9 + 3;
        if (*var_4 < var_10) {
          return 6;
        }
        var_3[var_9 + 2] = (type_1)var_7;
        var_7 = 0;
        var_3[var_9] = (type_1)(var_12 >> 0x10);
        var_8 = 0;
        var_3[var_9 + 1] = (type_1)(var_12 >> 8);
      }
    }
  }
  var_5 = var_10;
  if (var_8 != 0) {
    if (var_8 == 1) {
      return 7;
    }
    lVar5 = var_7 << ((char)var_8 * -6 + 0x18U & 0x3f);
    if (*var_4 < (var_8 - 1) + var_10) {
      return 6;
    }
    var_5 = var_10 + 1;
    var_3[var_10] = (type_1)((type_2)lVar5 >> 0x10);
    if (var_8 == 3) {
      var_3[var_5] = (type_1)((type_2)lVar5 >> 8);
      var_5 = var_10 + 2;
    }
  }
LAB_0016db8e:
  *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))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (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: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (binary_expression left: (number_literal) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (pointer_expression argument: (identifier))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)))) index: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (pointer_expression argument: (identifier))) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (pointer_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))) (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: (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: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (pointer_expression argument: (identifier))) right: (number_literal)))) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (pointer_expression argument: (identifier)))) index: (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) 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: (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: (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: (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: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (for_statement 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: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (pointer_expression argument: (identifier))) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (pointer_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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (return_statement (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: (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: (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: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (pointer_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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (return_statement (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: (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: (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: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (pointer_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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (return_statement (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: (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: (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: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (pointer_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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (return_statement (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: (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: (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: (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)))) (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: (parenthesized_expression (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)))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (return_statement (number_literal)))))

undefined8 MASKED(byte *param_1,ulong param_2,undefined1 *param_3,ulong *param_4)

{
  byte *pbVar1;
  bool bVar2;
  ulong uVar3;
  ulong uVar4;
  long lVar5;
  ulong uVar6;
  ulong uVar7;
  ulong uVar8;
  uint uVar9;
  
  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) goto LAB_0016db8e;
  pbVar1 = param_1 + param_2;
  uVar7 = 0;
  uVar8 = 0;
  uVar4 = 0;
  uVar9 = (int)pbVar1 - (int)param_1 & 3;
  if (uVar9 == 0) goto LAB_0016dc59;
  if (uVar9 != 1) {
    if (uVar9 != 2) {
      bVar2 = 1 < (byte)((&DAT_001cd2e0)[*param_1] + 2);
      if (bVar2) {
        uVar4 = (ulong)(byte)(&DAT_001cd2e0)[*param_1];
      }
      uVar8 = (ulong)bVar2;
      param_1 = param_1 + 1;
    }
    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {
      uVar3 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];
      if (uVar8 == 4) {
        uVar7 = 3;
        if (*param_4 < 3) {
          return 6;
        }
        param_3[2] = (char)uVar4;
        uVar4 = 0;
        *param_3 = 0;
        uVar8 = 0;
        param_3[1] = (char)(uVar3 >> 8);
      }
    }
    param_1 = param_1 + 1;
  }
  if ((byte)((&DAT_001cd2e0)[*param_1] + 2) < 2) {
LAB_0016db2a:
    param_1 = param_1 + 1;
  }
  else {
    uVar3 = uVar4 << 6;
    uVar8 = uVar8 + 1;
    uVar4 = uVar3 | (byte)(&DAT_001cd2e0)[*param_1];
    if (uVar8 != 4) goto LAB_0016db2a;
    if (*param_4 < uVar7 + 3) {
      return 6;
    }
    param_1 = param_1 + 1;
    param_3[uVar7 + 2] = (char)uVar4;
    uVar4 = 0;
    param_3[uVar7] = (char)(uVar3 >> 0x10);
    uVar8 = 0;
    param_3[uVar7 + 1] = (char)(uVar3 >> 8);
    uVar7 = uVar7 + 3;
  }
  for (; pbVar1 != param_1; param_1 = param_1 + 4) {
LAB_0016dc59:
    uVar3 = uVar7;
    if (1 < (byte)((&DAT_001cd2e0)[*param_1] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[*param_1];
      if (uVar8 == 4) {
        uVar3 = uVar7 + 3;
        if (*param_4 < uVar3) {
          return 6;
        }
        param_3[uVar7 + 2] = (char)uVar4;
        uVar4 = 0;
        param_3[uVar7] = (char)(uVar6 >> 0x10);
        uVar8 = 0;
        param_3[uVar7 + 1] = (char)(uVar6 >> 8);
      }
    }
    uVar7 = uVar3;
    if (1 < (byte)((&DAT_001cd2e0)[param_1[1]] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[1]];
      if (uVar8 == 4) {
        uVar7 = uVar3 + 3;
        if (*param_4 < uVar7) {
          return 6;
        }
        param_3[uVar3 + 2] = (char)uVar4;
        uVar4 = 0;
        param_3[uVar3] = (char)(uVar6 >> 0x10);
        uVar8 = 0;
        param_3[uVar3 + 1] = (char)(uVar6 >> 8);
      }
    }
    uVar3 = uVar7;
    if (1 < (byte)((&DAT_001cd2e0)[param_1[2]] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[2]];
      if (uVar8 == 4) {
        uVar3 = uVar7 + 3;
        if (*param_4 < uVar3) {
          return 6;
        }
        param_3[uVar7 + 2] = (char)uVar4;
        uVar4 = 0;
        param_3[uVar7] = (char)(uVar6 >> 0x10);
        uVar8 = 0;
        param_3[uVar7 + 1] = (char)(uVar6 >> 8);
      }
    }
    uVar7 = uVar3;
    if (1 < (byte)((&DAT_001cd2e0)[param_1[3]] + 2)) {
      uVar6 = uVar4 << 6;
      uVar8 = uVar8 + 1;
      uVar4 = uVar6 | (byte)(&DAT_001cd2e0)[param_1[3]];
      if (uVar8 == 4) {
        uVar7 = uVar3 + 3;
        if (*param_4 < uVar7) {
          return 6;
        }
        param_3[uVar3 + 2] = (char)uVar4;
        uVar4 = 0;
        param_3[uVar3] = (char)(uVar6 >> 0x10);
        uVar8 = 0;
        param_3[uVar3 + 1] = (char)(uVar6 >> 8);
      }
    }
  }
  param_2 = uVar7;
  if (uVar8 != 0) {
    if (uVar8 == 1) {
      return 7;
    }
    lVar5 = uVar4 << ((char)uVar8 * -6 + 0x18U & 0x3f);
    if (*param_4 < (uVar8 - 1) + uVar7) {
      return 6;
    }
    param_2 = uVar7 + 1;
    param_3[uVar7] = (char)((ulong)lVar5 >> 0x10);
    if (uVar8 == 3) {
      param_3[param_2] = (char)((ulong)lVar5 >> 8);
      param_2 = uVar7 + 2;
    }
  }
LAB_0016db8e:
  *param_4 = param_2;
  return 0;
}

