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

```asm
<write_integer_lifted_supports>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r12
  push   %rbx
  sub    $0x60,%rsp
  mov    %edi,-0x64(%rbp)
  mov    %esi,-0x68(%rbp)
  mov    %rdx,-0x70(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  mov    -0x68(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x48(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r10
  mov    $0x0,%r11d
  movslq %eax,%rdx
  mov    %rdx,%r8
  mov    $0x0,%r9d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L31:
  cmp    %rdx,%rsp
  je     L72
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L31
L72:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L95
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L95:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x40(%rbp),%rdx
  lea    -0x5c(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <intcelcon_length_of_supports@plt>
  mov    %eax,-0x4c(%rbp)
  mov    -0x5c(%rbp),%eax
  mov    %eax,%esi
  lea    D47(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x0,-0x58(%rbp)
  jmp    L61
L87:
  mov    -0x40(%rbp),%rax
  mov    -0x58(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  mov    %eax,%esi
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x58(%rbp)
L61:
  mov    -0x58(%rbp),%eax
  cmp    -0x68(%rbp),%eax
  jl     L87
  mov    $0xa,%edi
  call   <putchar@plt>
  movl   $0x1,-0x58(%rbp)
  jmp    L41
L63:
  mov    -0x58(%rbp),%eax
  mov    %eax,%esi
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x1,-0x54(%rbp)
  jmp    L25
L131:
  mov    %rsp,%rax
  mov    %rax,%r12
  mov    -0x64(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x38(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  movslq %eax,%rdx
  mov    %rdx,-0x80(%rbp)
  movq   $0x0,-0x78(%rbp)
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%edi
  mov    $0x0,%edx
  div    %rdi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L115:
  cmp    %rdx,%rsp
  je     L45
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L115
L45:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L29
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L29:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x58(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x40(%rbp),%rax
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%edx
  mov    -0x54(%rbp),%eax
  mov    %eax,%esi
  lea    D41(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x30(%rbp),%rcx
  mov    -0x54(%rbp),%edx
  mov    -0x58(%rbp),%esi
  mov    -0x64(%rbp),%eax
  mov    %eax,%edi
  call   <intcelcon_get_lifted_point@plt>
  mov    %eax,-0x4c(%rbp)
  movl   $0x0,-0x50(%rbp)
  jmp    L96
L3:
  mov    -0x30(%rbp),%rax
  mov    -0x50(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  mov    %eax,%esi
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x50(%rbp)
L96:
  mov    -0x50(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L3
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    %r12,%rsp
  addl   $0x1,-0x54(%rbp)
L25:
  mov    -0x58(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x40(%rbp),%rax
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  cmp    %eax,-0x54(%rbp)
  jle    L131
  addl   $0x1,-0x58(%rbp)
L41:
  mov    -0x58(%rbp),%eax
  cmp    -0x68(%rbp),%eax
  jle    L63
  mov    %rbx,%rsp
  nop
  mov    -0x28(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L138
  call   <__stack_chk_fail@plt>
L138:
  lea    -0x20(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: unpack_data
arguments: label: D47
data_type: string
name: unpack_data
arguments: label: D30
data_type: string
name: unpack_data
arguments: label: D2
data_type: string
name: unpack_data
arguments: label: D44
data_type: string
name: unpack_data
arguments: label: D41
data_type: string

tool: D47: Number of different supports retrieved : %d.


tool: D30: Length of each support :

tool: D2:  %d

tool: D44: Points in support %d :


tool: D41: -> point %d of %d :

assistant: ```c
void write_integer_lifted_supports(int n, int r, int *mix) {
  int fail, rr, i, j, k, m;
  int nb[r];
  fail = intcelcon_length_of_supports(&rr, nb);
  printf("Number of different supports retrieved : %d.\n", rr);
  printf("Length of each support :");
  for (i = 0; i < r; i++)
    printf(" %d", nb[i]);
  printf("\n");
  for (i = 1; i <= r; i++) {
    printf("Points in support %d :\n", i);
    for (j = 1; j <= nb[i - 1]; j++) {
      int point[n];
      printf("-> point %d of %d :", j, nb[i - 1]);
      fail = intcelcon_get_lifted_point(n, i, j, point);
      for (k = 0; k < n; k++)
        printf(" %d", point[k]);
      printf("\n");
    }
  }
}
```