// File: /workspace/github_cpp_makefile_star2_O2/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), %rcx
movq 0x8(%rsi), %rdx
leaq (%rcx,%rdx), %rax
movq %rdx, %rdi
sarq $0x2, %rdi
xorl %r8d, %r8d
xorl %esi, %esi
testq %rdi, %rdi
jle 0x94b8
movzbl (%rcx,%r8,4), %r9d
cmpl $0xa, %r9d
je 0x9462
cmpl $0x20, %r9d
je 0x9462
movzbl 0x1(%rcx,%r8,4), %r9d
cmpl $0xa, %r9d
je 0x946a
cmpl $0x20, %r9d
je 0x946a
movzbl 0x2(%rcx,%r8,4), %r9d
cmpl $0xa, %r9d
je 0x9475
cmpl $0x20, %r9d
je 0x9475
movzbl 0x3(%rcx,%r8,4), %r9d
cmpl $0xa, %r9d
je 0x9481
cmpl $0x20, %r9d
je 0x9481
decq %rdi
addq $-0x4, %rsi
incq %r8
jmp 0x9406
movq %rcx, %rdi
subq %rsi, %rdi
jmp 0x948b
movq %rcx, %rdi
subq %rsi, %rdi
incq %rdi
jmp 0x948b
movq %rcx, %rdi
subq %rsi, %rdi
addq $0x2, %rdi
jmp 0x948b
movq %rcx, %rdi
subq %rsi, %rdi
addq $0x3, %rdi
cmpq %rax, %rdi
je 0x950b
movq %rdi, %rsi
incq %rdi
cmpq %rax, %rdi
je 0x94af
movzbl (%rdi), %ecx
cmpl $0x20, %ecx
je 0x9493
cmpl $0xa, %ecx
je 0x9493
movb %cl, (%rsi)
incq %rsi
jmp 0x9493
movq (%r14), %rcx
movq 0x8(%r14), %rdx
jmp 0x950e
movq %rcx, %rdi
subq %rsi, %rdi
leaq (%rdx,%rsi), %r9
cmpq $0x1, %r9
je 0x94fe
cmpq $0x2, %r9
je 0x94ee
cmpq $0x3, %r9
jne 0x950b
movzbl (%rcx,%r8,4), %r8d
cmpl $0xa, %r8d
je 0x948b
cmpl $0x20, %r8d
je 0x948b
movq %rcx, %rdi
subq %rsi, %rdi
incq %rdi
movzbl (%rdi), %esi
cmpl $0xa, %esi
je 0x948b
cmpl $0x20, %esi
je 0x948b
incq %rdi
movzbl (%rdi), %esi
cmpl $0xa, %esi
je 0x948b
cmpl $0x20, %esi
je 0x948b
movq %rax, %rsi
addq %rcx, %rdx
movq %r14, %rdi
callq 0x2050
movq 0x8(%r14), %rax
testb $0x3, %al
jne 0x979b
xorl %ecx, %ecx
leaq 0x39e2(%rip), %rbp      # 0xcf10
cmpq %rcx, %rax
je 0x9585
movq (%r14), %rsi
movsbq (%rsi,%rcx), %rdx
cmpb $0x40, (%rdx,%rbp)
jae 0x9546
incq %rcx
jmp 0x952e
leaq -0x2(%rax), %rdi
cmpq %rcx, %rdi
jne 0x956f
cmpb $0x3d, %dl
jne 0x956f
cmpb $0x3d, 0x1(%rsi,%rcx)
sete %dl
leaq -0x1(%rax), %rsi
cmpq %rcx, %rsi
sete %cl
orb %dl, %cl
jne 0x9585
jmp 0x97b7
leaq -0x1(%rax), %rsi
cmpq %rcx, %rsi
jne 0x97b7
cmpb $0x3d, %dl
jne 0x97b7
andq $0x0, 0x10(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
shrq $0x2, %rax
leaq (%rax,%rax,2), %rsi
movq %rbx, %rdi
callq 0xad18
movq 0x8(%r14), %rax
xorl %r15d, %r15d
cmpq $0x4, %rax
jb 0x965d
leaq 0x10(%rsp), %r12
leaq 0xf(%rsp), %r13
addq $-0x4, %rax
cmpq %rax, %r15
jae 0x965d
movq (%r14), %rax
movsbq (%rax,%r15), %rcx
movb (%rcx,%rbp), %cl
shlb $0x2, %cl
movsbq 0x1(%rax,%r15), %rax
movb (%rax,%rbp), %al
shrb $0x4, %al
andb $0x3, %al
orb %cl, %al
movb %al, 0x11(%rsp)
movq %rbx, %rdi
leaq 0x11(%rsp), %rsi
callq 0xb792
movq (%r14), %rax
movsbq 0x1(%rax,%r15), %rcx
movb (%rcx,%rbp), %cl
shlb $0x4, %cl
movsbq 0x2(%rax,%r15), %rax
movb (%rax,%rbp), %al
shrb $0x2, %al
andb $0xf, %al
orb %cl, %al
movb %al, 0x10(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0xb792
movq (%r14), %rax
movsbq 0x2(%rax,%r15), %rcx
movb (%rcx,%rbp), %cl
shlb $0x6, %cl
movsbq 0x3(%rax,%r15), %rax
movb (%rax,%rbp), %al
andb $0x3f, %al
orb %cl, %al
movb %al, 0xf(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0xb792
addq $0x4, %r15
movq 0x8(%r14), %rax
jmp 0x95bb
movq (%r14), %rax
cmpb $0x3d, 0x2(%rax,%r15)
jne 0x9697
movsbq (%rax,%r15), %rcx
movb (%rcx,%rbp), %cl
shlb $0x2, %cl
movsbq 0x1(%rax,%r15), %rax
movb (%rax,%rbp), %al
shrb $0x4, %al
andb $0x3, %al
orb %cl, %al
leaq 0x17(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xb792
jmp 0x9789
movq %r15, %r12
orq $0x2, %r12
movq %r15, %r13
orq $0x1, %r13
cmpb $0x3d, 0x3(%rax,%r15)
jne 0x9707
movsbq (%rax,%r15), %rcx
movb (%rcx,%rbp), %cl
shlb $0x2, %cl
movsbq (%rax,%r13), %rax
movb (%rax,%rbp), %al
shrb $0x4, %al
andb $0x3, %al
orb %cl, %al
leaq 0x16(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xb792
movq (%r14), %rax
movsbq (%rax,%r13), %rcx
movb (%rcx,%rbp), %cl
shlb $0x4, %cl
movsbq (%rax,%r12), %rax
movb (%rax,%rbp), %al
shrb $0x2, %al
andb $0xf, %al
orb %cl, %al
leaq 0x15(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xb792
jmp 0x9789
movsbq (%rax,%r15), %rcx
movb (%rcx,%rbp), %cl
shlb $0x2, %cl
movsbq (%rax,%r13), %rax
movb (%rax,%rbp), %al
shrb $0x4, %al
andb $0x3, %al
orb %cl, %al
leaq 0x14(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xb792
movq (%r14), %rax
movsbq (%rax,%r13), %rcx
movb (%rcx,%rbp), %cl
shlb $0x4, %cl
movsbq (%rax,%r12), %rax
movb (%rax,%rbp), %al
shrb $0x2, %al
andb $0xf, %al
orb %cl, %al
leaq 0x13(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xb792
orq $0x3, %r15
movq (%r14), %rax
movsbq (%rax,%r12), %rcx
movb (%rcx,%rbp), %cl
shlb $0x6, %cl
movsbq (%rax,%r15), %rax
movb (%rax,%rbp), %al
andb $0x3f, %al
orb %cl, %al
leaq 0x12(%rsp), %rsi
movb %al, (%rsi)
movq %rbx, %rdi
callq 0xb792
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x2100
movq %rax, %rbx
leaq 0x38aa(%rip), %rsi      # 0xd057
movq %rax, %rdi
callq 0x23a0
jmp 0x97d1
pushq $0x10
popq %rdi
callq 0x2100
movq %rax, %rbx
leaq 0x38aa(%rip), %rsi      # 0xd073
movq %rax, %rdi
callq 0x23a0
movq 0x87f8(%rip), %rsi      # 0x11fd0
movq 0x87e1(%rip), %rdx      # 0x11fc0
movq %rbx, %rdi
callq 0x2360
jmp 0x97f5
jmp 0x9808
jmp 0x9808
jmp 0x9808
jmp 0x9808
jmp 0x9808
jmp 0x9808
movq %rax, %r14
movq %rbx, %rdi
callq 0x2160
jmp 0x9813
jmp 0x9808
jmp 0x9808
jmp 0x9808
movq %rax, %r14
movq %rbx, %rdi
callq 0xb73e
movq %r14, %rdi
callq 0x2380