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

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x64,0xc(%rsp)
  movl   $0xc8,0x10(%rsp)
  movl   $0x1,0x14(%rsp)
  mov    $0x1,%ecx
  mov    $0xc8,%edx
  mov    $0x64,%esi
  lea    D24(%rip),%r13
  mov    %r13,%rdi
  call   <printf@plt>
  lea    0x14(%rsp),%r14
  lea    0x10(%rsp),%r12
  lea    0xc(%rsp),%rbx
  mov    %r14,%rdx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <addValueToPointers@plt>
  mov    0x14(%rsp),%ecx
  mov    0x10(%rsp),%edx
  mov    0xc(%rsp),%esi
  lea    D1(%rip),%rbp
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x64,0xc(%rsp)
  movl   $0xc8,0x10(%rsp)
  movl   $0x1,0x14(%rsp)
  mov    $0x1,%ecx
  mov    $0xc8,%edx
  mov    $0x64,%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbx,%rdx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <addValueToPointers@plt>
  mov    0x14(%rsp),%ecx
  mov    0x10(%rsp),%edx
  mov    0xc(%rsp),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D29(%rip),%rdi
  call   <puts@plt>
  movl   $0x64,0xc(%rsp)
  movl   $0xc8,0x10(%rsp)
  movl   $0x1,0x14(%rsp)
  mov    $0x1,%ecx
  mov    $0xc8,%edx
  mov    $0x64,%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r14,%rdx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <addValueToPointersRestrict@plt>
  mov    0x14(%rsp),%ecx
  mov    0x10(%rsp),%edx
  mov    0xc(%rsp),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x64,0xc(%rsp)
  movl   $0xc8,0x10(%rsp)
  movl   $0x1,0x14(%rsp)
  mov    $0x1,%ecx
  mov    $0xc8,%edx
  mov    $0x64,%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbx,%rdx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <addValueToPointersRestrict@plt>
  mov    0x14(%rsp),%ecx
  mov    0x10(%rsp),%edx
  mov    0xc(%rsp),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L2
  mov    $0x0,%eax
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L2:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D24
type: string
name: unpack_data
arguments: data_tag: D1
type: string
name: unpack_data
arguments: data_tag: D29
type: string

tool: D24: Before: a=%d b=%d c=%d


tool: D1: After:  a=%d b=%d c=%d


tool: D29: 


assistant: ```c
int main(void) {
  int a = 100;
  int b = 200;
  int c = 1;
  printf("Before: a=%d b=%d c=%d\n", a, b, c);
  addValueToPointers(&a, &b, &c);
  printf("After:  a=%d b=%d c=%d\n", a, b, c);
  a = 100, b = 200, c = 1;
  printf("Before: a=%d b=%d c=%d\n", a, b, c);
  addValueToPointers(&a, &b, &a);
  printf("After:  a=%d b=%d c=%d\n", a, b, c);
  printf("\n\n");
  a = 100, b = 200, c = 1;
  printf("Before: a=%d b=%d c=%d\n", a, b, c);
  addValueToPointersRestrict(&a, &b, &c);
  printf("After:  a=%d b=%d c=%d\n", a, b, c);
  a = 100, b = 200, c = 1;
  printf("Before: a=%d b=%d c=%d\n", a, b, c);
  addValueToPointersRestrict(&a, &b, &a);
  printf("After:  a=%d b=%d c=%d\n", a, b, c);
}
```