user: 请从给定的汇编指令推导出C源代码:

```asm
<Status_Memory>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    $0x58,%r12d
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,0x10(%rsp)
  mov    $0x64,%edi
  mov    %rsi,0x18(%rsp)
  mov    $0x1,%esi
  call   <calloc@plt>
  test   %rax,%rax
  jne    L45
L80:
  add    $0x28,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L45:
  mov    $0x64,%edx
  mov    %rax,%rsi
  lea    D6(%rip),%rdi
  mov    %rax,%rbp
  call   <File_Read@plt>
  mov    %eax,%r12d
  cmp    $0x58,%al
  je     L9
  mov    $0x1,%esi
  mov    $0x14,%edi
  call   <calloc@plt>
  mov    %rax,%r13
  test   %rax,%rax
  je     L140
  mov    $0x1,%esi
  mov    $0x14,%edi
  xor    %r14d,%r14d
  xor    %ebx,%ebx
  call   <calloc@plt>
  mov    %rax,0x8(%rsp)
  test   %rax,%rax
  jne    L20
  jmp    L156
L39:
  movzbl (%r15),%ecx
  movswq %bx,%rax
  add    $0x1,%ebx
  mov    %cl,0x0(%r13,%rax,1)
L85:
  add    $0x1,%r14
  cmp    $0x64,%r14
  je     L4
L20:
  lea    0x0(%rbp,%r14,1),%r15
  mov    %r14d,%r12d
  movsbl (%r15),%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L39
  cmpb   $0x6b,(%r15)
  jne    L85
  lea    0x1(%r12),%r14d
  cmp    $0x63,%r12w
  je     L4
  xor    %ebx,%ebx
  jmp    L112
  cs nopw 0x0(%rax,%rax,1)
L126:
  movzbl (%r12),%ecx
  mov    0x8(%rsp),%rdx
  movswq %bx,%rax
  add    $0x1,%ebx
  mov    %cl,(%rdx,%rax,1)
L116:
  add    $0x1,%r14d
  cmp    $0x64,%r14w
  je     L4
L112:
  movswq %r14w,%r12
  add    %rbp,%r12
  movsbl (%r12),%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L126
  cmpb   $0x6b,(%r12)
  jne    L116
L4:
  mov    %r13,%rdi
  mov    $0x56,%r12d
  call   <atol@plt>
  mov    0x8(%rsp),%r15
  shl    $0xa,%eax
  movslq %eax,%rbx
  mov    0x10(%rsp),%rax
  mov    %r15,%rdi
  mov    %rbx,(%rax)
  call   <atol@plt>
  mov    %r15,%rdi
  shl    $0xa,%eax
  cltq
  sub    %rax,%rbx
  mov    0x18(%rsp),%rax
  mov    %rbx,(%rax)
  call   <free@plt>
  mov    %r13,%rdi
  call   <free@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  jmp    L80
L156:
  mov    %r13,%rdi
  call   <free@plt>
L140:
  mov    %rbp,%rdi
  mov    $0x58,%r12d
  call   <free@plt>
  jmp    L80
  nopl   (%rax)
L9:
  mov    %rbp,%rdi
  call   <free@plt>
  jmp    L80
```

tool_calls: name: parse_data
arguments: tag: D6
datatype: string

tool: D6: /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';
}
```