user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %edi,-0x84(%rbp)
  mov    %rsi,-0x90(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    $0x40,%edi
  call   <malloc@plt>
  mov    %eax,-0x7c(%rbp)
  mov    $0x8,%edi
  call   <malloc@plt>
  mov    %rax,-0x78(%rbp)
  mov    -0x78(%rbp),%rax
  movl   $0x44,(%rax)
  mov    -0x78(%rbp),%rax
  add    $0x4,%rax
  movl   $0x55,(%rax)
  lea    -0x78(%rbp),%rax
  mov    %rax,%rsi
  lea    D58(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x78(%rbp),%rax
  mov    %rax,%rsi
  lea    D3(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x78(%rbp),%rax
  mov    %rax,%rsi
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x78(%rbp),%rax
  add    $0x4,%rax
  mov    %rax,%rsi
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D50(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x70(%rbp),%rax
  mov    %rax,%rsi
  lea    D79(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    -0x70(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x55,%edx
  mov    $0x44,%esi
  lea    D55(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x78(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%edx
  mov    -0x78(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D65(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L5
  call   <__stack_chk_fail@plt>
L5:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D58
datatype: string
name: disassemble_data
arguments: data_tag: D3
datatype: string
name: disassemble_data
arguments: data_tag: D53
datatype: string
name: disassemble_data
arguments: data_tag: D32
datatype: string
name: disassemble_data
arguments: data_tag: D50
datatype: string
name: disassemble_data
arguments: data_tag: D79
datatype: string
name: disassemble_data
arguments: data_tag: D55
datatype: string
name: disassemble_data
arguments: data_tag: D65
datatype: string

tool: D58: The variable secret's address is 0x%8x (on stack)


tool: D3: The variable secret's value is 0x%8x (on heap)


tool: D53: secret[0]'s address is 0x%8x (on heap)


tool: D32: secret[1]'s address is 0x%8x (on heap)


tool: D50: Please enter a string

tool: D79: %s

tool: D55: The original secrets: 0x%x -- 0x%x


tool: D65: The new secrets:      0x%x -- 0x%x


assistant: ```c
int main(int argc, char *argv[]) {
  char user_input[100];
  int *secret;
  int int_input;
  int a, b, c, d;
  a = (int *)malloc(16 * sizeof(int));
  secret = (int *)malloc(2 * sizeof(int));
  secret[0] = 0x44;
  secret[1] = 0x55;
  printf("The variable secret's address is 0x%8x (on stack)\n", &secret);
  printf("The variable secret's value is 0x%8x (on heap)\n", secret);
  printf("secret[0]'s address is 0x%8x (on heap)\n", &secret[0]);
  printf("secret[1]'s address is 0x%8x (on heap)\n", &secret[1]);
  printf("Please enter a string\n");
  scanf("%s", user_input);
  printf(user_input);
  printf("\n");
  printf("The original secrets: 0x%x -- 0x%x\n", 0x44, 0x55);
  printf("The new secrets:      0x%x -- 0x%x\n", secret[0], secret[1]);
  return 0;
}
```