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

```asm
<print_environment>:
  endbr64
  push   %r15
  lea    D17(%rip),%rsi
  lea    D8(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xe38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xe28(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  xor    %edi,%edi
  call   <time@plt>
  lea    0x1c(%rsp),%rdi
  mov    %eax,0x1c(%rsp)
  call   <ctime@plt>
  lea    D58(%rip),%rdi
  mov    %rax,%rsi
  xor    %eax,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  lea    D46(%rip),%rsi
  lea    D39(%rip),%rdi
  movaps %xmm0,0x20(%rsp)
  movaps %xmm0,0x30(%rsp)
  movaps %xmm0,0x40(%rsp)
  movaps %xmm0,0x50(%rsp)
  movaps %xmm0,0x60(%rsp)
  movaps %xmm0,0x70(%rsp)
  movaps %xmm0,0x80(%rsp)
  movaps %xmm0,0x90(%rsp)
  movaps %xmm0,0xa0(%rsp)
  movaps %xmm0,0xb0(%rsp)
  movaps %xmm0,0xc0(%rsp)
  movaps %xmm0,0xd0(%rsp)
  movaps %xmm0,0xe0(%rsp)
  movaps %xmm0,0xf0(%rsp)
  movaps %xmm0,0x100(%rsp)
  movaps %xmm0,0x110(%rsp)
  movaps %xmm0,0x120(%rsp)
  movaps %xmm0,0x130(%rsp)
  movaps %xmm0,0x140(%rsp)
  movaps %xmm0,0x150(%rsp)
  movaps %xmm0,0x160(%rsp)
  movaps %xmm0,0x170(%rsp)
  movaps %xmm0,0x180(%rsp)
  movaps %xmm0,0x190(%rsp)
  movaps %xmm0,0x1a0(%rsp)
  movaps %xmm0,0x1b0(%rsp)
  movaps %xmm0,0x1c0(%rsp)
  movaps %xmm0,0x1d0(%rsp)
  movaps %xmm0,0x1e0(%rsp)
  movaps %xmm0,0x1f0(%rsp)
  movaps %xmm0,0x200(%rsp)
  movaps %xmm0,0x210(%rsp)
  call   <fopen@plt>
  test   %rax,%rax
  je     L46
  mov    %rax,%rbp
  mov    $0x7e,%ecx
  xor    %eax,%eax
  movl   $0x0,0x4(%rsp)
  pxor   %xmm0,%xmm0
  lea    0x230(%rsp),%rdi
  lea    0x20(%rsp),%r15
  rep stos %rax,%es:(%rdi)
  lea    0x120(%rsp),%rax
  movaps %xmm0,0x220(%rsp)
  lea    0x220(%rsp),%rbx
  mov    %rax,0x8(%rsp)
  lea    0x620(%rsp),%r12
  lea    D6(%rip),%r14
  nopl   0x0(%rax)
L77:
  mov    %rbp,%rdx
  mov    $0x400,%esi
  mov    %rbx,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L4
  mov    $0x3a,%esi
  mov    %rbx,%rdi
  call   <strchr@plt>
  mov    %rax,%r13
  test   %rax,%rax
  je     L77
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    $0x9,%eax
  jle    L77
  xor    %eax,%eax
  mov    $0x7e,%ecx
  lea    -0x1(%r13),%rdx
  mov    %rbx,%rsi
  lea    0x630(%rsp),%rdi
  pxor   %xmm0,%xmm0
  sub    %ebx,%edx
  rep stos %rax,%es:(%rdi)
  lea    0xa30(%rsp),%rdi
  mov    $0x7e,%ecx
  movaps %xmm0,0x620(%rsp)
  rep stos %rax,%es:(%rdi)
  mov    %r12,%rdi
  movaps %xmm0,0xa20(%rsp)
  call   <strncpy@plt>
  mov    %r13,%rdi
  call   <strlen@plt>
  lea    0x1(%r13),%rsi
  lea    0xa20(%rsp),%r13
  mov    %r13,%rdi
  lea    -0x1(%rax),%edx
  call   <strncpy@plt>
  mov    %r12,%rsi
  mov    %r14,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L14
  mov    %r13,%rsi
  mov    %r15,%rdi
  addl   $0x1,0x4(%rsp)
  call   <strcpy@plt>
  jmp    L77
  xchg   %ax,%ax
L4:
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    0x4(%rsp),%esi
  mov    %r15,%rdx
  xor    %eax,%eax
  lea    D1(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rsi
  lea    D21(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L46:
  mov    0xe28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  add    $0xe38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L14:
  mov    %r12,%rsi
  lea    D10(%rip),%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L77
  mov    %r13,%rdi
  call   <strlen@plt>
  mov    0x8(%rsp),%rdi
  lea    0xa21(%rsp),%rsi
  lea    -0x1(%rax),%edx
  call   <strncpy@plt>
  jmp    L77
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D17
datatype: string
name: unpack_data
arguments: tag: D8
datatype: string
name: unpack_data
arguments: tag: D58
datatype: string
name: unpack_data
arguments: tag: D46
datatype: string
name: unpack_data
arguments: tag: D39
datatype: string
name: unpack_data
arguments: tag: D6
datatype: string
name: unpack_data
arguments: tag: D1
datatype: string
name: unpack_data
arguments: tag: D21
datatype: string
name: unpack_data
arguments: tag: D10
datatype: string

tool: D17: 1.8

tool: D8: nessDB:		version %s(Multiple && Distributable B+Tree with Level-LRU,Page-Cache)


tool: D58: Date:		%s

tool: D46: r

tool: D39: /proc/cpuinfo

tool: D6: model name

tool: D1: CPU:		%d * %s

tool: D21: CPUCache:	%s


tool: D10: cache size

assistant: ```c
void print_environment() {
  printf("nessDB:		version %s(Multiple && Distributable B+Tree with Level-LRU,Page-Cache)\n", "1.8");
  time_t now = time(NULL);
  printf("Date:		%s", (char *)ctime(&now));
  int num_cpus = 0;
  char cpu_type[256] = {0};
  char cache_size[256] = {0};
  FILE *cpuinfo = fopen("/proc/cpuinfo", "r");
  if (cpuinfo) {
    char line[1024] = {0};
    while (fgets(line, sizeof(line), cpuinfo) != NULL) {
      const char *sep = strchr(line, ':');
      if (sep == NULL || strlen(sep) < 10)
        continue;
      char key[1024] = {0};
      char val[1024] = {0};
      strncpy(key, line, sep - 1 - line);
      strncpy(val, sep + 1, strlen(sep) - 1);
      if (strcmp("model name", key) == 0) {
        num_cpus++;
        strcpy(cpu_type, val);
      } else if (strcmp("cache size", key) == 0)
        strncpy(cache_size, val + 1, strlen(val) - 1);
    }
    fclose(cpuinfo);
    printf("CPU:		%d * %s", num_cpus, cpu_type);
    printf("CPUCache:	%s\n", cache_size);
  }
}
```