#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ memset(unsigned char *, int, int);
void base64_decode(char **dest, char **src) {
  static unsigned char tab[256];
  static unsigned char initialized = 0;
  char *buf = *src, *s = *dest;
  unsigned int pr[6];
  register int n;
  register int doit = 1;
  if (!initialized) {
    int i, n = 0;
    initialized++;
    memset(tab, 100, 256);
    tab[0] = tab[255] = 255;
    for (i = 'A'; i <= 'Z'; i++)
      tab[i] = n++;
    for (i = 'a'; i <= 'z'; i++)
      tab[i] = n++;
    for (i = '0'; i <= '9'; i++)
      tab[i] = n++;
    tab['+'] = n++;
    tab['/'] = n++;
    tab['='] = 255;
  }
  while (doit) {
    n = 0;
    while (n < 4) {
      register unsigned char ch;
      ch = tab[*(unsigned char *)buf];
      if (ch < 100) {
        pr[n] = ch;
        n++;
        buf++;
        continue;
      }
      if (ch == 100) {
        buf++;
        continue;
      }
      while (*buf == '=')
        buf++;
      doit = 0;
      break;
    }
    if (!doit && n < 4) {
      pr[n + 2] = pr[n + 1] = pr[n] = 0;
    }
    *(char *)s = (pr[0] << 2) | (pr[1] >> 4);
    *(char *)(s + 1) = (pr[1] << 4) | (pr[2] >> 2);
    *(char *)(s + 2) = (pr[2] << 6) | pr[3];
    s += (n * 3) >> 2;
  }
  if ((*buf == '?') && *(buf + 1) == '=')
    buf++;
  *src = buf;
  *dest = s;
}


x86 assembly (clang, -O0):
<base64_decode>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x20(%rbp)
movl   $0x1,-0x48(%rbp)
cmpb   $0x0,0x2ffc(%rip)
jne    125a <base64_decode+0x14a>
movl   $0x0,-0x50(%rbp)
mov    0x2fe9(%rip),%al
add    $0x1,%al
mov    %al,0x2fe1(%rip)
lea    0x2eda(%rip),%rdi
mov    $0x64,%esi
mov    $0x100,%edx
call   1030 <memset@plt>
movb   $0xff,0x2fc3(%rip)
movb   $0xff,0x2ebd(%rip)
movl   $0x41,-0x4c(%rbp)
cmpl   $0x5a,-0x4c(%rbp)
jg     11bd <base64_decode+0xad>
mov    -0x50(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x50(%rbp)
mov    %al,%dl
movslq -0x4c(%rbp),%rcx
lea    0x2e94(%rip),%rax
mov    %dl,(%rax,%rcx,1)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    118a <base64_decode+0x7a>
movl   $0x61,-0x4c(%rbp)
cmpl   $0x7a,-0x4c(%rbp)
jg     11f7 <base64_decode+0xe7>
mov    -0x50(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x50(%rbp)
mov    %al,%dl
movslq -0x4c(%rbp),%rcx
lea    0x2e5a(%rip),%rax
mov    %dl,(%rax,%rcx,1)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    11c4 <base64_decode+0xb4>
movl   $0x30,-0x4c(%rbp)
cmpl   $0x39,-0x4c(%rbp)
jg     1231 <base64_decode+0x121>
mov    -0x50(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x50(%rbp)
mov    %al,%dl
movslq -0x4c(%rbp),%rcx
lea    0x2e20(%rip),%rax
mov    %dl,(%rax,%rcx,1)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    11fe <base64_decode+0xee>
mov    -0x50(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x50(%rbp)
mov    %al,0x2e29(%rip)
mov    -0x50(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x50(%rbp)
mov    %al,0x2e1c(%rip)
movb   $0xff,0x2e23(%rip)
jmp    125f <base64_decode+0x14f>
cmpl   $0x0,-0x48(%rbp)
je     13a7 <base64_decode+0x297>
movl   $0x0,-0x44(%rbp)
cmpl   $0x4,-0x44(%rbp)
jge    130e <base64_decode+0x1fe>
mov    -0x18(%rbp),%rax
movzbl (%rax),%eax
mov    %eax,%ecx
lea    0x2db6(%rip),%rax
mov    (%rax,%rcx,1),%al
mov    %al,-0x51(%rbp)
movzbl -0x51(%rbp),%eax
cmp    $0x64,%eax
jge    12c3 <base64_decode+0x1b3>
movzbl -0x51(%rbp),%ecx
movslq -0x44(%rbp),%rax
mov    %ecx,-0x40(%rbp,%rax,4)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    1270 <base64_decode+0x160>
movzbl -0x51(%rbp),%eax
cmp    $0x64,%eax
jne    12e1 <base64_decode+0x1d1>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    1270 <base64_decode+0x160>
jmp    12e6 <base64_decode+0x1d6>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3d,%eax
jne    1307 <base64_decode+0x1f7>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    12e6 <base64_decode+0x1d6>
movl   $0x0,-0x48(%rbp)
cmpl   $0x0,-0x48(%rbp)
jne    134e <base64_decode+0x23e>
cmpl   $0x4,-0x44(%rbp)
jge    134e <base64_decode+0x23e>
movslq -0x44(%rbp),%rax
movl   $0x0,-0x40(%rbp,%rax,4)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
cltq
movl   $0x0,-0x40(%rbp,%rax,4)
mov    -0x44(%rbp),%eax
add    $0x2,%eax
cltq
movl   $0x0,-0x40(%rbp,%rax,4)
mov    -0x40(%rbp),%eax
shl    $0x2,%eax
mov    -0x3c(%rbp),%ecx
shr    $0x4,%ecx
or     %ecx,%eax
mov    %al,%cl
mov    -0x20(%rbp),%rax
mov    %cl,(%rax)
mov    -0x3c(%rbp),%eax
shl    $0x4,%eax
mov    -0x38(%rbp),%ecx
shr    $0x2,%ecx
or     %ecx,%eax
mov    %al,%cl
mov    -0x20(%rbp),%rax
mov    %cl,0x1(%rax)
mov    -0x38(%rbp),%eax
shl    $0x6,%eax
or     -0x34(%rbp),%eax
mov    %al,%cl
mov    -0x20(%rbp),%rax
mov    %cl,0x2(%rax)
imul   $0x3,-0x44(%rbp),%ecx
sar    $0x2,%ecx
mov    -0x20(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
jmp    125f <base64_decode+0x14f>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3f,%eax
jne    13d4 <base64_decode+0x2c4>
mov    -0x18(%rbp),%rax
movsbl 0x1(%rax),%eax
cmp    $0x3d,%eax
jne    13d4 <base64_decode+0x2c4>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rcx
mov    -0x10(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x20(%rbp),%rcx
mov    -0x8(%rbp),%rax
mov    %rcx,(%rax)
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<base64_decode>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rsi,%r14
mov    %rdi,%r15
mov    (%rsi),%rbx
mov    (%rdi),%r12
cmpb   $0x0,0x3012(%rip)
jne    11e1 <base64_decode+0xd1>
movb   $0x1,0x3005(%rip)
lea    0x2efe(%rip),%rdi
mov    $0x64,%esi
mov    $0x100,%edx
call   1030 <memset@plt>
movb   $0xff,0x2fe7(%rip)
movb   $0xff,0x2ee1(%rip)
movaps 0xe9a(%rip),%xmm0
movups %xmm0,0x2f14(%rip)
movabs $0x1716151413121110,%rax
15 16 17
mov    %rax,0x2f13(%rip)
movw   $0x1918,0x2f12(%rip)
18 19
movl   $0x1d1c1b1a,0x2f10(%rip)
1b 1c 1d
movw   $0x1f1e,0x2f0b(%rip)
1e 1f
movaps 0xe6f(%rip),%xmm0
movups %xmm0,0x2eff(%rip)
movl   $0x33323130,0x2f05(%rip)
31 32 33
movabs $0x3b3a393837363534,%rax
39 3a 3b
mov    %rax,0x2ead(%rip)
movw   $0x3d3c,0x2eac(%rip)
3c 3d
movb   $0x3e,0x2e98(%rip)
movb   $0x3f,0x2e95(%rip)
movb   $0xff,0x2e9c(%rip)
lea    0x2e58(%rip),%rax
jmp    1235 <base64_decode+0x125>
nopw   0x0(%rax,%rax,1)
xor    %r8d,%r8d
mov    (%rsp),%edi
mov    0x4(%rsp),%ecx
shl    $0x2,%edi
mov    %ecx,%esi
shr    $0x4,%esi
or     %edi,%esi
mov    %sil,(%r9)
shl    $0x4,%ecx
mov    0x8(%rsp),%esi
mov    %esi,%edi
shr    $0x2,%edi
or     %ecx,%edi
mov    %dil,0x1(%r9)
shl    $0x6,%esi
or     0xc(%rsp),%esi
mov    %sil,0x2(%r9)
lea    (%rdx,%rdx,2),%ecx
sar    $0x2,%ecx
movslq %ecx,%r12
add    %r9,%r12
test   %r8b,%r8b
jne    12a5 <base64_decode+0x195>
mov    %r12,%r9
xor    %edx,%edx
jmp    1252 <base64_decode+0x142>
nopl   0x0(%rax)
movslq %edx,%rsi
mov    %edi,(%rsp,%rsi,4)
add    $0x1,%edx
add    $0x1,%rbx
cmp    $0x4,%edx
jge    11f0 <base64_decode+0xe0>
movzbl (%rbx),%esi
movzbl (%rsi,%rax,1),%edi
cmp    $0x63,%edi
jbe    1240 <base64_decode+0x130>
cmp    $0x64,%dil
je     1249 <base64_decode+0x139>
cmp    $0x3d,%sil
jne    127f <base64_decode+0x16f>
nopw   0x0(%rax,%rax,1)
lea    0x1(%rbx),%rdi
cmpb   $0x3d,0x1(%rbx)
mov    %rdi,%rbx
je     1270 <base64_decode+0x160>
jmp    1282 <base64_decode+0x172>
mov    %rbx,%rdi
mov    $0x1,%r8b
cmp    $0x3,%edx
jg     129d <base64_decode+0x18d>
movslq %edx,%rbx
movq   $0x0,(%rsp,%rbx,4)
movl   $0x0,0x8(%rsp,%rbx,4)
mov    %rdi,%rbx
jmp    11f3 <base64_decode+0xe3>
cmpb   $0x3f,(%rbx)
jne    12b6 <base64_decode+0x1a6>
lea    0x1(%rbx),%rax
cmpb   $0x3d,0x1(%rbx)
cmove  %rax,%rbx
mov    %rbx,(%r14)
mov    %r12,(%r15)
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@base64_decode.tab = internal global [256 x i8] zeroinitializer
@base64_decode.initialized = internal global i8 0
define void @base64_decode(i8** %0, i8** %1) {
%3 = alloca i8**
%4 = alloca i8**
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca [6 x i32]
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i8
store i8** %0, i8*** %3
store i8** %1, i8*** %4
%13 = load i8**, i8*** %4
%14 = load i8*, i8** %13
store i8* %14, i8** %5
%15 = load i8**, i8*** %3
%16 = load i8*, i8** %15
store i8* %16, i8** %6
store i32 1, i32* %9
%17 = load i8, i8* @base64_decode.initialized
%18 = icmp ne i8 %17, 0
br i1 %18, label %71, label %19
19: ; preds = %2
store i32 0, i32* %11
%20 = load i8, i8* @base64_decode.initialized
%21 = add i8 %20, 1
store i8 %21, i8* @base64_decode.initialized
%22 = call i32 @memset(i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 0), i32 100, i32 256)
store i8 -1, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 255)
store i8 -1, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 0)
store i32 65, i32* %10
br label %23
23: ; preds = %33, %19
%24 = load i32, i32* %10
%25 = icmp sle i32 %24, 90
br i1 %25, label %26, label %36
26: ; preds = %23
%27 = load i32, i32* %11
%28 = add nsw i32 %27, 1
store i32 %28, i32* %11
%29 = trunc i32 %27 to i8
%30 = load i32, i32* %10
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 %31
store i8 %29, i8* %32
br label %33
33: ; preds = %26
%34 = load i32, i32* %10
%35 = add nsw i32 %34, 1
store i32 %35, i32* %10
br label %23
36: ; preds = %23
store i32 97, i32* %10
br label %37
37: ; preds = %47, %36
%38 = load i32, i32* %10
%39 = icmp sle i32 %38, 122
br i1 %39, label %40, label %50
40: ; preds = %37
%41 = load i32, i32* %11
%42 = add nsw i32 %41, 1
store i32 %42, i32* %11
%43 = trunc i32 %41 to i8
%44 = load i32, i32* %10
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 %45
store i8 %43, i8* %46
br label %47
47: ; preds = %40
%48 = load i32, i32* %10
%49 = add nsw i32 %48, 1
store i32 %49, i32* %10
br label %37
50: ; preds = %37
store i32 48, i32* %10
br label %51
51: ; preds = %61, %50
%52 = load i32, i32* %10
%53 = icmp sle i32 %52, 57
br i1 %53, label %54, label %64
54: ; preds = %51
%55 = load i32, i32* %11
%56 = add nsw i32 %55, 1
store i32 %56, i32* %11
%57 = trunc i32 %55 to i8
%58 = load i32, i32* %10
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 %59
store i8 %57, i8* %60
br label %61
61: ; preds = %54
%62 = load i32, i32* %10
%63 = add nsw i32 %62, 1
store i32 %63, i32* %10
br label %51
64: ; preds = %51
%65 = load i32, i32* %11
%66 = add nsw i32 %65, 1
store i32 %66, i32* %11
%67 = trunc i32 %65 to i8
store i8 %67, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 43)
%68 = load i32, i32* %11
%69 = add nsw i32 %68, 1
store i32 %69, i32* %11
%70 = trunc i32 %68 to i8
store i8 %70, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 47)
store i8 -1, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 61)
br label %71
71: ; preds = %64, %2
br label %72
72: ; preds = %133, %71
%73 = load i32, i32* %9
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %168
75: ; preds = %72
store i32 0, i32* %8
br label %76
76: ; preds = %102, %88, %75
%77 = load i32, i32* %8
%78 = icmp slt i32 %77, 4
br i1 %78, label %79, label %115
79: ; preds = %76
%80 = load i8*, i8** %5
%81 = load i8, i8* %80
%82 = zext i8 %81 to i64
%83 = getelementptr inbounds [256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 %82
%84 = load i8, i8* %83
store i8 %84, i8* %12
%85 = load i8, i8* %12
%86 = zext i8 %85 to i32
%87 = icmp slt i32 %86, 100
br i1 %87, label %88, label %98
88: ; preds = %79
%89 = load i8, i8* %12
%90 = zext i8 %89 to i32
%91 = load i32, i32* %8
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 %92
store i32 %90, i32* %93
%94 = load i32, i32* %8
%95 = add nsw i32 %94, 1
store i32 %95, i32* %8
%96 = load i8*, i8** %5
%97 = getelementptr inbounds i8, i8* %96, i32 1
store i8* %97, i8** %5
br label %76
98: ; preds = %79
%99 = load i8, i8* %12
%100 = zext i8 %99 to i32
%101 = icmp eq i32 %100, 100
br i1 %101, label %102, label %105
102: ; preds = %98
%103 = load i8*, i8** %5
%104 = getelementptr inbounds i8, i8* %103, i32 1
store i8* %104, i8** %5
br label %76
105: ; preds = %98
br label %106
106: ; preds = %111, %105
%107 = load i8*, i8** %5
%108 = load i8, i8* %107
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 61
br i1 %110, label %111, label %114
111: ; preds = %106
%112 = load i8*, i8** %5
%113 = getelementptr inbounds i8, i8* %112, i32 1
store i8* %113, i8** %5
br label %106
114: ; preds = %106
store i32 0, i32* %9
br label %115
115: ; preds = %114, %76
%116 = load i32, i32* %9
%117 = icmp ne i32 %116, 0
br i1 %117, label %133, label %118
118: ; preds = %115
%119 = load i32, i32* %8
%120 = icmp slt i32 %119, 4
br i1 %120, label %121, label %133
121: ; preds = %118
%122 = load i32, i32* %8
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 %123
store i32 0, i32* %124
%125 = load i32, i32* %8
%126 = add nsw i32 %125, 1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 %127
store i32 0, i32* %128
%129 = load i32, i32* %8
%130 = add nsw i32 %129, 2
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 %131
store i32 0, i32* %132
br label %133
133: ; preds = %121, %118, %115
%134 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 0
%135 = load i32, i32* %134
%136 = shl i32 %135, 2
%137 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 1
%138 = load i32, i32* %137
%139 = lshr i32 %138, 4
%140 = or i32 %136, %139
%141 = trunc i32 %140 to i8
%142 = load i8*, i8** %6
store i8 %141, i8* %142
%143 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 1
%144 = load i32, i32* %143
%145 = shl i32 %144, 4
%146 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 2
%147 = load i32, i32* %146
%148 = lshr i32 %147, 2
%149 = or i32 %145, %148
%150 = trunc i32 %149 to i8
%151 = load i8*, i8** %6
%152 = getelementptr inbounds i8, i8* %151, i64 1
store i8 %150, i8* %152
%153 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 2
%154 = load i32, i32* %153
%155 = shl i32 %154, 6
%156 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 3
%157 = load i32, i32* %156
%158 = or i32 %155, %157
%159 = trunc i32 %158 to i8
%160 = load i8*, i8** %6
%161 = getelementptr inbounds i8, i8* %160, i64 2
store i8 %159, i8* %161
%162 = load i32, i32* %8
%163 = mul nsw i32 %162, 3
%164 = ashr i32 %163, 2
%165 = load i8*, i8** %6
%166 = sext i32 %164 to i64
%167 = getelementptr inbounds i8, i8* %165, i64 %166
store i8* %167, i8** %6
br label %72
168: ; preds = %72
%169 = load i8*, i8** %5
%170 = load i8, i8* %169
%171 = sext i8 %170 to i32
%172 = icmp eq i32 %171, 63
br i1 %172, label %173, label %182
173: ; preds = %168
%174 = load i8*, i8** %5
%175 = getelementptr inbounds i8, i8* %174, i64 1
%176 = load i8, i8* %175
%177 = sext i8 %176 to i32
%178 = icmp eq i32 %177, 61
br i1 %178, label %179, label %182
179: ; preds = %173
%180 = load i8*, i8** %5
%181 = getelementptr inbounds i8, i8* %180, i32 1
store i8* %181, i8** %5
br label %182
182: ; preds = %179, %173, %168
%183 = load i8*, i8** %5
%184 = load i8**, i8*** %4
store i8* %183, i8** %184
%185 = load i8*, i8** %6
%186 = load i8**, i8*** %3
store i8* %185, i8** %186
ret void
}

LLVM IR (-O2):
@base64_decode.tab = internal global [256 x i8] zeroinitializer
@base64_decode.initialized = internal unnamed_addr global i1 false
define void @base64_decode(i8** nocapture %0, i8** nocapture %1) {
%3 = alloca [6 x i32]
%4 = load i8*, i8** %1
%5 = load i8*, i8** %0
%6 = bitcast [6 x i32]* %3 to i8*
%7 = load i1, i1* @base64_decode.initialized
br i1 %7, label %10, label %8
8: ; preds = %2
store i1 true, i1* @base64_decode.initialized
%9 = tail call i32 @memset(i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 0), i32 100, i32 256)
store i8 -1, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 255)
store i8 -1, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 0)
store <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, <16 x i8>* bitcast (i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 65) to <16 x i8>*)
store i8 16, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 81)
store i8 17, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 82)
store i8 18, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 83)
store i8 19, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 84)
store i8 20, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 85)
store i8 21, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 86)
store i8 22, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 87)
store i8 23, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 88)
store i8 24, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 89)
store i8 25, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 90)
store i8 26, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 97)
store i8 27, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 98)
store i8 28, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 99)
store i8 29, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 100)
store i8 30, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 101)
store i8 31, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 102)
store <16 x i8> <i8 32, i8 33, i8 34, i8 35, i8 36, i8 37, i8 38, i8 39, i8 40, i8 41, i8 42, i8 43, i8 44, i8 45, i8 46, i8 47>, <16 x i8>* bitcast (i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 103) to <16 x i8>*)
store i8 48, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 119)
store i8 49, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 120)
store i8 50, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 121)
store i8 51, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 122)
store i8 52, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 48)
store i8 53, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 49)
store i8 54, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 50)
store i8 55, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 51)
store i8 56, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 52)
store i8 57, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 53)
store i8 58, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 54)
store i8 59, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 55)
store i8 60, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 56)
store i8 61, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 57)
store i8 62, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 43)
store i8 63, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 47)
store i8 -1, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 61)
br label %10
10: ; preds = %8, %2
%11 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 0
%12 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 1
%13 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 2
%14 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 3
br label %15
15: ; preds = %10, %56
%16 = phi i8* [ %4, %10 ], [ %58, %56 ]
%17 = phi i8* [ %5, %10 ], [ %80, %56 ]
br label %18
18: ; preds = %15, %40
%19 = phi i8* [ %16, %15 ], [ %42, %40 ]
%20 = phi i32 [ 0, %15 ], [ %41, %40 ]
%21 = load i8, i8* %19
%22 = zext i8 %21 to i64
%23 = getelementptr inbounds [256 x i8], [256 x i8]* @base64_decode.tab, i64 0, i64 %22
%24 = load i8, i8* %23
%25 = icmp ult i8 %24, 100
br i1 %25, label %26, label %31
26: ; preds = %18
%27 = zext i8 %24 to i32
%28 = sext i32 %20 to i64
%29 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 %28
store i32 %27, i32* %29
%30 = add nsw i32 %20, 1
br label %40
31: ; preds = %18
%32 = icmp eq i8 %24, 100
br i1 %32, label %40, label %33
33: ; preds = %31
%34 = icmp eq i8 %21, 61
br i1 %34, label %35, label %44
35: ; preds = %33, %35
%36 = phi i8* [ %37, %35 ], [ %19, %33 ]
%37 = getelementptr inbounds i8, i8* %36, i64 1
%38 = load i8, i8* %37
%39 = icmp eq i8 %38, 61
br i1 %39, label %35, label %44
40: ; preds = %31, %26
%41 = phi i32 [ %30, %26 ], [ %20, %31 ]
%42 = getelementptr inbounds i8, i8* %19, i64 1
%43 = icmp slt i32 %41, 4
br i1 %43, label %18, label %56
44: ; preds = %35, %33
%45 = phi i8* [ %19, %33 ], [ %37, %35 ]
%46 = icmp slt i32 %20, 4
br i1 %46, label %47, label %56
47: ; preds = %44
%48 = sext i32 %20 to i64
%49 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 %48
store i32 0, i32* %49
%50 = add nsw i32 %20, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 %51
store i32 0, i32* %52
%53 = add nsw i32 %20, 2
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [6 x i32], [6 x i32]* %3, i64 0, i64 %54
store i32 0, i32* %55
br label %56
56: ; preds = %40, %47, %44
%57 = phi i32 [ %20, %47 ], [ %20, %44 ], [ %41, %40 ]
%58 = phi i8* [ %45, %47 ], [ %45, %44 ], [ %42, %40 ]
%59 = phi i1 [ true, %47 ], [ true, %44 ], [ false, %40 ]
%60 = load i32, i32* %11
%61 = shl i32 %60, 2
%62 = load i32, i32* %12
%63 = lshr i32 %62, 4
%64 = or i32 %63, %61
%65 = trunc i32 %64 to i8
store i8 %65, i8* %17
%66 = shl i32 %62, 4
%67 = load i32, i32* %13
%68 = lshr i32 %67, 2
%69 = or i32 %68, %66
%70 = trunc i32 %69 to i8
%71 = getelementptr inbounds i8, i8* %17, i64 1
store i8 %70, i8* %71
%72 = shl i32 %67, 6
%73 = load i32, i32* %14
%74 = or i32 %73, %72
%75 = trunc i32 %74 to i8
%76 = getelementptr inbounds i8, i8* %17, i64 2
store i8 %75, i8* %76
%77 = mul nsw i32 %57, 3
%78 = ashr i32 %77, 2
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, i8* %17, i64 %79
br i1 %59, label %81, label %15
81: ; preds = %56
%82 = load i8, i8* %58
%83 = icmp eq i8 %82, 63
br i1 %83, label %84, label %89
84: ; preds = %81
%85 = getelementptr inbounds i8, i8* %58, i64 1
%86 = load i8, i8* %85
%87 = icmp eq i8 %86, 61
%88 = select i1 %87, i8* %85, i8* %58
br label %89
89: ; preds = %84, %81
%90 = phi i8* [ %58, %81 ], [ %88, %84 ]
store i8* %90, i8** %1
store i8* %80, i8** %0
ret void
}