user: What is the c source code of the assembly code below:

```asm
<compress>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  mov    %rdx,%rbx
  lea    0x8(,%rbx,8),%r13
  sub    $0x48,%rsp
  mov    %rsi,-0x50(%rbp)
  mov    %rdi,-0x68(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <strlen@plt>
  mov    %rsp,%rsi
  lea    0x1(%r13),%rdx
  mov    %rax,-0x58(%rbp)
  lea    0x10(%r13),%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rsi
  and    $0xfffffffffffffff0,%rcx
  cmp    %rsi,%rsp
  je     L9
L202:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rsi,%rsp
  jne    L202
L9:
  and    $0xfff,%ecx
  sub    %rcx,%rsp
  test   %rcx,%rcx
  jne    L117
L247:
  xor    %esi,%esi
  mov    %rsp,%rdi
  mov    %rsp,%r12
  call   <memset@plt>
  mov    -0x58(%rbp),%rax
  test   %rax,%rax
  je     L104
  mov    -0x68(%rbp),%r15
  movl   $0x0,-0x5c(%rbp)
  lea    D22(%rip),%r14
  mov    %r15,%rbx
  add    %rax,%r15
  lea    D55(%rip),%rax
  mov    %rax,-0x48(%rbp)
  nopl   0x0(%rax)
L17:
  movsbl (%rbx),%esi
  lea    -0x3(%rsi),%eax
  cmp    $0x63,%al
  ja     L267
  movzbl %al,%eax
  movslq (%r14,%rax,4),%rax
  add    %r14,%rax
  notrack jmp *%rax
  nop
L267:
  lea    D12(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  movl   $0x1,-0x5c(%rbp)
  nopl   (%rax)
L228:
  mov    %r12,%rdi
  call   <strlen@plt>
  cmp    %r13,%rax
  jae    L293
L269:
  add    $0x1,%rbx
  cmp    %r15,%rbx
  jne    L17
  movzbl -0x5c(%rbp),%ebx
  and    $0x1,%ebx
L252:
  mov    -0x48(%rbp),%r14
  mov    %r12,%rdi
  mov    %r14,%rsi
  call   <strcat@plt>
  mov    %r14,%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  mov    %r12,%rdi
  call   <strlen@plt>
  mov    -0x50(%rbp),%rdi
  mov    %r12,%rsi
  mov    %rax,%rdx
  call   <makeByteArray@plt>
  cmp    %rax,-0x58(%rbp)
  jb     L309
  test   %bl,%bl
  jne    L309
L53:
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  jne    L145
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  mov    %r12,%rdi
  lea    D234(%rip),%rsi
  call   <strcat@plt>
  mov    %r12,%rdi
  call   <strlen@plt>
  cmp    %r13,%rax
  jb     L269
  xchg   %ax,%ax
L293:
  lea    D101(%rip),%rdi
  call   <puts@plt>
  movzbl -0x5c(%rbp),%ebx
  and    $0x1,%ebx
  jmp    L252
  lea    D245(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D248(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D50(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D24(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D157(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D209(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D229(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D176(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D6(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D78(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D217(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D14(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D87(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D243(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D54(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D242(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D121(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D174(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  lea    D198(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  mov    -0x48(%rbp),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L228
  nopl   (%rax)
L309:
  mov    -0x68(%rbp),%rsi
  mov    %r12,%rdi
  call   <make7BitString@plt>
  mov    -0x50(%rbp),%rbx
  lea    D39(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcpy@plt>
  mov    %rbx,%rdi
  mov    %r12,%rsi
  call   <strcat@plt>
  mov    %rbx,%rdi
  call   <strlen@plt>
  jmp    L53
  nop
L117:
  orq    $0x0,-0x8(%rsp,%rcx,1)
  jmp    L247
L104:
  lea    D55(%rip),%rax
  xor    %ebx,%ebx
  mov    %rax,-0x48(%rbp)
  jmp    L252
L145:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D55
type_infered: string
name: unpack_data
arguments: label: D12
type_infered: string
name: unpack_data
arguments: label: D234
type_infered: string
name: unpack_data
arguments: label: D101
type_infered: string
name: unpack_data
arguments: label: D245
type_infered: string
name: unpack_data
arguments: label: D248
type_infered: string
name: unpack_data
arguments: label: D50
type_infered: string
name: unpack_data
arguments: label: D24
type_infered: string
name: unpack_data
arguments: label: D157
type_infered: string
name: unpack_data
arguments: label: D209
type_infered: string
name: unpack_data
arguments: label: D229
type_infered: string
name: unpack_data
arguments: label: D176
type_infered: string
name: unpack_data
arguments: label: D6
type_infered: string
name: unpack_data
arguments: label: D78
type_infered: string
name: unpack_data
arguments: label: D217
type_infered: string
name: unpack_data
arguments: label: D14
type_infered: string
name: unpack_data
arguments: label: D87
type_infered: string
name: unpack_data
arguments: label: D243
type_infered: string
name: unpack_data
arguments: label: D54
type_infered: string
name: unpack_data
arguments: label: D242
type_infered: string
name: unpack_data
arguments: label: D121
type_infered: string
name: unpack_data
arguments: label: D174
type_infered: string
name: unpack_data
arguments: label: D198
type_infered: string
name: unpack_data
arguments: label: D39
type_infered: string

tool: D55: 10001100

tool: D12: uncompressible character: %c


tool: D234: 11101

tool: D101: too big!!

tool: D245: 111110

tool: D248: 1000111

tool: D50: 10001101

tool: D24: 111111

tool: D157: 0010

tool: D209: 101

tool: D229: 0001

tool: D176: 11100

tool: D6: 1101

tool: D78: 1100

tool: D217: 11110

tool: D14: 0011

tool: D87: 1001

tool: D243: 0000

tool: D54: 0100

tool: D242: 011

tool: D121: 0101

tool: D174: 10000

tool: D198: 100010

tool: D39: 3

assistant: ```c
size_t compress(const char *text, unsigned char *compressed, size_t compressedSize) {
  size_t i;
  size_t inLen = strlen(text);
  size_t bufferLen = (compressedSize + 1) * (8);
  char buffer[bufferLen + 1];
  memset(buffer, 0, sizeof(buffer));
  int fallback = 0;
  for (i = 0; i < inLen; i++) {
    char c = text[i];
    switch (c) {
    case ':':
      strcat(buffer, "101");
      break;
    case '0':
      strcat(buffer, "011");
      break;
    case '7':
      strcat(buffer, "1101");
      break;
    case '6':
      strcat(buffer, "1100");
      break;
    case 'a':
      strcat(buffer, "0010");
      break;
    case '9':
      strcat(buffer, "0001");
      break;
    case '2':
      strcat(buffer, "0000");
      break;
    case '3':
      strcat(buffer, "1001");
      break;
    case '1':
      strcat(buffer, "0100");
      break;
    case '.':
      strcat(buffer, "0101");
      break;
    case '4':
      strcat(buffer, "0011");
      break;
    case '-':
      strcat(buffer, "10000");
      break;
    case '5':
      strcat(buffer, "11110");
      break;
    case 'f':
      strcat(buffer, "11101");
      break;
    case '8':
      strcat(buffer, "11100");
      break;
    case 'e':
      strcat(buffer, "111110");
      break;
    case 'b':
      strcat(buffer, "111111");
      break;
    case '#':
      strcat(buffer, "100010");
      break;
    case 'd':
      strcat(buffer, "1000111");
      break;
    case 'c':
      strcat(buffer, "10001101");
      break;
    case '\3':
      strcat(buffer, "10001100");
      break;
    default:
      printf("uncompressible character: %c\n", c);
      fallback = 1;
      break;
    }
    if (strlen(buffer) >= bufferLen) {
      printf("too big!!\n");
      break;
    }
  }
  strcat(buffer, "10001100");
  strcat(buffer, "10001100");
  size_t outLen = strlen(buffer);
  size_t byteC = makeByteArray(compressed, buffer, outLen);
  if ((inLen < byteC) || fallback) {
    make7BitString((unsigned char *)buffer, text);
    strcpy((char *)compressed, "3");
    strcat((char *)compressed, buffer);
    byteC = strlen((char *)compressed);
  }
  return byteC;
}
```