// File: /workspace/github_c_makefile_star2_O1/svpv[P]rpmset/./base64pack.h
// Function: pack10x10c18e8
static inline void pack10x10c18e8(const uint32_t *v, char *s, unsigned e)
{
    uint32_t x;
    x = (v[0] & Mask(10)) | (v[1] & Mask(10)) << 10 | (v[2] & Mask(10)) << 20;
    s[ 0] = base64[(x & Mask( 6))];
    s[ 1] = base64[(x & Mask(12)) >> 6];
    s[ 2] = base64[(x & Mask(18)) >> 12];
    s[ 3] = base64[(x & Mask(24)) >> 18];
    s[ 4] = base64[(x >> 24)];
    x = (v[3] & Mask(10)) | (v[4] & Mask(10)) << 10 | (v[5] & Mask(10)) << 20;
    s[ 5] = base64[(x & Mask( 6))];
    s[ 6] = base64[(x & Mask(12)) >> 6];
    s[ 7] = base64[(x & Mask(18)) >> 12];
    s[ 8] = base64[(x & Mask(24)) >> 18];
    s[ 9] = base64[(x >> 24)];
    x = (v[6] & Mask(10)) | (v[7] & Mask(10)) << 10 | (v[8] & Mask(10)) << 20;
    s[10] = base64[(x & Mask( 6))];
    s[11] = base64[(x & Mask(12)) >> 6];
    s[12] = base64[(x & Mask(18)) >> 12];
    s[13] = base64[(x & Mask(24)) >> 18];
    s[14] = base64[(x >> 24)];
    x = (v[9] & Mask(10)) | (e & Mask(8)) << 10;
    s[15] = base64[(x & Mask( 6))];
    s[16] = base64[(x & Mask(12)) >> 6];
    s[17] = base64[(x & Mask(18)) >> 12];
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
movl (%rdi), %ebx
movl 0x4(%rdi), %r10d
movl $0x3c0, %ecx            # imm = 0x3C0
movl %ebx, %eax
andl %ecx, %eax
movl %r10d, %r14d
shll $0xa, %r14d
movl $0xc0000, %r8d          # imm = 0xC0000
movl %r14d, %ebp
andl %r8d, %ebp
movl 0x8(%rdi), %r9d
movl %r9d, %r11d
shll $0x14, %r11d
orl %ebp, %r11d
orl %eax, %r14d
andl $0x3f, %ebx
leaq 0x3578(%rip), %rax      # 0x9010
movb (%rbx,%rax), %bl
movb %bl, (%rsi)
shrl $0x6, %r14d
andl $0x3f, %r14d
movb (%r14,%rax), %bl
movb %bl, 0x1(%rsi)
shrl $0x2, %r10d
andl $0x3f, %r10d
movb (%r10,%rax), %r10b
movb %r10b, 0x2(%rsi)
shrl $0x12, %r11d
andl $0x3f, %r11d
movb (%r11,%rax), %r10b
movb %r10b, 0x3(%rsi)
shrl $0x4, %r9d
andl $0x3f, %r9d
movb (%r9,%rax), %r9b
movb %r9b, 0x4(%rsi)
movl 0xc(%rdi), %r11d
movl 0x10(%rdi), %r10d
movl %r11d, %ebx
andl %ecx, %ebx
movl %r10d, %r14d
shll $0xa, %r14d
movl %r14d, %ebp
andl %r8d, %ebp
movl 0x14(%rdi), %r9d
movl %r9d, %r15d
shll $0x14, %r15d
orl %ebp, %r15d
orl %ebx, %r14d
andl $0x3f, %r11d
movb (%r11,%rax), %r11b
movb %r11b, 0x5(%rsi)
shrl $0x6, %r14d
andl $0x3f, %r14d
movb (%r14,%rax), %r11b
movb %r11b, 0x6(%rsi)
shrl $0x2, %r10d
andl $0x3f, %r10d
movb (%r10,%rax), %r10b
movb %r10b, 0x7(%rsi)
shrl $0x12, %r15d
andl $0x3f, %r15d
movb (%r15,%rax), %r10b
movb %r10b, 0x8(%rsi)
shrl $0x4, %r9d
andl $0x3f, %r9d
movb (%r9,%rax), %r9b
movb %r9b, 0x9(%rsi)
movl 0x18(%rdi), %r11d
movl 0x1c(%rdi), %r10d
movl %r11d, %ebx
andl %ecx, %ebx
movl %r10d, %r14d
shll $0xa, %r14d
andl %r14d, %r8d
movl 0x20(%rdi), %r9d
movl %r9d, %r15d
shll $0x14, %r15d
orl %r8d, %r15d
orl %ebx, %r14d
andl $0x3f, %r11d
movb (%r11,%rax), %r8b
movb %r8b, 0xa(%rsi)
shrl $0x6, %r14d
andl $0x3f, %r14d
movb (%r14,%rax), %r8b
movb %r8b, 0xb(%rsi)
shrl $0x2, %r10d
andl $0x3f, %r10d
movb (%r10,%rax), %r8b
movb %r8b, 0xc(%rsi)
shrl $0x12, %r15d
andl $0x3f, %r15d
movb (%r15,%rax), %r8b
movb %r8b, 0xd(%rsi)
shrl $0x4, %r9d
andl $0x3f, %r9d
movb (%r9,%rax), %r8b
movb %r8b, 0xe(%rsi)
movl 0x24(%rdi), %edi
andl %edi, %ecx
movl %edx, %r8d
shll $0xa, %r8d
orl %ecx, %r8d
andl $0x3f, %edi
movb (%rdi,%rax), %cl
movb %cl, 0xf(%rsi)
shrl $0x6, %r8d
andl $0x3f, %r8d
movb (%r8,%rax), %cl
movb %cl, 0x10(%rsi)
shrl $0x2, %edx
andl $0x3f, %edx
movb (%rdx,%rax), %al
movb %al, 0x11(%rsi)
popq %rbx
popq %r14
popq %r15
popq %rbp
retq