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

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

tool_calls: name: disassemble_data
arguments: data_tag: D16
type_guessed: string
name: disassemble_data
arguments: data_tag: D23
type_guessed: string
name: disassemble_data
arguments: data_tag: D26
type_guessed: string

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


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


tool: D26: 


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);
}
```