// File: /workspace/github_cpp_makefile_star2_O3/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), %rdi
leaq (%rdx,%rdi), %rax
movq %rdi, %rsi
sarq $0x2, %rsi
movq %rdx, %rcx
testq %rsi, %rsi
jle 0xa288
andq $-0x4, %rdi
movq %rdi, %rcx
addq %rdx, %rcx
incq %rsi
leaq 0x3(%rdx), %rdi
movzbl -0x3(%rdi), %r8d
cmpl $0xa, %r8d
je 0xa2d2
cmpl $0x20, %r8d
je 0xa2d2
movzbl -0x2(%rdi), %r8d
cmpl $0xa, %r8d
je 0xa2d8
cmpl $0x20, %r8d
je 0xa2d8
movzbl -0x1(%rdi), %r8d
cmpl $0xa, %r8d
je 0xa2de
cmpl $0x20, %r8d
je 0xa2de
movzbl (%rdi), %r8d
cmpl $0xa, %r8d
je 0xa2e1
cmpl $0x20, %r8d
je 0xa2e1
decq %rsi
addq $0x4, %rdi
cmpq $0x1, %rsi
jg 0xa22c
movq %rax, %rsi
subq %rcx, %rsi
cmpq $0x1, %rsi
je 0xa2c0
cmpq $0x2, %rsi
je 0xa2b0
cmpq $0x3, %rsi
jne 0xa2cd
movzbl (%rcx), %esi
cmpl $0xa, %esi
je 0xa2e4
cmpl $0x20, %esi
je 0xa2e4
incq %rcx
movzbl (%rcx), %esi
cmpl $0xa, %esi
je 0xa2e4
cmpl $0x20, %esi
je 0xa2e4
incq %rcx
movzbl (%rcx), %esi
cmpl $0xa, %esi
je 0xa2e4
cmpl $0x20, %esi
je 0xa2e4
movq %rax, %rcx
jmp 0xa318
addq $-0x3, %rdi
jmp 0xa2e1
addq $-0x2, %rdi
jmp 0xa2e1
decq %rdi
movq %rdi, %rcx
cmpq %rax, %rcx
sete %dil
leaq 0x1(%rcx), %rsi
cmpq %rax, %rsi
sete %r8b
orb %dil, %r8b
jne 0xa318
movzbl (%rsi), %edx
cmpl $0xa, %edx
je 0xa30d
cmpl $0x20, %edx
je 0xa30d
movb %dl, (%rcx)
incq %rcx
incq %rsi
cmpq %rax, %rsi
jne 0xa2fb
movq (%r14), %rdx
movq %rcx, %rax
subq %rdx, %rax
movq %rax, 0x8(%r14)
movb $0x0, (%rcx)
movq 0x8(%r14), %rax
testb $0x3, %al
jne 0xa5de
testq %rax, %rax
je 0xa3a1
movq (%r14), %rdx
xorl %ecx, %ecx
leaq 0x3bee(%rip), %rdi      # 0xdf30
movsbq (%rdx,%rcx), %rsi
cmpb $0x40, (%rsi,%rdi)
jae 0xa357
incq %rcx
cmpq %rcx, %rax
jne 0xa342
jmp 0xa3a1
leaq -0x2(%rax), %rdi
cmpq %rcx, %rdi
setne %dil
cmpb $0x3d, %sil
setne %r8b
orb %dil, %r8b
jne 0xa38a
cmpb $0x3d, 0x1(%rdx,%rcx)
sete %dl
leaq -0x1(%rax), %rsi
cmpq %rcx, %rsi
sete %cl
orb %dl, %cl
jne 0xa3a1
jmp 0xa5fc
leaq -0x1(%rax), %rdx
cmpq %rcx, %rdx
jne 0xa5fc
cmpb $0x3d, %sil
jne 0xa5fc
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
shrq $0x2, %rax
leaq (%rax,%rax,2), %rsi
movq %rbx, %rdi
callq 0xc146
cmpq $0x5, 0x8(%r14)
jae 0xa3cd
xorl %ebp, %ebp
jmp 0xa483
xorl %ebp, %ebp
leaq 0x3b5a(%rip), %r15      # 0xdf30
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 0xcbaa
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 0xcbaa
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 0xcbaa
addq $0x4, %rbp
movq 0x8(%r14), %rax
addq $-0x4, %rax
cmpq %rax, %rbp
jb 0xa3e0
movq (%r14), %rax
cmpb $0x3d, 0x2(%rax,%rbp)
jne 0xa4c3
movsbq (%rax,%rbp), %rcx
leaq 0x3a97(%rip), %rdx      # 0xdf30
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 0xcbaa
jmp 0xa5cc
movq %rbp, %r15
orq $0x2, %r15
movq %rbp, %r12
orq $0x1, %r12
cmpb $0x3d, 0x3(%rax,%rbp)
jne 0xa53d
movsbq (%rax,%rbp), %rcx
leaq 0x3a4c(%rip), %r13      # 0xdf30
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 0xcbaa
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 0xcbaa
jmp 0xa5cc
movsbq (%rax,%rbp), %rcx
leaq 0x39e7(%rip), %r13      # 0xdf30
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 0xcbaa
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 0xcbaa
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 0xcbaa
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 0x3a75(%rip), %rsi      # 0xe067
movq %rax, %rdi
callq 0x23a0
jmp 0xa618
movl $0x10, %edi
callq 0x20f0
movq %rax, %rbx
leaq 0x3a73(%rip), %rsi      # 0xe083
movq %rax, %rdi
callq 0x23a0
movq 0x79b1(%rip), %rsi      # 0x11fd0
movq 0x799a(%rip), %rdx      # 0x11fc0
movq %rbx, %rdi
callq 0x2360
jmp 0xa63c
jmp 0xa64f
jmp 0xa64f
jmp 0xa64f
jmp 0xa64f
jmp 0xa64f
jmp 0xa64f
movq %rax, %r14
movq %rbx, %rdi
callq 0x2160
jmp 0xa666
jmp 0xa64f
jmp 0xa64f
jmp 0xa64f
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xa666
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %r14, %rdi
callq 0x2380