// File: /workspace/github_cpp_makefile_star2_O1/occivink[P]pyct/pyct.cpp
// Function: from_base_64(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
vector<u8> from_base_64(string b64)
{
    static const array<u8, 256> table = {
        64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,
        64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,
        64,64,64,64,64,64,64,64,64,64,64,62,64,63,64,64,
        52,53,54,55,56,57,58,59,60,61,64,64,64,64,64,64,
        64, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,
        15,16,17,18,19,20,21,22,23,24,25,64,64,64,64,64,
        64,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,
        41,42,43,44,45,46,47,48,49,50,51,64,64,64,64,64,
        64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,
        64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,
        64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,
        64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,
        64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,
        64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,
        64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,
        64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,
    };
    b64.erase(remove_if(b64.begin(), b64.end(), [](char c) { return c == '\n' or c == ' '; }), b64.end());
    if (b64.size() % 4 != 0)
        throw invalid_argument("Invalid base64 input length");
    for (size_t i = 0; i < b64.size(); ++i) {
        if (table[b64[i]] < 64)
            continue;
        if ((i + 2) == b64.size() and b64[i] == '=' and b64[i+1] == '=')
            break;
        if ((i + 1) == b64.size() and b64[i] == '=')
            break;
        throw invalid_argument{"Invalid base64 character"};
    }

    vector<u8> ret;
    ret.reserve(b64.size() / 4 * 3);
    size_t i = 0;
    if (b64.size() >= 4) {
        for (; i < b64.size() - 4; i += 4) {
            ret.push_back(((table[b64[i]]   & 0b00111111) << 2) |
                          ((table[b64[i+1]] & 0b00110000) >> 4));
            ret.push_back(((table[b64[i+1]] & 0b00001111) << 4) |
                          ((table[b64[i+2]] & 0b00111100) >> 2));
            ret.push_back(((table[b64[i+2]] & 0b00000011) << 6) |
                          ((table[b64[i+3]] & 0b00111111)));
        }
    }
    if (b64[i+2] == '=') {
        ret.push_back(((table[b64[i]]   & 0b00111111) << 2) |
                      ((table[b64[i+1]] & 0b00110000) >> 4));
    } else if (b64[i+3] == '=') {
        ret.push_back(((table[b64[i]]   & 0b00111111) << 2) |
                      ((table[b64[i+1]] & 0b00110000) >> 4));
        ret.push_back(((table[b64[i+1]] & 0b00001111) << 4) |
                      ((table[b64[i+2]] & 0b00111100) >> 2));
    } else {
        ret.push_back(((table[b64[i]]   & 0b00111111) << 2) |
                      ((table[b64[i+1]] & 0b00110000) >> 4));
        ret.push_back(((table[b64[i+1]] & 0b00001111) << 4) |
                      ((table[b64[i+2]] & 0b00111100) >> 2));
        ret.push_back(((table[b64[i+2]] & 0b00000011) << 6) |
                      ((table[b64[i+3]] & 0b00111111)));
    }
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rdx
movq 0x8(%rsi), %rsi
leaq (%rdx,%rsi), %rax
movq %rsi, %rdi
sarq $0x2, %rdi
testq %rdi, %rdi
jle 0xa086
andq $-0x4, %rsi
addq %rdx, %rsi
incq %rdi
addq $0x3, %rdx
movq %rdx, %rcx
movzbl -0x3(%rcx), %edx
cmpl $0xa, %edx
je 0xa0c3
cmpl $0x20, %edx
je 0xa0c3
movzbl -0x2(%rcx), %edx
cmpl $0xa, %edx
je 0xa0c9
cmpl $0x20, %edx
je 0xa0c9
movzbl -0x1(%rcx), %edx
cmpl $0xa, %edx
je 0xa0cf
cmpl $0x20, %edx
je 0xa0cf
movzbl (%rcx), %edx
cmpl $0xa, %edx
je 0xa0ea
cmpl $0x20, %edx
je 0xa0ea
decq %rdi
addq $0x4, %rcx
cmpq $0x1, %rdi
jg 0xa03f
movq %rsi, %rdx
movq %rax, %rsi
subq %rdx, %rsi
cmpq $0x1, %rsi
je 0xa0d7
cmpq $0x2, %rsi
je 0xa0b1
movq %rax, %rcx
cmpq $0x3, %rsi
jne 0xa0ea
movzbl (%rdx), %ecx
cmpl $0xa, %ecx
je 0xa0be
cmpl $0x20, %ecx
je 0xa0be
incq %rdx
movzbl (%rdx), %ecx
cmpl $0xa, %ecx
je 0xa0be
cmpl $0x20, %ecx
jne 0xa0d4
movq %rdx, %rcx
jmp 0xa0ea
addq $-0x3, %rcx
jmp 0xa0ea
addq $-0x2, %rcx
jmp 0xa0ea
decq %rcx
jmp 0xa0ea
incq %rdx
movq %rdx, %rcx
movzbl (%rdx), %edx
cmpl $0xa, %edx
je 0xa0ea
cmpl $0x20, %edx
je 0xa0ea
movq %rax, %rcx
cmpq %rax, %rcx
sete %sil
leaq 0x1(%rcx), %rdx
cmpq %rax, %rdx
sete %dil
orb %sil, %dil
jne 0xa11c
movzbl (%rdx), %esi
cmpl $0xa, %esi
je 0xa114
cmpl $0x20, %esi
je 0xa114
movb %sil, (%rcx)
incq %rcx
incq %rdx
cmpq %rax, %rdx
jne 0xa101
movq %rcx, %rax
subq (%r14), %rax
movq %rax, 0x8(%r14)
movb $0x0, (%rcx)
movq 0x8(%r14), %rax
testb $0x3, %al
jne 0xa3d5
testq %rax, %rax
je 0xa191
movq (%r14), %rdx
xorl %ecx, %ecx
leaq 0x3dca(%rip), %rdi      # 0xdf10
movsbq (%rdx,%rcx), %rsi
cmpb $0x40, (%rsi,%rdi)
jae 0xa15b
incq %rcx
cmpq %rcx, %rax
jne 0xa146
jmp 0xa191
leaq -0x2(%rax), %rdi
cmpq %rcx, %rdi
setne %dil
cmpb $0x3d, %sil
setne %r8b
orb %dil, %r8b
jne 0xa17a
cmpb $0x3d, 0x1(%rdx,%rcx)
je 0xa191
leaq -0x1(%rax), %rdx
cmpq %rcx, %rdx
jne 0xa407
cmpb $0x3d, %sil
jne 0xa407
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
shrq $0x2, %rax
leaq (%rax,%rax,2), %rsi
movq %rbx, %rdi
callq 0xbfb0
cmpq $0x4, 0x8(%r14)
jb 0xa1bd
cmpq $0x4, 0x8(%r14)
jne 0xa1c4
xorl %ebp, %ebp
jmp 0xa27a
xorl %ebp, %ebp
leaq 0x3d43(%rip), %r15      # 0xdf10
leaq 0x10(%rsp), %r12
leaq 0xf(%rsp), %r13
movq (%r14), %rax
movsbq (%rax,%rbp), %rcx
movb (%rcx,%r15), %cl
shlb $0x2, %cl
movsbq 0x1(%rax,%rbp), %rax
movb (%rax,%r15), %al
shrb $0x4, %al
andb $0x3, %al
orb %cl, %al
movb %al, 0x11(%rsp)
movq %rbx, %rdi
leaq 0x11(%rsp), %rsi
callq 0xcae0
movq (%r14), %rax
movsbq 0x1(%rax,%rbp), %rcx
movb (%rcx,%r15), %cl
shlb $0x4, %cl
movsbq 0x2(%rax,%rbp), %rax
movb (%rax,%r15), %al
shrb $0x2, %al
andb $0xf, %al
orb %cl, %al
movb %al, 0x10(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0xcae0
movq (%r14), %rax
movsbq 0x2(%rax,%rbp), %rcx
movb (%rcx,%r15), %cl
shlb $0x6, %cl
movsbq 0x3(%rax,%rbp), %rax
movb (%rax,%r15), %al
andb $0x3f, %al
orb %cl, %al
movb %al, 0xf(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0xcae0
addq $0x4, %rbp
movq 0x8(%r14), %rax
addq $-0x4, %rax
cmpq %rax, %rbp
jb 0xa1d7
movq (%r14), %rax
cmpb $0x3d, 0x2(%rax,%rbp)
jne 0xa2ba
movsbq (%rax,%rbp), %rcx
leaq 0x3c80(%rip), %rdx      # 0xdf10
movb (%rcx,%rdx), %cl
shlb $0x2, %cl
movsbq 0x1(%rax,%rbp), %rax
movb (%rax,%rdx), %al
shrb $0x4, %al
andb $0x3, %al
orb %cl, %al
leaq 0x17(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xcae0
jmp 0xa3c3
movq %rbp, %r15
orq $0x2, %r15
movq %rbp, %r12
orq $0x1, %r12
cmpb $0x3d, 0x3(%rax,%rbp)
jne 0xa334
movsbq (%rax,%rbp), %rcx
leaq 0x3c35(%rip), %r13      # 0xdf10
movb (%rcx,%r13), %cl
shlb $0x2, %cl
movsbq (%rax,%r12), %rax
movb (%rax,%r13), %al
shrb $0x4, %al
andb $0x3, %al
orb %cl, %al
leaq 0x16(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xcae0
movq (%r14), %rax
movsbq (%rax,%r12), %rcx
movb (%rcx,%r13), %cl
shlb $0x4, %cl
movsbq (%rax,%r15), %rax
movb (%rax,%r13), %al
shrb $0x2, %al
andb $0xf, %al
orb %cl, %al
leaq 0x15(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xcae0
jmp 0xa3c3
movsbq (%rax,%rbp), %rcx
leaq 0x3bd0(%rip), %r13      # 0xdf10
movb (%rcx,%r13), %cl
shlb $0x2, %cl
movsbq (%rax,%r12), %rax
movb (%rax,%r13), %al
shrb $0x4, %al
andb $0x3, %al
orb %cl, %al
leaq 0x14(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xcae0
movq (%r14), %rax
movsbq (%rax,%r12), %rcx
movb (%rcx,%r13), %cl
shlb $0x4, %cl
movsbq (%rax,%r15), %rax
movb (%rax,%r13), %al
shrb $0x2, %al
andb $0xf, %al
orb %cl, %al
leaq 0x13(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xcae0
orq $0x3, %rbp
movq (%r14), %rax
movsbq (%rax,%r15), %rcx
movb (%rcx,%r13), %cl
shlb $0x6, %cl
movsbq (%rax,%rbp), %rax
movb (%rax,%r13), %al
andb $0x3f, %al
orb %cl, %al
leaq 0x12(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xcae0
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x20f0
movq %rax, %rbx
leaq 0x3c6e(%rip), %rsi      # 0xe057
movq %rax, %rdi
callq 0x23a0
movq 0x7bd8(%rip), %rsi      # 0x11fd0
movq 0x7bc1(%rip), %rdx      # 0x11fc0
movq %rbx, %rdi
callq 0x2360
movl $0x10, %edi
callq 0x20f0
movq %rax, %rbx
leaq 0x3c58(%rip), %rsi      # 0xe073
movq %rax, %rdi
callq 0x23a0
jmp 0xa3f1
jmp 0xa433
jmp 0xa446
jmp 0xa446
jmp 0xa446
jmp 0xa446
jmp 0xa446
jmp 0xa446
movq %rax, %r14
movq %rbx, %rdi
callq 0x2160
jmp 0xa45d
jmp 0xa446
jmp 0xa446
jmp 0xa446
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xa45d
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %r14, %rdi
callq 0x2380