user: Demonstrate the C code that generates the assembly output below:

```asm
<base64_encode>:
  endbr64
  push   %r14
  mov    %rsi,%r14
  push   %r13
  mov    %rdx,%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  call   <strlen@plt>
  test   %eax,%eax
  jle    L200
  mov    %r13,%rdi
  mov    %eax,%r12d
  call   <strlen@plt>
  test   %eax,%eax
  jle    L43
  cmp    %eax,%r12d
  cmovg  %eax,%r12d
  mov    %r12d,%edi
  call   <malloc@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L181
  xor    %esi,%esi
  mov    %r12d,%edx
  mov    %rax,%rdi
  call   <memset@plt>
  lea    0x1(%rbx),%rsi
  mov    %rbp,%rdx
  lea    0x1(%r13),%rdi
  sub    %rsi,%rdx
  mov    %r12d,%ecx
  lea    -0x1(%r12),%eax
  cmp    $0xe,%rdx
  mov    %rbp,%rdx
  seta   %sil
  sub    %rdi,%rdx
  cmp    $0xe,%rdx
  seta   %dl
  test   %dl,%sil
  je     L104
  cmp    $0x6,%eax
  jbe    L104
  cmp    $0xe,%eax
  jbe    L211
  mov    %r12d,%edx
  xor    %eax,%eax
  shr    $0x4,%edx
  shl    $0x4,%rdx
  nop
L26:
  movdqu (%rbx,%rax,1),%xmm0
  movdqu 0x0(%r13,%rax,1),%xmm2
  pxor   %xmm2,%xmm0
  movups %xmm0,0x0(%rbp,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%rdx
  jne    L26
  mov    %r12d,%eax
  and    $0xfffffff0,%eax
  mov    %eax,%edx
  cmp    %eax,%r12d
  je     L12
  mov    %r12d,%ecx
  sub    %eax,%ecx
  lea    -0x1(%rcx),%esi
  cmp    $0x6,%esi
  jbe    L128
L115:
  movq   (%rbx,%rax,1),%xmm0
  movq   0x0(%r13,%rax,1),%xmm1
  pxor   %xmm1,%xmm0
  movq   %xmm0,0x0(%rbp,%rax,1)
  mov    %ecx,%eax
  and    $0xfffffff8,%eax
  add    %eax,%edx
  cmp    %eax,%ecx
  je     L12
L128:
  movslq %edx,%rax
  movzbl (%rbx,%rax,1),%ecx
  xor    0x0(%r13,%rax,1),%cl
  mov    %cl,0x0(%rbp,%rax,1)
  lea    0x1(%rdx),%eax
  cmp    %eax,%r12d
  jle    L12
  cltq
  movzbl (%rbx,%rax,1),%ecx
  xor    0x0(%r13,%rax,1),%cl
  mov    %cl,0x0(%rbp,%rax,1)
  lea    0x2(%rdx),%eax
  cmp    %eax,%r12d
  jle    L12
  cltq
  movzbl (%rbx,%rax,1),%ecx
  xor    0x0(%r13,%rax,1),%cl
  mov    %cl,0x0(%rbp,%rax,1)
  lea    0x3(%rdx),%eax
  cmp    %eax,%r12d
  jle    L12
  cltq
  movzbl (%rbx,%rax,1),%ecx
  xor    0x0(%r13,%rax,1),%cl
  mov    %cl,0x0(%rbp,%rax,1)
  lea    0x4(%rdx),%eax
  cmp    %eax,%r12d
  jle    L12
  cltq
  movzbl (%rbx,%rax,1),%ecx
  xor    0x0(%r13,%rax,1),%cl
  mov    %cl,0x0(%rbp,%rax,1)
  lea    0x5(%rdx),%eax
  cmp    %eax,%r12d
  jle    L12
  cltq
  add    $0x6,%edx
  movzbl (%rbx,%rax,1),%ecx
  xor    0x0(%r13,%rax,1),%cl
  mov    %cl,0x0(%rbp,%rax,1)
  cmp    %edx,%r12d
  jle    L12
  movslq %edx,%rdx
  movzbl (%rbx,%rdx,1),%eax
  xor    0x0(%r13,%rdx,1),%al
  mov    %al,0x0(%rbp,%rdx,1)
L12:
  mov    %rbp,%rdi
  mov    %r12d,%esi
  call   <base64encode@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L16
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rbp,%rsi
  mov    %r14,%rdi
  mov    %eax,%edx
  call   <memcpy@plt>
L16:
  mov    %rbp,%rdi
  call   <free@plt>
  xor    %eax,%eax
L207:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L104:
  mov    %r12d,%ecx
  xor    %eax,%eax
  nopl   (%rax)
L106:
  movzbl (%rbx,%rax,1),%edx
  xor    0x0(%r13,%rax,1),%dl
  mov    %dl,0x0(%rbp,%rax,1)
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L106
  jmp    L12
L211:
  xor    %eax,%eax
  xor    %edx,%edx
  jmp    L115
L200:
  mov    $0xffffffff,%eax
  jmp    L207
L43:
  mov    $0xfffffffe,%eax
  jmp    L207
L181:
  mov    $0xfffffffd,%eax
  jmp    L207
```

assistant: ```c
int base64_encode(char *source, char *dest, char *scramble_string) {
  int i = 0, lenSource = 0, lenScramble = 0;
  lenSource = strlen(source);
  if (lenSource < 1)
    return -1;
  lenScramble = strlen(scramble_string);
  if (lenScramble < 1)
    return -2;
  int len = 0;
  if (lenScramble < lenSource)
    len = lenScramble;
  else
    len = lenSource;
  char *temp;
  temp = malloc(len);
  if (!temp)
    return -3;
  memset(temp, 0, len);
  for (i = 0; i < len; i++) {
    temp[i] = source[i] ^ scramble_string[i];
  }
  char *base64_encoded;
  base64_encoded = base64encode(temp, len);
  if (base64_encoded)
    memcpy(dest, base64_encoded, strlen(base64_encoded));
  free(base64_encoded);
  return 0;
}
```