user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x1,%ecx
  mov    $0xc8,%edx
  mov    $0x64,%esi
  push   %r14
  lea    D2(%rip),%r14
  push   %r13
  mov    %r14,%rdi
  push   %r12
  lea    D27(%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    D24(%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    L8
  add    $0x20,%rsp
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L8:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: label: D2
type: string
name: disassemble_data
arguments: label: D27
type: string
name: disassemble_data
arguments: label: D24
type: string

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


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


tool: D24: 


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