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

// Assembly:
pushq %rbx
andl $0x1ff, %edx            # imm = 0x1FF
movl (%rdi), %r9d
movl 0x4(%rdi), %r8d
movl %r9d, %r11d
shll $0x9, %r11d
andl $0xffe00, %r11d         # imm = 0xFFE00
orl %edx, %r11d
movl %r8d, %r10d
shll $0x14, %r10d
andl $0x7ff00000, %r10d      # imm = 0x7FF00000
orl %r11d, %r10d
movl 0x8(%rdi), %ecx
movq %rcx, %rdx
shlq $0x1f, %rdx
orq %r10, %rdx
movl %r10d, %ebx
andl $0x3f, %ebx
leaq 0x2b87(%rip), %rax      # 0x9010
movb (%rbx,%rax), %bl
movb %bl, (%rsi)
shrl $0x6, %r11d
andl $0x3f, %r11d
movb (%r11,%rax), %r11b
movb %r11b, 0x1(%rsi)
shrl $0x3, %r9d
andl $0x3f, %r9d
movb (%r9,%rax), %r9b
movb %r9b, 0x2(%rsi)
shrl $0x12, %r10d
andl $0x3f, %r10d
movb (%r10,%rax), %r9b
movb %r9b, 0x3(%rsi)
shrl $0x4, %r8d
andl $0x3f, %r8d
movb (%r8,%rax), %r8b
movb %r8b, 0x4(%rsi)
shrq $0x1e, %rdx
andl $0x3f, %edx
movb (%rdx,%rax), %dl
movb %dl, 0x5(%rsi)
shrl $0x5, %ecx
andl $0x3f, %ecx
movb (%rcx,%rax), %cl
movb %cl, 0x6(%rsi)
movl 0xc(%rdi), %ecx
andl $0x3f, %ecx
movb (%rcx,%rax), %cl
movb %cl, 0x7(%rsi)
movl 0xc(%rdi), %ecx
movl 0x10(%rdi), %edx
shrl $0x6, %ecx
andl $0x1f, %ecx
shll $0x5, %edx
andl $0x20, %edx
orl %ecx, %edx
movb (%rdx,%rax), %cl
movb %cl, 0x8(%rsi)
movl 0x10(%rdi), %ecx
shrl %ecx
andl $0x3f, %ecx
movb (%rcx,%rax), %cl
movb %cl, 0x9(%rsi)
movl 0x10(%rdi), %ecx
movl 0x14(%rdi), %edx
shrl $0x7, %ecx
andl $0xf, %ecx
shll $0x4, %edx
andl $0x30, %edx
orl %ecx, %edx
movb (%rdx,%rax), %cl
movb %cl, 0xa(%rsi)
movl 0x14(%rdi), %ecx
shrl $0x2, %ecx
andl $0x3f, %ecx
movb (%rcx,%rax), %cl
movb %cl, 0xb(%rsi)
movl 0x14(%rdi), %ecx
movl 0x18(%rdi), %edx
shrl $0x8, %ecx
andl $0x7, %ecx
andl $0x7, %edx
leal (%rcx,%rdx,8), %ecx
movb (%rcx,%rax), %cl
movb %cl, 0xc(%rsi)
movl 0x18(%rdi), %ecx
shrl $0x3, %ecx
andl $0x3f, %ecx
movb (%rcx,%rax), %cl
movb %cl, 0xd(%rsi)
movl 0x18(%rdi), %ecx
movl 0x1c(%rdi), %edx
shrl $0x9, %ecx
andl $0x3, %ecx
andl $0xf, %edx
leal (%rcx,%rdx,4), %ecx
movb (%rcx,%rax), %cl
movb %cl, 0xe(%rsi)
movl 0x1c(%rdi), %ecx
shrl $0x4, %ecx
andl $0x3f, %ecx
movb (%rcx,%rax), %cl
movb %cl, 0xf(%rsi)
movl 0x1c(%rdi), %ecx
movl 0x20(%rdi), %edx
shrl $0xa, %ecx
andl $0x1, %ecx
andl $0x1f, %edx
leal (%rcx,%rdx,2), %ecx
movb (%rcx,%rax), %cl
movb %cl, 0x10(%rsi)
movl 0x20(%rdi), %ecx
shrl $0x5, %ecx
andl $0x3f, %ecx
movb (%rcx,%rax), %al
movb %al, 0x11(%rsi)
popq %rbx
retq