user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %rbp
  mov    $0x8,%edi
  add    $0xffffffffffffff80,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rbp
  call   <malloc@plt>
  mov    D69(%rip),%rdx
  lea    0x8(%rsp),%rsi
  lea    D45(%rip),%rdi
  mov    %rax,0x8(%rsp)
  mov    %rdx,(%rax)
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rsi
  lea    D17(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rsi
  lea    D78(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  lea    D24(%rip),%rdi
  lea    0x4(%rax),%rsi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D86(%rip),%rdi
  call   <puts@plt>
  lea    0x4(%rsp),%rsi
  lea    D50(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D90(%rip),%rdi
  call   <puts@plt>
  mov    %rbp,%rsi
  lea    D68(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x55,%edx
  mov    $0x44,%esi
  xor    %eax,%eax
  lea    D42(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  lea    D102(%rip),%rdi
  mov    0x4(%rax),%edx
  mov    (%rax),%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  sub    $0xffffffffffffff80,%rsp
  xor    %eax,%eax
  pop    %rbp
  ret
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D69
data_type: byte[8]
name: parse_data
arguments: data_tag: D45
data_type: string
name: parse_data
arguments: data_tag: D17
data_type: string
name: parse_data
arguments: data_tag: D78
data_type: string
name: parse_data
arguments: data_tag: D24
data_type: string
name: parse_data
arguments: data_tag: D86
data_type: string
name: parse_data
arguments: data_tag: D50
data_type: string
name: parse_data
arguments: data_tag: D90
data_type: string
name: parse_data
arguments: data_tag: D68
data_type: string
name: parse_data
arguments: data_tag: D42
data_type: string
name: parse_data
arguments: data_tag: D102
data_type: string

tool: {"D69": [0x44,0x00,0x00,0x00,0x55,0x00,0x00,0x00]}

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


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


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


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


tool: D86: Please enter a decimal integer

tool: D50: %d

tool: D90: Please enter a string

tool: D68: %s

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


tool: D102: 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;
  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 decimal integer\n");
  scanf("%d", &int_input);
  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;
}
```