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

```asm
<Status_Memory>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %rdi,(%rsp)
  mov    %rsi,0x8(%rsp)
  mov    $0x1,%esi
  mov    $0x64,%edi
  call   <calloc@plt>
  mov    $0x58,%ebx
  test   %rax,%rax
  jne    L157
L164:
  mov    %ebx,%eax
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L157:
  mov    %rax,%r12
  mov    $0x64,%edx
  mov    %rax,%rsi
  lea    D8(%rip),%rdi
  call   <File_Read@plt>
  mov    %eax,%ebx
  cmp    $0x58,%al
  je     L46
  mov    $0x1,%esi
  mov    $0x14,%edi
  call   <calloc@plt>
  mov    %rax,%r13
  test   %rax,%rax
  je     L33
  mov    $0x1,%esi
  mov    $0x14,%edi
  call   <calloc@plt>
  mov    %rax,%r14
  mov    $0x0,%ebx
  mov    $0x0,%r15d
  test   %rax,%rax
  jne    L12
  mov    %r13,%rdi
  call   <free@plt>
  mov    %r12,%rdi
  call   <free@plt>
  mov    $0x58,%ebx
  jmp    L164
L46:
  mov    %r12,%rdi
  call   <free@plt>
  jmp    L164
L33:
  mov    %r12,%rdi
  call   <free@plt>
  mov    $0x58,%ebx
  jmp    L164
L163:
  cmpb   $0x6b,0x0(%rbp)
  je     L167
L130:
  add    $0x1,%rbx
  cmp    $0x64,%rbx
  je     L39
L12:
  lea    (%rbx,%r12,1),%rbp
  movsbl 0x0(%rbp),%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L163
  movzbl 0x0(%rbp),%edx
  movswq %r15w,%rax
  mov    %dl,0x0(%r13,%rax,1)
  add    $0x1,%r15d
  jmp    L130
L167:
  lea    0x1(%rbx),%eax
  cmp    $0x63,%ax
  jg     L39
  movswq %ax,%rax
  lea    (%rax,%r12,1),%rbp
  mov    $0x62,%edx
  sub    %ebx,%edx
  movzwl %dx,%edx
  lea    0x1(%r12,%rdx,1),%r15
  add    %rax,%r15
  mov    $0x0,%ebx
  jmp    L80
L13:
  cmpb   $0x6b,0x0(%rbp)
  je     L39
L14:
  add    $0x1,%rbp
  cmp    %r15,%rbp
  je     L39
L80:
  movsbl 0x0(%rbp),%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L13
  movzbl 0x0(%rbp),%edx
  movswq %bx,%rax
  mov    %dl,(%r14,%rax,1)
  add    $0x1,%ebx
  jmp    L14
L39:
  mov    %r13,%rdi
  call   <atol@plt>
  shl    $0xa,%eax
  movslq %eax,%rbx
  mov    (%rsp),%rax
  mov    %rbx,(%rax)
  mov    %r14,%rdi
  call   <atol@plt>
  shl    $0xa,%eax
  cltq
  sub    %rax,%rbx
  mov    0x8(%rsp),%rax
  mov    %rbx,(%rax)
  mov    %r14,%rdi
  call   <free@plt>
  mov    %r13,%rdi
  call   <free@plt>
  mov    %r12,%rdi
  call   <free@plt>
  mov    $0x56,%ebx
  jmp    L164
```

tool_calls: name: unpack_data
arguments: label: D8
datatype: string

tool: D8: /proc/meminfo

assistant: ```c
char Status_Memory(long *Total, long *Used) {
  char *Content = (char *)calloc(100, sizeof(char));
  if (Content == NULL) {
    return 'X';
  }
  if (File_Read("/proc/meminfo", Content, 100) == 'X') {
    free(Content);
    return 'X';
  }
  char *Memory_Total = (char *)calloc(20, sizeof(char));
  if (Memory_Total == NULL) {
    free(Content);
    return 'X';
  }
  char *Memory_Free = (char *)calloc(20, sizeof(char));
  if (Memory_Free == NULL) {
    free(Memory_Total);
    free(Content);
    return 'X';
  }
  for (short Get_Total = 0, Cursor_Total = 0; Get_Total < 100; Get_Total++) {
    if (isdigit(*(Content + Get_Total)) != 0) {
      *(Memory_Total + Cursor_Total) = *(Content + Get_Total);
      Cursor_Total++;
    } else if (*(Content + Get_Total) == 'k') {
      Get_Total++;
      for (short Get_Free = Get_Total, Cursor_Free = 0; Get_Free < 100; Get_Free++) {
        if (isdigit(*(Content + Get_Free)) != 0) {
          *(Memory_Free + Cursor_Free) = *(Content + Get_Free);
          Cursor_Free++;
        } else if (*(Content + Get_Free) == 'k') {
          break;
        }
      }
      break;
    }
  }
  *Total = atol(Memory_Total) * 1024;
  *Used = *Total - (atol(Memory_Free) * 1024);
  free(Memory_Free);
  free(Memory_Total);
  free(Content);
  return 'V';
}
```